Use head_branch metric (#2549)
Co-authored-by: Yusuke Kuoka <[email protected]>
This commit is contained in:
@@ -76,7 +76,7 @@ func metricLabels(extras ...string) []string {
|
||||
}
|
||||
|
||||
var (
|
||||
commonLabels = []string{"runs_on", "job_name", "organization", "repository", "repository_full_name", "owner", "workflow_name"}
|
||||
commonLabels = []string{"runs_on", "job_name", "organization", "repository", "repository_full_name", "owner", "workflow_name", "head_branch"}
|
||||
githubWorkflowJobQueueDurationSeconds = prometheus.NewHistogramVec(
|
||||
prometheus.HistogramOpts{
|
||||
Name: "github_workflow_job_queue_duration_seconds",
|
||||
|
||||
Reference in New Issue
Block a user