You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
getCounterMetric only accept name as params, and inside it calls findOrCreateCounter with the name, but findOrCreateCounter can accept labelNames as well.
When I call counter.inc({ uri: '/abc' }, 1), it throws error: Added label "uri" is not included in initial labelset: []
The text was updated successfully, but these errors were encountered:
getCounterMetric
only acceptname
as params, and inside it callsfindOrCreateCounter
with thename
, butfindOrCreateCounter
can acceptlabelNames
as well.When I call
counter.inc({ uri: '/abc' }, 1)
, it throws error:Added label "uri" is not included in initial labelset: []
The text was updated successfully, but these errors were encountered: