-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add conclusion label to generated metrics (#165)
* feat: add conclusion label to generated metrics * push to GAR * Add aborted job status (#166) * make generate * Remove parentheses * Add more job conclusions * add basic logging for debugging * add run_id, id, name & workflow_name to log * rename metric * Fix tests * Revert "push to GAR" This reverts commit 1f12b1a. --------- Co-authored-by: dsotirakis <[email protected]>
- Loading branch information
1 parent
f796444
commit 4c33125
Showing
9 changed files
with
154 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
receiver/githubactionsreceiver/internal/metadata/generated_config.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
receiver/githubactionsreceiver/internal/metadata/generated_config_test.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
85 changes: 70 additions & 15 deletions
85
receiver/githubactionsreceiver/internal/metadata/generated_metrics.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
11 changes: 7 additions & 4 deletions
11
receiver/githubactionsreceiver/internal/metadata/generated_metrics_test.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
receiver/githubactionsreceiver/internal/metadata/testdata/config.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
default: | ||
all_set: | ||
metrics: | ||
workflow_jobs_total: | ||
workflow.jobs.count: | ||
enabled: true | ||
none_set: | ||
metrics: | ||
workflow_jobs_total: | ||
workflow.jobs.count: | ||
enabled: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.