Skip to content
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
@hauleth

Description

@hauleth

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions