Provides instruments used to record measurements which are aggregated to metrics.
Attributes
- See also
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Value members
Abstract methods
Constructs a Counter instrument.
Constructs a Counter instrument.
Value parameters
- description
-
description is an optional free-form text provided by the author of the instrument. The API MUST treat it as an opaque string
- name
-
the name of the Counter. Instrument names must consist of 255 or fewer characters including alphanumeric, _, ., -, and start with a letter
- unit
-
instrument units must be 63 or fewer ASCII characters
Attributes
Constructs a Historgram instrument.
Constructs a Historgram instrument.
Value parameters
- boundaries
-
the explicit bucket boundaries advice
- description
-
description is an optional free-form text provided by the author of the instrument. The API MUST treat it as an opaque string
- name
-
the name of the Counter. Instrument names must consist of 255 or fewer characters including alphanumeric, _, ., -, and start with a letter
- unit
-
instrument units must be 63 or fewer ASCII characters
Attributes
Builds an Asynchronous Counter instrument with the given callback.
Builds an Asynchronous Counter instrument with the given callback.
Value parameters
- callback
-
callback which observes measurements when invoked
- description
-
description is an optional free-form text provided by the author of the instrument. The API MUST treat it as an opaque string
- name
-
the name of the Counter. Instrument names must consist of 255 or fewer characters including alphanumeric, _, ., -, and start with a letter
- unit
-
instrument units must be 63 or fewer ASCII characters
Attributes
Builds an Asynchronous Gauge instrument with the given callback.
Builds an Asynchronous Gauge instrument with the given callback.
Value parameters
- callback
-
callback which observes measurements when invoked
- description
-
description is an optional free-form text provided by the author of the instrument. The API MUST treat it as an opaque string
- name
-
the name of the Counter. Instrument names must consist of 255 or fewer characters including alphanumeric, _, ., -, and start with a letter
- unit
-
instrument units must be 63 or fewer ASCII characters
Attributes
Builds an Asynchronous UpDownCounter instrument with the given callback.
Builds an Asynchronous UpDownCounter instrument with the given callback.
Value parameters
- callback
-
callback which observes measurements when invoked
- description
-
description is an optional free-form text provided by the author of the instrument. The API MUST treat it as an opaque string
- name
-
the name of the Counter. Instrument names must consist of 255 or fewer characters including alphanumeric, _, ., -, and start with a letter
- unit
-
instrument units must be 63 or fewer ASCII characters
Attributes
Constructs a UpDownCounter instrument.
Constructs a UpDownCounter instrument.
Value parameters
- description
-
description is an optional free-form text provided by the author of the instrument. The API MUST treat it as an opaque string
- name
-
the name of the Counter. Instrument names must consist of 255 or fewer characters including alphanumeric, _, ., -, and start with a letter
- unit
-
instrument units must be 63 or fewer ASCII characters