Documentation ¶
Overview ¶
Package obsmetrics defines the obsreport metrics for each components all the metrics is in OpenCensus format which will be replaced with OTEL Metrics in the future
Index ¶
Constants ¶
View Source
const ( // ExporterKey used to identify exporters in metrics and traces. ExporterKey = "exporter" // SentSpansKey used to track spans sent by exporters. SentSpansKey = "sent_spans" // FailedToSendSpansKey used to track spans that failed to be sent by exporters. FailedToSendSpansKey = "send_failed_spans" // FailedToEnqueueSpansKey used to track spans that failed to be enqueued by exporters. FailedToEnqueueSpansKey = "enqueue_failed_spans" // SentMetricPointsKey used to track metric points sent by exporters. SentMetricPointsKey = "sent_metric_points" // FailedToSendMetricPointsKey used to track metric points that failed to be sent by exporters. FailedToSendMetricPointsKey = "send_failed_metric_points" // FailedToEnqueueMetricPointsKey used to track metric points that failed to be enqueued by exporters. FailedToEnqueueMetricPointsKey = "enqueue_failed_metric_points" // SentLogRecordsKey used to track logs sent by exporters. SentLogRecordsKey = "sent_log_records" // FailedToSendLogRecordsKey used to track logs that failed to be sent by exporters. FailedToSendLogRecordsKey = "send_failed_log_records" // FailedToEnqueueLogRecordsKey used to track logs that failed to be enqueued by exporters. FailedToEnqueueLogRecordsKey = "enqueue_failed_log_records" )
View Source
const ( // ProcessorKey is the key used to identify processors in metrics and traces. ProcessorKey = "processor" // DroppedSpansKey is the key used to identify spans dropped by the Collector. DroppedSpansKey = "dropped_spans" // DroppedMetricPointsKey is the key used to identify metric points dropped by the Collector. DroppedMetricPointsKey = "dropped_metric_points" // DroppedLogRecordsKey is the key used to identify log records dropped by the Collector. DroppedLogRecordsKey = "dropped_log_records" )
View Source
const ( // 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" // 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" // 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" )
View Source
const ( // ScraperKey used to identify scrapers in metrics and traces. ScraperKey = "scraper" // ScrapedMetricPointsKey used to identify metric points scraped by the // Collector. ScrapedMetricPointsKey = "scraped_metric_points" // ErroredMetricPointsKey used to identify metric points errored (i.e. // unable to be scraped) by the Collector. ErroredMetricPointsKey = "errored_metric_points" )
View Source
const ( ScraperPrefix = ScraperKey + SpanNameSep ScraperMetricPrefix = ScraperKey + MetricNameSep ScraperMetricsOperationSuffix = SpanNameSep + "MetricsScraped" )
View Source
const ( SpanNameSep = "/" MetricNameSep = "_" Scope = "github.com/oodle-ai/opentelemetry-collector/obsreport" )
Variables ¶
View Source
var ( ExporterPrefix = ExporterKey + SpanNameSep ExporterMetricPrefix = ExporterKey + MetricNameSep ExportTraceDataOperationSuffix = SpanNameSep + "traces" ExportMetricsOperationSuffix = SpanNameSep + "metrics" ExportLogsOperationSuffix = SpanNameSep + "logs" )
View Source
var ( ReceiverPrefix = ReceiverKey + SpanNameSep ReceiverMetricPrefix = ReceiverKey + MetricNameSep ReceiveTraceDataOperationSuffix = SpanNameSep + "TraceDataReceived" ReceiverMetricsOperationSuffix = SpanNameSep + "MetricsReceived" ReceiverLogsOperationSuffix = SpanNameSep + "LogsReceived" )
View Source
var (
ProcessorMetricPrefix = ProcessorKey + MetricNameSep
)
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.