-
Notifications
You must be signed in to change notification settings - Fork 966
Open
Labels
area:apiCross language API specification issueCross language API specification issuearea:semantic-conventionsRelated to semantic conventionsRelated to semantic conventionssemconv:databasespec:metricsRelated to the specification/metrics directoryRelated to the specification/metrics directory
Description
What are you trying to achieve?
I need to set the metric db.client.connections.usage to 0.
What did you expect to see?
I expected to have a 'reset' function in the UpDownCounter object.
I'm working on the metric db.client.connections.usage in mysql in JS. The metric logic is such that each time a connection is created, acquired, released or end, I add +1 or -1 to the metric of used or idle connections.
Now I have a case where the user is having x used connections and y idle connections. and he is calling pool.end(). In this case, I want to reset both metrics (used & idle) to 0.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area:apiCross language API specification issueCross language API specification issuearea:semantic-conventionsRelated to semantic conventionsRelated to semantic conventionssemconv:databasespec:metricsRelated to the specification/metrics directoryRelated to the specification/metrics directory