2025-05-20 16:54:34 +05:30
|
|
|
package telemetrytraces
|
|
|
|
|
|
|
|
|
|
var (
|
|
|
|
|
IntrinsicFields = []string{
|
|
|
|
|
"timestamp",
|
|
|
|
|
"trace_id",
|
|
|
|
|
"span_id",
|
|
|
|
|
"trace_state",
|
|
|
|
|
"parent_span_id",
|
|
|
|
|
"flags",
|
|
|
|
|
"name",
|
|
|
|
|
"kind",
|
|
|
|
|
"kind_string",
|
|
|
|
|
"duration_nano",
|
|
|
|
|
"status_code",
|
|
|
|
|
"status_message",
|
|
|
|
|
"status_code_string",
|
|
|
|
|
"traceID",
|
|
|
|
|
"spanID",
|
|
|
|
|
"parentSpanID",
|
|
|
|
|
"spanKind",
|
|
|
|
|
"durationNano",
|
|
|
|
|
"statusCode",
|
|
|
|
|
"statusMessage",
|
|
|
|
|
"statusCodeString",
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
CalculatedFields = []string{
|
|
|
|
|
"response_status_code",
|
|
|
|
|
"external_http_url",
|
|
|
|
|
"http_url",
|
|
|
|
|
"external_http_method",
|
|
|
|
|
"http_method",
|
|
|
|
|
"http_host",
|
|
|
|
|
"db_name",
|
|
|
|
|
"db_operation",
|
|
|
|
|
"has_error",
|
|
|
|
|
"is_remote",
|
|
|
|
|
|
|
|
|
|
"responseStatusCode",
|
|
|
|
|
"externalHttpUrl",
|
|
|
|
|
"httpUrl",
|
|
|
|
|
"externalHttpMethod",
|
|
|
|
|
"httpMethod",
|
|
|
|
|
"httpHost",
|
|
|
|
|
"dbName",
|
|
|
|
|
"dbOperation",
|
|
|
|
|
"hasError",
|
|
|
|
|
"isRemote",
|
|
|
|
|
}
|
2025-06-23 09:39:19 +05:30
|
|
|
SpanSearchScopeRoot = "isroot"
|
|
|
|
|
SpanSearchScopeEntryPoint = "isentrypoint"
|
2025-05-20 16:54:34 +05:30
|
|
|
)
|