Skip to content

Commit

Permalink
Add entrypoint label to workflow default labels (argoproj#1550)
Browse files Browse the repository at this point in the history
  • Loading branch information
unblee authored and sarabala1979 committed Sep 4, 2019
1 parent 9685d7b commit 5bba844
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions workflow/metrics/collector.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ import (
)

var (
descWorkflowDefaultLabels = []string{"namespace", "name"}
descWorkflowDefaultLabels = []string{"namespace", "name", "entrypoint"}

descWorkflowInfo = prometheus.NewDesc(
"argo_workflow_info",
"Information about workflow.",
append(descWorkflowDefaultLabels, "entrypoint", "service_account_name", "templates"),
append(descWorkflowDefaultLabels, "service_account_name", "templates"),
nil,
)
descWorkflowStartedAt = prometheus.NewDesc(
Expand Down

0 comments on commit 5bba844

Please sign in to comment.