feat: Add pipeline run outcome metrics#76
feat: Add pipeline run outcome metrics#76morgan-wowk wants to merge 1 commit intographite-base/76from
Conversation
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
2a35556 to
7e30835
Compare
a26f61f to
91a8a84
Compare
7e30835 to
71b35de
Compare
91a8a84 to
4153fe9
Compare
Tracks pipeline lifecycle from creation to completion with labels for status and user. Metrics added: - pipeline_runs_total: Counter tracking pipeline runs by status (running/succeeded/failed/cancelled) and created_by - pipeline_run_duration_seconds: Histogram tracking total pipeline duration by final status These metrics provide visibility into pipeline success rates, completion times, and usage patterns per user. Durations measure total lifecycle time from creation to terminal state (including queue and execution time).
4153fe9 to
2b22982
Compare
71b35de to
4b0797e
Compare
|
I'm not fully sure we should be doing this on the app side. I'm not sure about reporting pipeline run times like this. Tracking execution durations might be more OK. I'm not sure the backend should be aggregating run's execution status statistics into a single status. This single status will likely be not useful for many of the users. I think it's better when the users can get the full status stats and UI can provide derivatives. |

Pipeline Metrics Instrumentation
Tracks pipeline lifecycle from creation to completion with labels for status and user.
Metrics added:
These metrics provide visibility into pipeline success rates, completion times, and usage patterns per user.
Durations measure total lifecycle time from creation to terminal state (including queue and execution time).