Skip to content

Refactor RateLimit Collector and add a proper Description for prom crate #18

Open
@njasm

Description

@njasm

The prometheus crate we use hashes all the metrics information (namespace and labels) from all registered Collectors and will error out if the same hash was previously registered.

this information is gathered by the crate when calling the desc method of the Collector trait, and right now our implementation of that is returning an empty vec

context see: #15 (comment)_

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