We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cb3e7c commit 787cc4bCopy full SHA for 787cc4b
samples/instrumentation-quickstart/src/instrumentation.ts
@@ -55,8 +55,8 @@ function getMetricReader() {
55
// Use exponential histograms for histogram instruments.
56
// This can be done using an environment variable after
57
// https://github.com/open-telemetry/opentelemetry-js/issues/3920 is implemented.
58
- aggregationPreference: (_instrumentType: InstrumentType) => {
59
- if (_instrumentType === InstrumentType.HISTOGRAM) {
+ aggregationPreference: (instrumentType: InstrumentType) => {
+ if (instrumentType === InstrumentType.HISTOGRAM) {
60
return new ExponentialHistogramAggregation()
61
}
62
return new DefaultAggregation()
0 commit comments