From f25033eec1e805be06e4b924c58a4487ea902e97 Mon Sep 17 00:00:00 2001 From: Paulo Dias Date: Sat, 11 Oct 2025 17:56:25 +0100 Subject: [PATCH] [chore][exporter/prometheusremotewriteexporter] sort metadata.yaml entries Signed-off-by: Paulo Dias --- .../metadata.yaml | 102 +++++++++--------- 1 file changed, 51 insertions(+), 51 deletions(-) diff --git a/exporter/prometheusremotewriteexporter/metadata.yaml b/exporter/prometheusremotewriteexporter/metadata.yaml index 1b205316365a7..056876bfda70b 100644 --- a/exporter/prometheusremotewriteexporter/metadata.yaml +++ b/exporter/prometheusremotewriteexporter/metadata.yaml @@ -18,87 +18,77 @@ tests: telemetry: metrics: - exporter_prometheusremotewrite_failed_translations: + exporter_prometheusremotewrite_consumers: enabled: true stability: level: development - description: Number of translation operations that failed to translate metrics from Otel to Prometheus - unit: "1" + description: Number of configured workers to use to fan out the outgoing requests + unit: "{consumer}" sum: value_type: int - monotonic: true - exporter_prometheusremotewrite_translated_time_series: + monotonic: false + exporter_prometheusremotewrite_failed_translations: enabled: true stability: level: development - description: Number of Prometheus time series that were translated from OTel metrics + description: Number of translation operations that failed to translate metrics from Otel to Prometheus unit: "1" sum: value_type: int monotonic: true - exporter_prometheusremotewrite_written_samples: + exporter_prometheusremotewrite_sent_batches: enabled: true stability: level: development - description: Number of Prometheus Samples that were successfully written to the remote write endpoint (only available when using remote write v2) - unit: "{sample}" + description: Number of remote write request batches sent to the remote write endpoint regardless of success or failure + unit: "{batch}" sum: value_type: int monotonic: true - exporter_prometheusremotewrite_written_histograms: + exporter_prometheusremotewrite_translated_time_series: enabled: true stability: level: development - description: Number of Prometheus Histograms that were successfully written to the remote write endpoint (only available when using remote write v2) - unit: "{histogram}" + description: Number of Prometheus time series that were translated from OTel metrics + unit: "1" sum: value_type: int monotonic: true - exporter_prometheusremotewrite_written_exemplars: + exporter_prometheusremotewrite_wal_bytes_read: enabled: true stability: level: development - description: Number of Prometheus Exemplars that were successfully written to the remote write endpoint (only available when using remote write v2) - unit: "{exemplar}" + description: Total number of bytes read from the WAL + unit: "By" sum: value_type: int monotonic: true - exporter_prometheusremotewrite_consumers: - enabled: true - stability: - level: development - description: Number of configured workers to use to fan out the outgoing requests - unit: "{consumer}" - sum: - value_type: int - monotonic: false - exporter_prometheusremotewrite_sent_batches: + exporter_prometheusremotewrite_wal_bytes_written: enabled: true stability: level: development - description: Number of remote write request batches sent to the remote write endpoint regardless of success or failure - unit: "{batch}" + description: Total number of bytes written to the WAL + unit: "By" sum: value_type: int monotonic: true - exporter_prometheusremotewrite_wal_writes: + exporter_prometheusremotewrite_wal_lag: enabled: true stability: level: development - description: Number of WAL writes + description: WAL lag unit: "1" - sum: + gauge: value_type: int - monotonic: true - exporter_prometheusremotewrite_wal_writes_failures: + exporter_prometheusremotewrite_wal_read_latency: enabled: true stability: level: development - description: Number of WAL writes that failed - unit: "1" - sum: + description: Response latency in ms for the WAL reads. + unit: ms + histogram: value_type: int - monotonic: true + bucket_boundaries: [5, 10, 20, 50, 100, 200, 500, 1000, 2000, 5000] exporter_prometheusremotewrite_wal_reads: enabled: true stability: @@ -126,38 +116,48 @@ telemetry: histogram: value_type: int bucket_boundaries: [5, 10, 20, 50, 100, 200, 500, 1000, 2000, 5000] - exporter_prometheusremotewrite_wal_read_latency: + exporter_prometheusremotewrite_wal_writes: enabled: true stability: level: development - description: Response latency in ms for the WAL reads. - unit: ms - histogram: + description: Number of WAL writes + unit: "1" + sum: value_type: int - bucket_boundaries: [5, 10, 20, 50, 100, 200, 500, 1000, 2000, 5000] - exporter_prometheusremotewrite_wal_bytes_written: + monotonic: true + exporter_prometheusremotewrite_wal_writes_failures: enabled: true stability: level: development - description: Total number of bytes written to the WAL - unit: "By" + description: Number of WAL writes that failed + unit: "1" sum: value_type: int monotonic: true - exporter_prometheusremotewrite_wal_bytes_read: + exporter_prometheusremotewrite_written_exemplars: enabled: true stability: level: development - description: Total number of bytes read from the WAL - unit: "By" + description: Number of Prometheus Exemplars that were successfully written to the remote write endpoint (only available when using remote write v2) + unit: "{exemplar}" sum: value_type: int monotonic: true - exporter_prometheusremotewrite_wal_lag: + exporter_prometheusremotewrite_written_histograms: enabled: true stability: level: development - description: WAL lag - unit: "1" - gauge: + description: Number of Prometheus Histograms that were successfully written to the remote write endpoint (only available when using remote write v2) + unit: "{histogram}" + sum: + value_type: int + monotonic: true + exporter_prometheusremotewrite_written_samples: + enabled: true + stability: + level: development + description: Number of Prometheus Samples that were successfully written to the remote write endpoint (only available when using remote write v2) + unit: "{sample}" + sum: value_type: int + monotonic: true