We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94f055c commit d75004aCopy full SHA for d75004a
packages/opentelemetry-api/src/metrics/Meter.ts
@@ -52,6 +52,13 @@ export interface Meter {
52
* supports negative increments. It is generally useful for capturing changes
53
* in an amount of resources used, or any quantity that rises and falls
54
* during a request.
55
+ * Example uses for UpDownCounter:
56
+ * <ol>
57
+ * <li> count the number of active requests. </li>
58
+ * <li> count memory in use by instrumenting new and delete. </li>
59
+ * <li> count queue size by instrumenting enqueue and dequeue. </li>
60
+ * <li> count semaphore up and down operations. </li>
61
+ * </ol>
62
*
63
* @param name the name of the metric.
64
* @param [options] the metric options.
0 commit comments