Skip to content

Support Basic Auth for Prometheus PushGateway reporter #3561

Description

@Guosmilesmile

Search before asking

  • I searched in the issues and found nothing similar.

Motivation

Currently PrometheusPushGatewayReporter sends metrics to the Prometheus PushGateway anonymously. In production, PushGateway is often placed behind has its own basic auth enabled, which makes the reporter unusable in secured deployments.

  • Add two new config options:
    • metrics.reporter.prometheus-push.username
    • metrics.reporter.prometheus-push.password

Solution

No response

Anything else?

No response

Willingness to contribute

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Fields

    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions