From 647c9f25aa75ff66a146f6a34e0bbf079a88349a Mon Sep 17 00:00:00 2001 From: Joris Bayer Date: Wed, 12 Jun 2024 15:57:43 +0200 Subject: [PATCH] doc(metrics): Metric tags can only have a single value (#1307) --- src/docs/sdk/metrics.mdx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/docs/sdk/metrics.mdx b/src/docs/sdk/metrics.mdx index 42a731fbce..ae145e8873 100644 --- a/src/docs/sdk/metrics.mdx +++ b/src/docs/sdk/metrics.mdx @@ -43,9 +43,8 @@ exist: * **Background Aggregation:** SDKs are encouraged to defer flushing and aggregation into a background thread. For SDKs where `fork()` is to be expected, the background thread needs to ensure it restarts after fork (eg: python). -* **Tagging:** metrics are tagged by key value pairs, where each key can have more - than one value. Both keys and values are limited to strings, but the SDK can - expose other types if it has a reasonable way to stringify these. +* **Tagging:** metrics can be tagged with a unique key and an optional value for each key. Both keys and values are limited to strings, + but the SDK can expose other types if it has a reasonable way to stringify these. In abstract terms the aggregator is recommended to look a bit like this: