https://flyte.org logo
#ask-the-community
Title
# ask-the-community
n

Nicholas Roberson

05/02/2023, 2:39 PM
Does anyone have any experience with
Copy code
flytekit.current_context().stats
I cannot find docs online about what the base stats are so that I can call
Copy code
taggable_stats = flytekit.current_context().stats
stat = taggable_stats.get_stats(param)
and start to extract some information to log on each task run
k

Ketan (kumare3)

05/02/2023, 2:57 PM
Ya this is actually legacy and works if you have statsd installed as a daemonset
Tbh it exists because at lyft we had this setup
n

Nicholas Roberson

05/02/2023, 3:02 PM
Ah I see, ill check on that but since its legacy I may just not include it, we can get most stats and whatnot from prometheus/datadog anyways, it was more of a nice to have.
74 Views