Ability to retrieve a gauge by name
vincentbernat opened this issue · 3 comments
vincentbernat commented
Hi!
For all other types, it's possible to retrieve the metric by its name. For example (meter reg ["alpha" "beta" "gamma"])
will retrieve the meter if it already exists. There is no such possibility for a gauge. Maybe adding a gauge
method for that (which won't allow creation)?
michaelklishin commented
I don't think there's a particular reason for that.
vincentbernat commented
Do you mean we should be able to use gauge-fn
to retrieve an existing gauge?
michaelklishin commented
@vincentbernat no, I mean that a function can be missing for no particular reason. Feel free to add it.