Closed
Description
Describe the solution you'd like:
In all the examples, incrementing a counter requires that the user supply a key value pair. This requires the counter to do a key value lookup to find the correct count to increment. What is expected is that there is a value somewhere in memory and the count is added to that (maybe atomically). What we have is a complicated code path to do some lookup followed by a simple increment. See, e.g., this.
Is it possible to directly access the "add" or "increment" method for a metric, i.e. without key/value lookup?
Related:
1740.