Skip to content

Commit

Permalink
Add __server_name__ label
Browse files Browse the repository at this point in the history
Signed-off-by: Levi Harrison <git@leviharrison.dev>
  • Loading branch information
LeviHarrison committed Sep 12, 2021
1 parent c2dc1c4 commit d9fc5f4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions model/labels.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ const (
// timeout used to scrape a target.
ScrapeTimeoutLabel = "__scrape_timeout__"

// ServerNameLabel is the name of the label that holds the TLS server name
// used to scrape the target.
ServerNameLabel = "__server_name__"

// ReservedLabelPrefix is a prefix which is not legal in user-supplied
// label names.
ReservedLabelPrefix = "__"
Expand Down

0 comments on commit d9fc5f4

Please sign in to comment.