Skip to content

Change metrics abstraction to be more performant #208

@ejsmith

Description

@ejsmith

Our current metrics abstraction forces users to pass the name of the metric with every single call to update the metric (increment, decrement, etc). We should be able to define the configuration for our metrics as a static or singleton somewhere and then just call methods on it like Increment() without having to have any string allocations.

Also, we need to support adding labels / dimensions to metrics for things like hostname, etc. Possibly support metric scopes for defining labels that should be added to all metrics within it (#114 #32).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions