-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
area:metricsPart of OpenTelemetry MetricsPart of OpenTelemetry Metricspkg:exampleRelated to an exampleRelated to an example
Milestone
Description
meter.AsyncFloat64().Counter acts like gauge so async approach i cant use(do not have counter)
meter.SyncFloat64() do not have gauge so i can not use sync approach
in this examaple
| gauge, err := meter.SyncFloat64().UpDownCounter("bar", instrument.WithDescription("a fun little gauge")) |
meter.SyncFloat64().UpDownCounter called gauge but
meter.SyncFloat64().UpDownCounter acts like counter
i feel there is some mistake here or too confusing and need some clarification
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area:metricsPart of OpenTelemetry MetricsPart of OpenTelemetry Metricspkg:exampleRelated to an exampleRelated to an example