Defining metric multiple times #850
NeoCortex97
started this conversation in
General
Replies: 1 comment 2 replies
-
Typically you will not want to define the same metric multiple times, and should probably be using different metrics in different parts of your code base. As you say, these can then be merged in queries. If you do need a shared metric then a separate module is probably the best way to go. If you have a concrete example I am happy to give you guidance on it! |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I wanted to ask, if it is safe to define the same metrics multiple times, or should i make a separate module for global metrics and import them everywhere i want them to be used?
Or should I rather have specialized metrics for every place i want it to be used and merge them in queries?
Beta Was this translation helpful? Give feedback.
All reactions