processor/internal/obsmetrics.go
raw| 1 | // Copyright The OpenTelemetry Authors |
| 2 | // SPDX-License-Identifier: Apache-2.0 |
| 3 | |
| 4 | package internal // import "go.opentelemetry.io/collector/processor/internal" |
| 5 | |
| 6 | const ( |
| 7 | MetricNameSep = "_" |
| 8 | |
| 9 | // ProcessorKey is the key used to identify processors in metrics and traces. |
| 10 | ProcessorKey = "processor" |
| 11 | |
| 12 | ProcessorMetricPrefix = ProcessorKey + MetricNameSep |
| 13 | ) |