Skip to content

Commit b663012

Browse files
committed
chore(instrumentation-runtime-node): lint
1 parent cab7e6c commit b663012

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

plugins/node/instrumentation-runtime-node/src/metrics/eventLoopDelayCollector.ts

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,49 +83,56 @@ export class EventLoopDelayCollector extends BaseCollector {
8383
const delayMin = meter.createObservableGauge(
8484
`${this.namePrefix}.${NodeJsEventLoopDelayAttributes.min}`,
8585
{
86-
description: metricNames[NodeJsEventLoopDelayAttributes.min].description,
86+
description:
87+
metricNames[NodeJsEventLoopDelayAttributes.min].description,
8788
unit: 's',
8889
}
8990
);
9091
const delayMax = meter.createObservableGauge(
9192
`${this.namePrefix}.${NodeJsEventLoopDelayAttributes.max}`,
9293
{
93-
description: metricNames[NodeJsEventLoopDelayAttributes.max].description,
94+
description:
95+
metricNames[NodeJsEventLoopDelayAttributes.max].description,
9496
unit: 's',
9597
}
9698
);
9799
const delayMean = meter.createObservableGauge(
98100
`${this.namePrefix}.${NodeJsEventLoopDelayAttributes.mean}`,
99101
{
100-
description: metricNames[NodeJsEventLoopDelayAttributes.mean].description,
102+
description:
103+
metricNames[NodeJsEventLoopDelayAttributes.mean].description,
101104
unit: 's',
102105
}
103106
);
104107
const delayStddev = meter.createObservableGauge(
105108
`${this.namePrefix}.${NodeJsEventLoopDelayAttributes.stddev}`,
106109
{
107-
description: metricNames[NodeJsEventLoopDelayAttributes.stddev].description,
110+
description:
111+
metricNames[NodeJsEventLoopDelayAttributes.stddev].description,
108112
unit: 's',
109113
}
110114
);
111115
const delayp50 = meter.createObservableGauge(
112116
`${this.namePrefix}.${NodeJsEventLoopDelayAttributes.p50}`,
113117
{
114-
description: metricNames[NodeJsEventLoopDelayAttributes.p50].description,
118+
description:
119+
metricNames[NodeJsEventLoopDelayAttributes.p50].description,
115120
unit: 's',
116121
}
117122
);
118123
const delayp90 = meter.createObservableGauge(
119124
`${this.namePrefix}.${NodeJsEventLoopDelayAttributes.p90}`,
120125
{
121-
description: metricNames[NodeJsEventLoopDelayAttributes.p90].description,
126+
description:
127+
metricNames[NodeJsEventLoopDelayAttributes.p90].description,
122128
unit: 's',
123129
}
124130
);
125131
const delayp99 = meter.createObservableGauge(
126132
`${this.namePrefix}.${NodeJsEventLoopDelayAttributes.p99}`,
127133
{
128-
description: metricNames[NodeJsEventLoopDelayAttributes.p99].description,
134+
description:
135+
metricNames[NodeJsEventLoopDelayAttributes.p99].description,
129136
unit: 's',
130137
}
131138
);

0 commit comments

Comments
 (0)