Skip to content

Commit e12768b

Browse files
committed
Add __server_name__ label
Signed-off-by: Levi Harrison <[email protected]>
1 parent 3996b2e commit e12768b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: model/labels.go

+4
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ const (
5353
// timeout used to scrape a target.
5454
ScrapeTimeoutLabel = "__scrape_timeout__"
5555

56+
// ServerNameLabel is the name of the label that holds the TLS server name
57+
// used to scrape the target.
58+
ServerNameLabel = "__server_name__"
59+
5660
// ReservedLabelPrefix is a prefix which is not legal in user-supplied
5761
// label names.
5862
ReservedLabelPrefix = "__"

0 commit comments

Comments
 (0)