This repository was archived by the owner on Jul 31, 2023. It is now read-only.
This repository was archived by the owner on Jul 31, 2023. It is now read-only.
Merge metrics tags before passing them to the handler #138
Open
Description
Currently almost all metric handlers need to do something like:
maps:merge(CTags, maps:from_list(lists:zip(Tags, TagsV)))
Which is little bit PITA. What I am proposing is to do it for them in the oc_stats:export/0
and return data with above "merging" function already done. This should reduce hurdle in defining metrics handlers and should unbound them from the internal storage of data in the application.
Metadata
Metadata
Assignees
Labels
No labels