Include success or fail dedicated field in workflow telemetry #475
-
Hi! Just set up telemetry last week and did some testing during the weekend. My goal is to find a nice way to monitor CICD/NextMajor/NextMinor workflows for multiple repositories without clicking around in GitHub. I have 15 repositories to keep an eye on and it would be nice to create some kind of dashboard for this. Looking at the data in different telemetry signals I was not able to find a dedicated field indicating if the run was successful or not. I can find some workflows that fail with the following kql but that is not a good long-term solution since message contains a lot of other information. Would be nice if we could have a dedicated field to indicate if the workflow was successful or not.
Would this be possible, or does it already exist? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
I think the telemetry module in GitHub lacks some functionality and is probably a candidate for being refactored. |
Beta Was this translation helpful? Give feedback.
-
Since at least our NextMajor Runs only occur once a week, we set up a subscription for those in a dedicated Teams channel for now. It is not optimal, but at least we have all NextMajor runs in a single place. So on Monday morning you just scroll the list up to see if there is something red in it. |
Beta Was this translation helpful? Give feedback.
-
@aholstrup1 - do we have these abilities in telemetry today? |
Beta Was this translation helpful? Give feedback.
@CarlOhlsson We made some updates to our telemetry story in the last year. Which version of AL-Go are you running? AL-Go versions higher than v6.0 should be using the "new" telemetry which is described here: https://github.com/microsoft/AL-Go/blob/main/Scenarios/EnablingTelemetry.md
With this telemetry you can query for:
traces | where message contains "AL-Go workflow failed"
to get failing workflows. There's also aWorkflowConclusion
dimension you can filter on.