You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: opentelemetry/src/metrics/instruments/counter.rs
-2Lines changed: 0 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -33,8 +33,6 @@ impl<T> Counter<T> {
33
33
}
34
34
35
35
/// An async instrument that records increasing values.
36
-
///
37
-
/// [`ObservableCounter`] can be cloned to create multiple handles to the same instrument. Avoid creating duplicate [`ObservableCounter`]s for the same instrument.
Copy file name to clipboardExpand all lines: opentelemetry/src/metrics/instruments/gauge.rs
-2Lines changed: 0 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -33,8 +33,6 @@ impl<T> Gauge<T> {
33
33
}
34
34
35
35
/// An async instrument that records independent readings.
36
-
///
37
-
/// [`ObservableGauge`] can be cloned to create multiple handles to the same instrument. Avoid creating duplicate [`ObservableGauge`]s for the same instrument.
Copy file name to clipboardExpand all lines: opentelemetry/src/metrics/instruments/up_down_counter.rs
-2Lines changed: 0 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -36,8 +36,6 @@ impl<T> UpDownCounter<T> {
36
36
}
37
37
38
38
/// An async instrument that records increasing or decreasing values.
39
-
///
40
-
/// [`ObservableUpDownCounter`] can be cloned to create multiple handles to the same instrument. Avoid creating duplicate [`ObservableUpDownCounter`]s for the same instrument.
Copy file name to clipboardExpand all lines: opentelemetry/src/metrics/meter.rs
-14Lines changed: 0 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -329,8 +329,6 @@ impl Meter {
329
329
}
330
330
331
331
/// creates an instrument builder for recording increasing values via callback.
332
-
///
333
-
/// [`ObservableCounter`] can be cloned to create multiple handles to the same instrument. Avoid creating duplicate [`ObservableCounter`]s for the same instrument.
334
332
pubfnu64_observable_counter(
335
333
&self,
336
334
name:implInto<Cow<'static,str>>,
@@ -339,8 +337,6 @@ impl Meter {
339
337
}
340
338
341
339
/// creates an instrument builder for recording increasing values via callback.
342
-
///
343
-
/// [`ObservableCounter`] can be cloned to create multiple handles to the same instrument. Avoid creating duplicate [`ObservableCounter`]s for the same instrument.
344
340
pubfnf64_observable_counter(
345
341
&self,
346
342
name:implInto<Cow<'static,str>>,
@@ -369,8 +365,6 @@ impl Meter {
369
365
}
370
366
371
367
/// creates an instrument builder for recording changes of a value via callback.
372
-
///
373
-
/// [`ObservableUpDownCounter`] can be cloned to create multiple handles to the same instrument. Avoid creating duplicate [`ObservableUpDownCounter`]s for the same instrument.
374
368
pubfni64_observable_up_down_counter(
375
369
&self,
376
370
name:implInto<Cow<'static,str>>,
@@ -379,8 +373,6 @@ impl Meter {
379
373
}
380
374
381
375
/// creates an instrument builder for recording changes of a value via callback.
382
-
///
383
-
/// [`ObservableUpDownCounter`] can be cloned to create multiple handles to the same instrument. Avoid creating duplicate [`ObservableUpDownCounter`]s for the same instrument.
384
376
pubfnf64_observable_up_down_counter(
385
377
&self,
386
378
name:implInto<Cow<'static,str>>,
@@ -419,8 +411,6 @@ impl Meter {
419
411
}
420
412
421
413
/// creates an instrument builder for recording the current value via callback.
422
-
///
423
-
/// [`ObservableGauge`] can be cloned to create multiple handles to the same instrument. Avoid creating duplicate [`ObservableGauge`]s for the same instrument.
424
414
pubfnu64_observable_gauge(
425
415
&self,
426
416
name:implInto<Cow<'static,str>>,
@@ -429,8 +419,6 @@ impl Meter {
429
419
}
430
420
431
421
/// creates an instrument builder for recording the current value via callback.
432
-
///
433
-
/// [`ObservableGauge`] can be cloned to create multiple handles to the same instrument. Avoid creating duplicate [`ObservableGauge`]s for the same instrument.
434
422
pubfni64_observable_gauge(
435
423
&self,
436
424
name:implInto<Cow<'static,str>>,
@@ -439,8 +427,6 @@ impl Meter {
439
427
}
440
428
441
429
/// creates an instrument builder for recording the current value via callback.
442
-
///
443
-
/// [`ObservableGauge`] can be cloned to create multiple handles to the same instrument. Avoid creating duplicate [`ObservableGauge`]s for the same instrument.
0 commit comments