ray-project / deltacat

A portable Pythonic Data Catalog API powered by Ray that brings exabyte-level scalability and fast, ACID-compliant, change-data-capture to your big data workloads.
Apache License 2.0
166 stars 23 forks source link

Adding metric prefix to get the right method name #323

Closed raghumdani closed 5 months ago

raghumdani commented 5 months ago

The @metrics annotation uses a method name on which it is annotated. In this case, it annotated over a decorator and hence categorize_errors will be used to emit metrics. This PR hardcodes prefix so that we don't have to change dashboards when additional annotations are added.

Zyiqin-Miranda commented 5 months ago

LGTM! Thanks for the fix