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