What had been user supplied attributes for an instrument, like monotonic, are now part of the instrument itself. So for a non-monotonic counter the user chooses UpDownCounter.
I'm not 100% on the Erlang form of the API so looking for feedback.
And I still need to add the Elixir API changes to this PR.
Some important points:
monotonic
, are now part of the instrument itself. So for a non-monotonic counter the user choosesUpDownCounter
.I'm not 100% on the Erlang form of the API so looking for feedback.
And I still need to add the Elixir API changes to this PR.