Whats the name of the internal environment variabl...
# ask-metaflow
w
Whats the name of the internal environment variable (mentioned in today's OH) to automatically publish metrics?
d
the one to add decorators to your flow?
Valay mentioned something about decospec options (iirc) but if you just want to add a decorator to your step, you can append it to
f.decorators
. That’s what the step decorators do https://github.com/Netflix/metaflow/blob/master/metaflow/decorators.py#L423.
l
The Env var doesn't publish metrics. It's just adds additional decorators to all steps.
w
Gotcha. Is that code you showed to collect the metrics going to be made available as a decorator then?
l
it won't be a part of the core but would be opensource; This can change in the future.
👍 1