application.yaml.
Available Actuator endpoints
| Endpoint | Description |
|---|---|
GET /actuator/health | Service health status |
GET /actuator/info | Application info |
GET /actuator/prometheus | Prometheus-format metrics |
GET /actuator/metrics | JSON metrics |
Prometheus scraping
To scrape metrics locally, call the Prometheus endpoint directly:application=rlaas-users-service. This tag is injected by the following config in application.yaml:
OTLP push to Grafana Cloud
RLaaS can push metrics to Grafana Cloud over OTLP every 30 seconds. Set the following environment variables before starting the service:| Variable | Description |
|---|---|
OTEL_EXPORTER_OTLP_METRICS | Full OTLP endpoint URL for your Grafana Cloud stack |
OTEL_AUTHORIZATION | Authorization header value (e.g., Basic <base64-encoded credentials>) |
application.yaml:
Grafana Cloud setup
Configure environment variables for Grafana Cloud
Configure environment variables for Grafana Cloud
Find your Grafana Cloud stack details
Log in to Grafana Cloud and navigate to your stack. Note your zone, instance ID, and generate an API key with
MetricsPublisher role.The
application label is automatically added to all metrics using the value of spring.application.name (rlaas-users-service). Use this label in Grafana to filter dashboards to this service.