Documentation ¶
Index ¶
Constants ¶
This section is empty.
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)}, }, }
View Source
var TraceStatusConditions = []*pb.TraceQueryCondition{ {Key: strings.ToLower(pb.TraceStatusCondition_TRACE_ALL.String()), Value: strings.ToLower(pb.TraceStatusCondition_TRACE_ALL.String())}, {Key: strings.ToLower(pb.TraceStatusCondition_TRACE_SUCCESS.String()), Value: strings.ToLower(pb.TraceStatusCondition_TRACE_SUCCESS.String())}, {Key: strings.ToLower(pb.TraceStatusCondition_TRACE_ERROR.String()), Value: strings.ToLower(pb.TraceStatusCondition_TRACE_ERROR.String())}, }
Functions ¶
func DepthCopyQueryConditions ¶
func DepthCopyQueryConditions() *pb.TraceQueryConditions
func TranslateCondition ¶
func TranslateCondition(i18n i18n.Translator, lang i18n.LanguageCodes, key string) string
Types ¶
Click to show internal directories.
Click to hide internal directories.