Skip to content

Should MP Telemetry require implementations to have a /metrics endpoint? #168

@donbourne

Description

@donbourne

We need to decide if we will require MP Telemetry compatible implementations to include a /metrics endpoint that responds with Prometheus/OpenMetrics format metrics data.

A /metrics endpoint could be used by operations teams that want an easy to set up way to collect metrics from a server that doesn't require an OpenTelemetry Collector. It could also be useful for demos where simplicity of setup is important.

OpenTelemetry provides a Prometheus Metrics Exporter (https://opentelemetry.io/docs/specs/otel/metrics/sdk_exporters/prometheus/) which is a pull metric exporter. While the Prometheus Metrics Exporter is handy for testing, it may not be appropriate, IMO, for MP servers/runtimes that have their own pattern for endpoint and security configuration (eg. how to configure port to use, TLS configuration, RBAC).

Please post your comments with your opinion on whether it is important for MP Telemetry to require implementations to have a /metrics endpoint?

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