Skip to content

Commit 787cc4b

Browse files
committed
address comment
1 parent 6cb3e7c commit 787cc4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samples/instrumentation-quickstart/src/instrumentation.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ function getMetricReader() {
5555
// Use exponential histograms for histogram instruments.
5656
// This can be done using an environment variable after
5757
// https://github.com/open-telemetry/opentelemetry-js/issues/3920 is implemented.
58-
aggregationPreference: (_instrumentType: InstrumentType) => {
59-
if (_instrumentType === InstrumentType.HISTOGRAM) {
58+
aggregationPreference: (instrumentType: InstrumentType) => {
59+
if (instrumentType === InstrumentType.HISTOGRAM) {
6060
return new ExponentialHistogramAggregation()
6161
}
6262
return new DefaultAggregation()

0 commit comments

Comments
 (0)