Skip to content

Commit

Permalink
Update samples/instrumentation-quickstart/src/instrumentation.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Aaron Abbott <[email protected]>
  • Loading branch information
dashpole and aabmass authored Jan 27, 2025
1 parent 7e4ed67 commit 35ab89e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/instrumentation-quickstart/src/instrumentation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function getMetricReader() {
// Use exponential histograms for histogram instruments.
// This can be done using an environment variable after
// https://github.com/open-telemetry/opentelemetry-js/issues/3920 is implemented.
aggregationPreference: (_instrumentType: InstrumentType) => {
aggregationPreference: (instrumentType: InstrumentType) => {
if (_instrumentType === InstrumentType.HISTOGRAM) {
return new ExponentialHistogramAggregation()
}
Expand Down

0 comments on commit 35ab89e

Please sign in to comment.