You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(ad): expose Prometheus /metrics endpoint and scrape it from the OTel Collector
Add a Prometheus client library (io.prometheus:prometheus-metrics 1.3.6) to the
ad service, expose `/metrics` on `AD_PROMETHEUS_PORT` (default 9465), and
register a custom counter `demo_ad_served_total{category}` incremented as ads
are returned. Wire a `prometheus/ad` receiver in the OTel Collector to scrape
the endpoint, demonstrating Prometheus metric ingestion via the collector.
0 commit comments