Metrics¶
OSA Proxy Go exposes Prometheus metrics at:
Example:
The Go version does not provide Spring Boot actuator endpoints. Use /metrics for scraping, not /actuator/metrics or /actuator/prometheus.
Prometheus scrape config example¶
scrape_configs:
- job_name: osa-proxy-go
metrics_path: /metrics
static_configs:
- targets:
- osa-proxy.example.com:8080
Post-installation check¶
-
Check that the service responds to the health check:
-
Check that the metrics endpoint returns Prometheus data:
-
Configure scraping in Prometheus or through the Helm chart ServiceMonitor if the service is deployed in Kubernetes.
Страница была полезна?