Skip to content

Commit 15049b0

Browse files
committed
config: add sni parameter
1 parent 15884c2 commit 15049b0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

collector/config.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ type ApplicationInstrumentation struct {
2020
Type model.ApplicationType `json:"type"`
2121
Host string `json:"host"`
2222
Port string `json:"port"`
23+
Sni string `json:"sni"`
2324
Credentials model.Credentials `json:"credentials"`
2425
Params map[string]string `json:"params"`
2526
Instance string `json:"instance"`
@@ -131,6 +132,7 @@ func (c *Collector) Config(w http.ResponseWriter, r *http.Request) {
131132
i := ApplicationInstrumentation{
132133
Type: instrumentation.Type,
133134
Host: ip.String(),
135+
Sni: instance.NodeName(),
134136
Port: instrumentation.Port,
135137
Credentials: instrumentation.Credentials,
136138
Params: instrumentation.Params,

0 commit comments

Comments
 (0)