File tree 1 file changed +12
-3
lines changed
1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -293,7 +293,10 @@ class TemporaryCounter<AttributesTypes extends Attributes = Attributes>
293
293
> = [ ] ;
294
294
private _counter : Counter < AttributesTypes > | undefined ;
295
295
296
- constructor ( public name : string , public options ?: MetricOptions ) { }
296
+ constructor (
297
+ public name : string ,
298
+ public options ?: MetricOptions ,
299
+ ) { }
297
300
298
301
add ( value : number , attributes ?: AttributesTypes , context ?: Context ) : void {
299
302
if ( this . _counter ) {
@@ -321,7 +324,10 @@ class TemporaryHistogram<AttributesTypes extends Attributes = Attributes>
321
324
[ number , AttributesTypes | undefined , Context | undefined ]
322
325
> = [ ] ;
323
326
324
- constructor ( public name : string , public options ?: MetricOptions ) { }
327
+ constructor (
328
+ public name : string ,
329
+ public options ?: MetricOptions ,
330
+ ) { }
325
331
326
332
record ( value : number , attributes ?: AttributesTypes , context ?: Context ) : void {
327
333
if ( this . _histogram ) {
@@ -350,7 +356,10 @@ class TemporaryObservable<AttributesTypes extends Attributes = Attributes>
350
356
private _listeners : Array < ObservableCallback < AttributesTypes > > = [ ] ;
351
357
private _observable : Observable < AttributesTypes > | undefined ;
352
358
353
- constructor ( public name : string , public options ?: MetricOptions ) { }
359
+ constructor (
360
+ public name : string ,
361
+ public options ?: MetricOptions ,
362
+ ) { }
354
363
355
364
addCallback ( callback : ObservableCallback < AttributesTypes > ) : void {
356
365
if ( this . _observable ) {
You can’t perform that action at this time.
0 commit comments