summaryrefslogtreecommitdiff
path: root/vendor/github.com/prometheus/otlptranslator/constants.go
diff options
context:
space:
mode:
authorLibravatar Terin Stock <terinjokes@gmail.com>2025-03-09 17:47:56 +0100
committerLibravatar Terin Stock <terinjokes@gmail.com>2025-12-01 22:08:04 +0100
commitb1af8fd87760b34e3ff2fd3bda38f211815a0473 (patch)
tree9317fad1a7ec298d7a8d2678e4e422953bbc6f33 /vendor/github.com/prometheus/otlptranslator/constants.go
parent[chore] update URLs to forked source (diff)
downloadgotosocial-b1af8fd87760b34e3ff2fd3bda38f211815a0473.tar.xz
[chore] remove vendor
Diffstat (limited to 'vendor/github.com/prometheus/otlptranslator/constants.go')
-rw-r--r--vendor/github.com/prometheus/otlptranslator/constants.go38
1 files changed, 0 insertions, 38 deletions
diff --git a/vendor/github.com/prometheus/otlptranslator/constants.go b/vendor/github.com/prometheus/otlptranslator/constants.go
deleted file mode 100644
index 0ea3b1c4c..000000000
--- a/vendor/github.com/prometheus/otlptranslator/constants.go
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2025 The Prometheus Authors
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
-package otlptranslator
-
-const (
- // ExemplarTraceIDKey is the key used to store the trace ID in Prometheus
- // exemplars:
- // https://github.com/open-telemetry/opentelemetry-specification/blob/e6eccba97ebaffbbfad6d4358408a2cead0ec2df/specification/compatibility/prometheus_and_openmetrics.md#exemplars
- ExemplarTraceIDKey = "trace_id"
- // ExemplarSpanIDKey is the key used to store the Span ID in Prometheus
- // exemplars:
- // https://github.com/open-telemetry/opentelemetry-specification/blob/e6eccba97ebaffbbfad6d4358408a2cead0ec2df/specification/compatibility/prometheus_and_openmetrics.md#exemplars
- ExemplarSpanIDKey = "span_id"
- // ScopeNameLabelKey is the name of the label key used to identify the name
- // of the OpenTelemetry scope which produced the metric:
- // https://github.com/open-telemetry/opentelemetry-specification/blob/e6eccba97ebaffbbfad6d4358408a2cead0ec2df/specification/compatibility/prometheus_and_openmetrics.md#instrumentation-scope
- ScopeNameLabelKey = "otel_scope_name"
- // ScopeVersionLabelKey is the name of the label key used to identify the
- // version of the OpenTelemetry scope which produced the metric:
- // https://github.com/open-telemetry/opentelemetry-specification/blob/e6eccba97ebaffbbfad6d4358408a2cead0ec2df/specification/compatibility/prometheus_and_openmetrics.md#instrumentation-scope
- ScopeVersionLabelKey = "otel_scope_version"
- // TargetInfoMetricName is the name of the metric used to preserve resource
- // attributes in Prometheus format:
- // https://github.com/open-telemetry/opentelemetry-specification/blob/e6eccba97ebaffbbfad6d4358408a2cead0ec2df/specification/compatibility/prometheus_and_openmetrics.md#resource-attributes-1
- // It originates from OpenMetrics:
- // https://github.com/OpenObservability/OpenMetrics/blob/1386544931307dff279688f332890c31b6c5de36/specification/OpenMetrics.md#supporting-target-metadata-in-both-push-based-and-pull-based-systems
- TargetInfoMetricName = "target_info"
-)