query

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	JavaMemoryMetricName   = "jvm_memory"
	NodeJsMemoryMetricName = "nodejs_memory"
)

Variables

View Source
var TraceQueryConditions = pb.TraceQueryConditions{
	Sort:        sortConditions,
	Limit:       limitConditions,
	TraceStatus: TraceStatusConditions,
	Others: []*pb.OtherTraceQueryCondition{
		{Key: strings.ToLower(pb.OtherCondition_SERVICE_NAME.String()), ParamKey: "serviceName", Type: string(INPUT)},
		{Key: strings.ToLower(pb.OtherCondition_TRACE_ID.String()), ParamKey: "traceID", Type: string(INPUT)},
		{Key: strings.ToLower(pb.OtherCondition_DUBBO_METHOD.String()), ParamKey: "dubboMethod", Type: string(INPUT)},
		{Key: strings.ToLower(pb.OtherCondition_HTTP_PATH.String()), ParamKey: "httpPath", Type: string(INPUT)},
	},
}

Functions

func DepthCopyQueryConditions

func DepthCopyQueryConditions() *pb.TraceQueryConditions

func TranslateCondition

func TranslateCondition(i18n i18n.Translator, lang i18n.LanguageCodes, key string) string

Types

type ConditionType

type ConditionType string
const (
	INPUT ConditionType = "input"
)

type SpanTree

type SpanTree map[string]*pb.Span

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL