Skip to content

Commit

Permalink
Update lib/histogram.js
Browse files Browse the repository at this point in the history
Co-authored-by: Simen Bekkhus <[email protected]>
  • Loading branch information
Dan Shappir and SimenB authored Feb 12, 2024
1 parent 2881fab commit 81b5440
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/histogram.js
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ function extractBucketValuesForExport(histogram) {
{ le: upperBound },
acc,
name,
(bucketExemplars && bucketExemplars[upperBound]) || null,
bucketExemplars?.[upperBound] ?? null,
labels,
);
});
Expand Down

0 comments on commit 81b5440

Please sign in to comment.