Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit d5ef933

Browse files
committed
Remove Java specific details
1 parent 1c7ff7a commit d5ef933

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

metrics/Gauge.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ It is recommended to keep a reference of a point for manual operations instead o
5252

5353
## Derived Gauge API
5454

55-
The value that is published for gauges is an instantaneous measurement of an `int64` or `double` value. This gauge is self sufficient once created, so users should never need to interact with it. The value of the gauge is observed from the `object` and a `callback function`. The callback function is invoked whenever metrics are collected, meaning the reported value is up-to-date. The implementation should keep a `WeakReference` to the object and it is the user's responsibility to manage the lifetime of the object.
55+
The value that is published for gauges is an instantaneous measurement of an `int64` or `double` value. This gauge is self sufficient once created, so users should never need to interact with it. The value of the gauge is observed from the `object` and a `callback function`. The callback function is invoked whenever metrics are collected, meaning the reported value is up-to-date.
5656

5757
The following general operations MUST be provided by the API:
5858
* Defining a `name`, `description`, `unit`, `labelKeys`, `resource` and `constantLabels` which are fixed labels that always apply to a gauge. This should give back gauge object to add new time series, remove time series and clear all time series.

0 commit comments

Comments
 (0)