Skip to content

Commit

Permalink
fix(targets): allow to filter by unknown health status
Browse files Browse the repository at this point in the history
  • Loading branch information
zbindenren committed Apr 12, 2021
1 parent 4e45916 commit d43ba45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cmd/target.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ type targetFilter struct {
Name string `short:"N" help:"Filter targets by job name (regular expression)."`
Server string `short:"S" help:"Filter targets by promehteus server name (regular expression)."`
ScrapeURL string `short:"u" help:"Filter targets by scrape url (regular expression)."`
Health v1.HealthStatus `short:"H" help:"Filter targets by health (up|down)" enum:"up,down,"`
Health v1.HealthStatus `short:"H" help:"Filter targets by health (up|down)" enum:"up,down,unknown,"`
Selector string `short:"s" help:"Filter services by (k8s style) selector."`
}

Expand Down

0 comments on commit d43ba45

Please sign in to comment.