Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DetermineMetricTypeByConvention ¶
func DetermineMetricTypeByConvention(metricName string, labels []prompb.Label) prompb.MetricMetadata_MetricType
DetermineMetricTypeByConvention This is a 'best effort' heuristic applying guidance from the latest PRW receiver and OpenMetrics specifications See: https://prometheus.io/docs/concepts/remote_write_spec/#prometheus-remote-write-specification Also see: https://raw.githubusercontent.com/OpenObservability/OpenMetrics/main/specification/OpenMetrics.md As this is a heuristic process, the order of operations is significant.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.