8000 Add minimum configurable default tags to PrometheusReporter · Issue #92 · uber-java/tally · GitHub
[go: up one dir, main page]

Skip to content

Add minimum configurable default tags to PrometheusReporter #92

@SokolAndrey

Description

@SokolAndrey

M3Reporter implementation of StatsReporter allows to set some default tags, which will be added to all reported metrics:

        StatsReporter reporter = new M3Reporter.Builder(new InetSocketAddress("localhost", 9052))
                                     .env("testing")
                                     .service("service_name")
                                     .includeHost(false)
                                     .commonTags(ImmutableMap.of("tag1", "42"))
                                     .build();

There is no such functionality in PrometheusReporter. We should add at minimum ability to set env, service and defaultTags

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

      0