@@ -3,10 +3,8 @@ use std::any::Any;
3
3
use std:: borrow:: Cow ;
4
4
use std:: sync:: Arc ;
5
5
6
- #[ cfg( feature = "otel_unstable" ) ]
7
- use crate :: metrics:: Gauge ;
8
6
use crate :: metrics:: {
9
- AsyncInstrumentBuilder , Counter , Histogram , InstrumentBuilder , InstrumentProvider ,
7
+ AsyncInstrumentBuilder , Counter , Gauge , Histogram , InstrumentBuilder , InstrumentProvider ,
10
8
ObservableCounter , ObservableGauge , ObservableUpDownCounter , Result , UpDownCounter ,
11
9
} ;
12
10
use crate :: KeyValue ;
@@ -335,32 +333,23 @@ impl Meter {
335
333
AsyncInstrumentBuilder :: new ( self , name. into ( ) )
336
334
}
337
335
338
- /// # Experimental
339
- /// This method is experimental and can be changed/removed in future releases.
340
336
/// creates an instrument builder for recording independent values.
341
- #[ cfg( feature = "otel_unstable" ) ]
342
337
pub fn u64_gauge (
343
338
& self ,
344
339
name : impl Into < Cow < ' static , str > > ,
345
340
) -> InstrumentBuilder < ' _ , Gauge < u64 > > {
346
341
InstrumentBuilder :: new ( self , name. into ( ) )
347
342
}
348
343
349
- /// # Experimental
350
- /// This method is experimental and can be changed/removed in future releases.
351
344
/// creates an instrument builder for recording independent values.
352
- #[ cfg( feature = "otel_unstable" ) ]
353
345
pub fn f64_gauge (
354
346
& self ,
355
347
name : impl Into < Cow < ' static , str > > ,
356
348
) -> InstrumentBuilder < ' _ , Gauge < f64 > > {
357
349
InstrumentBuilder :: new ( self , name. into ( ) )
358
350
}
359
351
360
- /// # Experimental
361
- /// This method is experimental and can be changed/removed in future releases.
362
- /// creates an instrument builder for recording indenpendent values.
363
- #[ cfg( feature = "otel_unstable" ) ]
352
+ /// creates an instrument builder for recording independent values.
364
353
pub fn i64_gauge (
365
354
& self ,
366
355
name : impl Into < Cow < ' static , str > > ,
0 commit comments