Skip to content

Statsd client metric prefix #66

@petern-sc

Description

@petern-sc

Is there a way to provide a prefix for the metrics that get emitted?

I'm looking to integrate with the zio-kafka metrics so I don't have control over the code that names the metrics. The StatsdConfig class only accepts a host and port so there doesn't seem any way to configure that in there.

Link to the equivalent behaviour in the java statsd client
https://github.com/tim-group/java-statsd-client/blob/master/src/main/java/com/timgroup/statsd/NonBlockingStatsDClient.java#L54-L55

and dogstatsd-client
https://github.com/DataDog/java-dogstatsd-client/blob/357adcd3b58bec6def50101fc4d3b1265889e38e/src/main/java/com/timgroup/statsd/NonBlockingStatsDClientBuilder.java#L146-L148

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