Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

How to add metrics to IHttpClientFactory? #18

Open
salarzobir opened this issue Dec 29, 2022 · 2 comments
Open

How to add metrics to IHttpClientFactory? #18

salarzobir opened this issue Dec 29, 2022 · 2 comments
Assignees

Comments

@salarzobir
Copy link

Is their a way to add metrics for IHttpClientFactory like https://github.com/prometheus-net/prometheus-net#ihttpclientfactory-metrics

@phnx47
Copy link
Member

phnx47 commented Dec 29, 2022

@salarzobir We don't have this right now, but we can create extension. PR is welcome :)

@phnx47 phnx47 self-assigned this Dec 29, 2022
@phnx47
Copy link
Member

phnx47 commented Dec 29, 2022

I will investigate implementation in prometheus-net, will be a new package something like Prometheus.Client.HttpClient with Microsoft.Extensions.Http dependency

@phnx47 phnx47 transferred this issue from prom-client-net/prom-client Dec 30, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Development

No branches or pull requests

3 participants