fierce-farmer-40956
05/02/2025, 3:53 PMfierce-farmer-40956
05/02/2025, 3:55 PMUser Stats With Flyte
The workflow parameters object that the SDK injects into various tasks has awhen using that handler, where would the metrics be found? collected by propeller? or need to be scraped from the nodes?handle that users should call to emit stats of their workflows not captured by the default metrics. The usual caveats around cardinality apply, of course.statsd
average-finland-92144
05/02/2025, 8:10 PMfierce-farmer-40956
05/02/2025, 9:08 PMworried-airplane-87065
05/06/2025, 4:28 PMkubernetes_io:container_cpu_request_cores{project_id="$project_id", pod_name="$pod_name"}
kubernetes_io:container_cpu_request_utilization{project_id="$project_id", pod_name="$pod_name"}
kubernetes_io:container_memory_request_bytes{project_id="$project_id", pod_name="$pod_name"}
sum(kubernetes_io:container_memory_used_bytes{project_id="$project_id", pod_name="$pod_name"})
https://www.union.ai/docs/flyte/deployment/flyte-configuration/configuring-logging-links-in-the-ui/
• you can then use this to create a link to the Grafana dash in the FlyteConsoleaverage-finland-92144
05/06/2025, 7:01 PMfierce-farmer-40956
05/07/2025, 2:22 PMfierce-farmer-40956
05/07/2025, 2:25 PMUser Stats With Flyte
The workflow parameters object that the SDK injects into various tasks has ahandle that users should call to emit stats of their workflows not captured by the default metrics. The usual caveats around cardinality apply, of course.statsd
Users are encouraged to avoid creating their own stats handlers. If not done correctly, these can pollute the general namespace and accidentally interfere with the production stats of live services, causing pages and wreaking havoc. If you’re using any libraries that emit stats, it’s best to turn them off if possible.
worried-airplane-87065
05/07/2025, 5:00 PMfierce-farmer-40956
05/07/2025, 5:06 PM