From 1a7e5d27796a2f48936fcfe1f8ac3c539f3cccdb Mon Sep 17 00:00:00 2001 From: Asaf Mesika Date: Mon, 13 Nov 2023 16:55:01 +0200 Subject: [PATCH] Allowing exporters (e.g. Prometheus exporter) to add the resource attributes to each exported metric attributes --- specification/metrics/sdk.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/specification/metrics/sdk.md b/specification/metrics/sdk.md index 0ac9ad9f29e..6ae97cbe254 100644 --- a/specification/metrics/sdk.md +++ b/specification/metrics/sdk.md @@ -1296,6 +1296,9 @@ can run at different schedule, for example: * Exporter D is a pull exporter which reacts to another scraper over a named pipe. +Exporters MAY offer configuration to add resource attributes as metric attributes. +By default, it MUST not add any resource attributes as metric attributes. + ### Push Metric Exporter Push Metric Exporter sends metric data it receives from a paired