@@ -150,7 +150,7 @@ export interface CounterGroup {
150
150
* @example How to register a simple metric
151
151
*
152
152
* ```typescript
153
- * import { Metrics, Metric } from '@libp2p/interface/metrics
153
+ * import { Metrics, Metric } from '@libp2p/interface/metrics'
154
154
*
155
155
* interface MyServiceComponents {
156
156
* metrics: Metrics
@@ -179,7 +179,7 @@ export interface CounterGroup {
179
179
* A metric that is expensive to calculate can be created by passing a `calculate` function that will only be invoked when metrics are being scraped:
180
180
*
181
181
* ```typescript
182
- * import { Metrics, Metric } from '@libp2p/interface/metrics
182
+ * import { Metrics, Metric } from '@libp2p/interface/metrics'
183
183
*
184
184
* interface MyServiceComponents {
185
185
* metrics: Metrics
@@ -207,7 +207,7 @@ export interface CounterGroup {
207
207
* If several metrics should be grouped together (e.g. for graphing purposes) `registerMetricGroup` can be used instead:
208
208
*
209
209
* ```typescript
210
- * import { Metrics, MetricGroup } from '@libp2p/interface/metrics
210
+ * import { Metrics, MetricGroup } from '@libp2p/interface/metrics'
211
211
*
212
212
* interface MyServiceComponents {
213
213
* metrics: Metrics
@@ -238,7 +238,7 @@ export interface CounterGroup {
238
238
* This is something only libp2p transports need to do.
239
239
*
240
240
* ```typescript
241
- * import { Metrics } from '@libp2p/interface/metrics
241
+ * import { Metrics } from '@libp2p/interface/metrics'
242
242
*
243
243
* interface MyServiceComponents {
244
244
* metrics: Metrics
@@ -264,7 +264,7 @@ export interface CounterGroup {
264
264
* This is something only libp2p connections need to do.
265
265
*
266
266
* ```typescript
267
- * import { Metrics } from '@libp2p/interface/metrics
267
+ * import { Metrics } from '@libp2p/interface/metrics'
268
268
*
269
269
* interface MyServiceComponents {
270
270
* metrics: Metrics
0 commit comments