Skip to content

Commit

Permalink
Added json example for exponential histogram
Browse files Browse the repository at this point in the history
  • Loading branch information
swamisriman committed Sep 13, 2024
1 parent 3497028 commit 826dd49
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions examples/metrics.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
]
}
]
}
}
]
}
Expand Down

0 comments on commit 826dd49

Please sign in to comment.