Skip to content

feat(metrics): add Prometheus exporter and monitoring resources#670

Merged
matzew merged 2 commits intocontainers:mainfrom
nader-ziada:prometheus-exporter
Jan 22, 2026
Merged

feat(metrics): add Prometheus exporter and monitoring resources#670
matzew merged 2 commits intocontainers:mainfrom
nader-ziada:prometheus-exporter

Conversation

@nader-ziada
Copy link
Collaborator

Follow-up to Adding OpenTelemetry PR: #590

Add a Prometheus HTTP endpoint (/metrics) to expose OpenTelemetry metrics in Prometheus format. Also add Helm chart templates for ServiceMonitor and PrometheusRule to enable integration with Prometheus operators.

Changes:

  • Add prometheus exporter to OtelStatsCollector
  • Expose /metrics endpoint in HTTP server
  • Add ServiceMonitor template for Prometheus scraping
  • Add PrometheusRule template with recording rules for Telemeter
  • Inject POD_NAMESPACE env var for namespace-level metric aggregation

@matzew
Copy link
Collaborator

matzew commented Jan 22, 2026

/assign

Copy link
Collaborator

@matzew matzew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Add a Prometheus HTTP endpoint (/metrics) to expose OpenTelemetry metrics
in Prometheus format. Also add Helm chart templates for ServiceMonitor
and PrometheusRule to enable integration with Prometheus operators.

Signed-off-by: Nader Ziada <nziada@redhat.com>

update gomod

Signed-off-by: Nader Ziada <nziada@redhat.com>
Signed-off-by: Nader Ziada <nziada@redhat.com>
Copy link
Collaborator

@matzew matzew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@matzew matzew merged commit c6be64e into containers:main Jan 22, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants