mirror of
https://github.com/hanzoai/traces.git
synced 2026-11-03 04:05:45 +00:00
* Update Prometheus to v0.307.2 * Update otel collector * Update OTel collector
45 lines
1.9 KiB
Go
45 lines
1.9 KiB
Go
// Copyright The OpenTelemetry Authors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package internal // import "go.opentelemetry.io/collector/receiver/receiverhelper/internal"
|
|
|
|
const (
|
|
// SpanNameSep is duplicate between receiver and exporter.
|
|
SpanNameSep = "/"
|
|
|
|
// ReceiverKey used to identify receivers in metrics and traces.
|
|
ReceiverKey = "receiver"
|
|
// TransportKey used to identify the transport used to received the data.
|
|
TransportKey = "transport"
|
|
// FormatKey used to identify the format of the data received.
|
|
FormatKey = "format"
|
|
|
|
// AcceptedSpansKey used to identify spans accepted by the Collector.
|
|
AcceptedSpansKey = "accepted_spans"
|
|
// RefusedSpansKey used to identify spans refused (ie.: not ingested) by the Collector.
|
|
RefusedSpansKey = "refused_spans"
|
|
// FailedSpansKey used to identify spans failed to be processed by the Collector.
|
|
FailedSpansKey = "failed_spans"
|
|
|
|
// AcceptedMetricPointsKey used to identify metric points accepted by the Collector.
|
|
AcceptedMetricPointsKey = "accepted_metric_points"
|
|
// RefusedMetricPointsKey used to identify metric points refused (ie.: not ingested) by the
|
|
// Collector.
|
|
RefusedMetricPointsKey = "refused_metric_points"
|
|
// FailedMetricPointKey used to identify metric points failed to be processed by the Collector.
|
|
FailedMetricPointsKey = "failed_metric_points"
|
|
|
|
// AcceptedLogRecordsKey used to identify log records accepted by the Collector.
|
|
AcceptedLogRecordsKey = "accepted_log_records"
|
|
// RefusedLogRecordsKey used to identify log records refused (ie.: not ingested) by the
|
|
// Collector.
|
|
RefusedLogRecordsKey = "refused_log_records"
|
|
|
|
// FailedLogRecordsKey used to identify log records failed to be processed by the Collector.
|
|
FailedLogRecordsKey = "failed_log_records"
|
|
|
|
ReceiveTraceDataOperationSuffix = SpanNameSep + "TraceDataReceived"
|
|
ReceiverMetricsOperationSuffix = SpanNameSep + "MetricsReceived"
|
|
ReceiverLogsOperationSuffix = SpanNameSep + "LogsReceived"
|
|
)
|