(traceIDLabelName string)
| 134 | } |
| 135 | |
| 136 | func ValidateTraceIDLabelName(traceIDLabelName string) error { |
| 137 | if traceIDLabelName != SanitizeLabelName(traceIDLabelName) { |
| 138 | return fmt.Errorf("trace_id_label_name \"%s\" is not a valid Prometheus label name", traceIDLabelName) |
| 139 | } |
| 140 | return nil |
| 141 | } |
| 142 | |
| 143 | func ValidateHistogramBuckets(buckets []float64, field string) error { |
| 144 | for i, bucket := range buckets { |
no test coverage detected