Skip to content

Client does not pick up counters in sub modules #4

@mansona

Description

@mansona

I'm not 100% sure if this is my fault because I'm working with a linked library locally but the documentation say:

By default, the Prometheus client will use a global namespace. That means that any metrics registered inside your app (even by libraries) will show up in your client without any need to pass around a client object.

Can you go into more detail on how this is supposed to work and what part of the implementation is supposed to do this?

This is currently not working for me, I am only getting counters that exposed in the "parent" project i.e. no sub modules

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