artprima / prometheus-metrics-bundle

Symfony 5/6 Prometheus Metrics Bundle
MIT License
127 stars 29 forks source link

Question: Can I push metrics to Pushgateway using this library? #89

Closed smamykin closed 1 year ago

smamykin commented 1 year ago

Hello.

I have batch jobs where I would like to collect metrics too. Having read recommendations in the doc I want to push some metrics to prometheus.

As I can see, there is no such feature in this library. Am I wrong?

Could you advise some other libraries that have the feature, please?

I would be appreciated for any answer. Thank you.

Johnmeurt commented 1 year ago

Hello,

this bundle only provides the features from the lib promphp/prometheus_client_php. You should check there if the push gateway is available. I am not sure but I think they moved the pushgateway part of this lib in an other one. See their README for more information.

denisvmedia commented 1 year ago

Thank you @Johnmeurt, it's true.