Skip to content

Auto-configured PrometheusPushGatewayManager cannot be configured to use HTTPS to connect to the gateway #16073

@wilkinsona

Description

@wilkinsona

The String-based PushGateway constructor that we use hardcodes an http scheme to the URL. We should switch to the URL-based constructor instead to allow users to specify an https URL via management.metrics.export.prometheus.pushgateway.base-url. We'll have to take care to do so in a backwards-compatible manner, probably by preserving the existing assumption that the scheme should be http if not specified.

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: supersededAn issue that has been superseded by anothertype: bugA general bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions