Skip to content

[feature request] Add Host and Port configuration for Prometheus #7107

@martincostello

Description

@martincostello

Package

OpenTelemetry.Exporter.Prometheus.HttpListener

Is your feature request related to a problem?

As part of open-telemetry/opentelemetry-specification#4805, we should add support for configuring the host and port:

/cc @johannaojeling @ArthurSens

What is the expected behavior?

Users can configure the host and port via the PrometheusHttpListenerOptions class.

We could have a transitionary period for at least one prerelease and mark PrometheusHttpListenerOptions.UriPrefixes as obsolete, removing it before releasing the stable version.

Which alternative solutions or features have you considered?

None.

Additional context

No response

Tip

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions