youngyjd opened a new pull request, #8904: URL: https://github.com/apache/gravitino/pull/8904
### What changes were proposed in this pull request? 1. Added Lance REST server metrics constant (MetricsSource.java) 2. Added MapperConfig rule to transform Dropwizard metrics to Prometheus format 3. Integrated metrics collection in Lance REST service (LanceRESTService.java) 4. Enables automatic exposure of metrics at /metrics and /prometheus/metrics endpoints ### Why are the changes needed? Observability is needed for the new lance rest service. ### Does this PR introduce _any_ user-facing change? Yes - New metrics endpoints Standalone mode: - http://localhost:9101/metrics (Dropwizard JSON format) - http://localhost:9101/prometheus/metrics (Prometheus text format) Auxiliary mode: - Metrics exposed on all service ports (8090, 9001, 9101) showing unified metrics from all services ### How was this patch tested? Unit tests -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
