https://prefect.io logo
Title
l

Leon Kozlowski

08/01/2022, 6:37 PM
Hi all, are there any plans relating to a prometheus exporter for Kubernetes deployed agents - thought I would check before I go about building some form of a custom exporter
n

Nate

08/01/2022, 7:45 PM
there has been some work on a prometheus exporter that currently lives here, I believe its still WIP but may be helpful to reference
šŸ™Œ 1
l

Leon Kozlowski

08/02/2022, 2:26 PM
Awesome! Thanks @Nate
n

Nate

08/02/2022, 2:43 PM
sure thing! šŸ™‚
l

Leon Kozlowski

08/02/2022, 2:44 PM
Will the GraphQL API be available in 2.0?
n

Nate

08/02/2022, 3:00 PM
@Leon Kozlowski we have switched to a REST API for Prefect 2.0
l

Leon Kozlowski

08/02/2022, 3:07 PM
Got it, so the graphql_query.py would have to be replaced if I was using 2.0
n

Nate

08/02/2022, 3:21 PM
@Leon Kozlowski yep unfortunately I imagine there'd be quite a few changes you'd have to make given the conceptual changes in the 2.0 cloud offering here are some resources that may be helpful if you're looking to refactor this for 2.0 ā€¢ https://www.prefect.io/guide/blog/upgrade-to-prefect-2 ā€¢ https://docs.prefect.io/ui/cloud/ ā€¢ https://docs.prefect.io/concepts/overview/
šŸ™Œ 1
šŸ™ 1
l

Lucien Fregosi

08/11/2022, 10:11 AM
@Leon Kozlowski did you manage to export metrics in prometheus with 2.0 prefect ?
l

Leon Kozlowski

08/11/2022, 2:18 PM
Hi @Lucien Fregosi not yet, but I will probably be looking into this closer to the end of August
l

Lucien Fregosi

08/11/2022, 2:19 PM
ok can look on my side too