flaneur2020 opened a new pull request, #3134: URL: https://github.com/apache/incubator-opendal/pull/3134
I'm currently working on switching to prometheus from metrics-rs in databend at https://github.com/datafuselabs/databend/pull/12787 , but unfortunately the PrometheusLayer in opendal uses the `tikv/prometheus-rs` crate, but databend uses `prometheus-client` from the prometheus official. This PR addes a feature option `use-prometheus-client` to allow switching to `prometheus-client` with the PrometheusLayer. When `use-prometheus-client` is enabled, we can pass a `prometheus_client::registry::Registry` to a `PrometheusLayer`. I believe the official prometheus may have longer term of support, maybe we can have a schedule to migrate to it while deprecate the older library's support? -- 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]
