James Zhang

11/25/2022, 1:43 PM
hey guys, I just read that in Prefect v1 there’s Prometheus integration for Tasks, is the similar integration coming/available in Prefect v2?

Anna Geller

11/25/2022, 8:13 PM
not yet, but you could use the same code from the v1 collection and put it into your flow or task in v2 (without the run method) - it's essentially Python - you could make it to a Block to store config data such as pushgateway_url you could also contribute this as a collection if you get something working 🙌 might be a good way to become a Prefect contributor

Dylan McReynolds

01/04/2023, 9:14 PM
Just found this thread in a search. Wonder if this has been looked at?

Anna Geller

01/04/2023, 9:46 PM
nobody contributed Prometheus collection yet

Jeff Hale

01/05/2023, 2:48 PM
Hi Dylan and James. I noted internally that there is interest in this integration.
🙌 1
:gratitude-thank-you: 1