Documentation
¶
Index ¶
- Variables
- func ConvertL7TracingRespToProto(data map[string]interface{}, argTraceId string) (req *tempopb.Trace)
- func FindTraceByTraceID(args *common.TempoParams) (req *tempopb.Trace, err error)
- func L7TracingRequest(args *common.TempoParams) (map[string]interface{}, error)
- func ParseResponse(response *http.Response) (map[string]interface{}, error)
- func ShowTagValues(args *common.TempoParams) (resp map[string][]interface{}, debug map[string]interface{}, err error)
- func ShowTags(args *common.TempoParams) (resp map[string][]interface{}, debug map[string]interface{}, err error)
- func TraceSearch(args *common.TempoParams) (resp map[string]interface{}, debug map[string]interface{}, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var L7_FLOW_LOG_SERVICE_NAME = "app_service"
View Source
var L7_TRACING_ENDPOINT = "endpoint"
View Source
var L7_TRACING_OTEL_SDK_NAME = "telemetry.sdk.name"
View Source
var L7_TRACING_OTEL_SDK_VERSION = "telemetry.sdk.version"
View Source
var L7_TRACING_SERVICE_UID = "service_uid"
View Source
var L7_TRACING_SERVICE_UNAME = "service_uname"
View Source
var RESOURCE_KEY_MAP = map[string]string{ "service.id": L7_TRACING_SERVICE_UID, "service.name": L7_TRACING_SERVICE_UNAME, }
View Source
var SEARCH_FIELDS = []string{
"trace_id as traceID", "app_service as rootServiceName", "endpoint as rootTraceName", "toUnixTimestamp64Micro(start_time) as startTimeUnixNano", "response_duration/1000 as durationMs",
}
View Source
var SPAN_ATTRS_MAP = map[string]string{ "service.name": L7_FLOW_LOG_SERVICE_NAME, "name": L7_TRACING_ENDPOINT, }
View Source
var SPAN_KEY_MAP = map[string]string{
"tap_side": "Enum(tap_side)",
"observatrace_span_id": "observatrace_span_id",
"observatrace_parent_span_id": "observatrace_parent_span_id",
}
View Source
var TABLE_NAME_L7_FLOW_LOG = "l7_flow_log"
Functions ¶
func FindTraceByTraceID ¶
func FindTraceByTraceID(args *common.TempoParams) (req *tempopb.Trace, err error)
func L7TracingRequest ¶
func L7TracingRequest(args *common.TempoParams) (map[string]interface{}, error)
func ShowTagValues ¶
func ShowTagValues(args *common.TempoParams) (resp map[string][]interface{}, debug map[string]interface{}, err error)
func ShowTags ¶
func ShowTags(args *common.TempoParams) (resp map[string][]interface{}, debug map[string]interface{}, err error)
func TraceSearch ¶
func TraceSearch(args *common.TempoParams) (resp map[string]interface{}, debug map[string]interface{}, err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.