From 826dd4930347ab562d2fd63211e7af284069274d Mon Sep 17 00:00:00 2001 From: Sriman Swami <55436171+swamisriman@users.noreply.github.com> Date: Sat, 31 Aug 2024 15:10:29 +0530 Subject: [PATCH] Added json example for exponential histogram --- examples/metrics.json | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/examples/metrics.json b/examples/metrics.json index 36e0767d9..2e0ffbe16 100644 --- a/examples/metrics.json +++ b/examples/metrics.json @@ -98,6 +98,39 @@ } ] } + }, + { + "name": "my.exponential.histogram", + "unit": "1", + "description": "I am an Exponential Histogram", + "exponentialHistogram": { + "aggregationTemporality": 1, + "dataPoints": [ + { + "startTimeUnixNano": "1544712660300000000", + "timeUnixNano": "1544712660300000000", + "count": 3, + "sum": 10, + "scale": 0, + "zeroCount": 1, + "positive": { + "offset": 1, + "bucketCounts": [0,2] + }, + "min": 0, + "max": 5, + "zeroThreshold": 0, + "attributes": [ + { + "key": "my.exponential.histogram.attr", + "value": { + "stringValue": "some value" + } + } + ] + } + ] + } } ] }