Skip to content

Commit

Permalink
[processor/interval]Fix incorrect exponential histogram test (#36316)
Browse files Browse the repository at this point in the history
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

Fixes the exponential histogram test to use exponential histogram as
input rather than histogram.

<!-- Issue number (e.g. #1234) or full URL to issue, if applicable. -->
#### Link to tracking issue
N/A

<!--Describe what testing was performed and which tests were added.-->
#### Testing
Run the unit tests using `make test`
<!--Describe the documentation added.-->
#### Documentation
N/A
<!--Please delete paragraphs that you did not use before submitting.-->
  • Loading branch information
lahsivjar authored Nov 12, 2024
1 parent 7f0cc13 commit f5c91d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ resourceMetrics:
stringValue: bar
metrics:
- name: cumulative.exphistogram.test
histogram:
exponentialHistogram:
aggregationTemporality: 2
dataPoints:
- timeUnixNano: 50
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@ resourceMetrics:
stringValue: bar
metrics:
- name: cumulative.exphistogram.test
histogram:
exponentialHistogram:
aggregationTemporality: 2
dataPoints:
- timeUnixNano: 80
scale: 4
zeroCount: 5
positive:
offset: 2
bucketCounts: [9, 12, 17, 8, 34]
offset: 2
negative:
offset: 6
bucketCounts: [6, 21, 9, 19, 7]
offset: 6
attributes:
- key: aaa
value:
Expand Down

0 comments on commit f5c91d5

Please sign in to comment.