houston을 prometheus target 파일로 출력

This commit is contained in:
2024-02-15 17:04:28 +09:00
parent 9d4718592d
commit eb86c0a073
4 changed files with 161 additions and 71 deletions

View File

@ -216,9 +216,11 @@ func (hc *houstonClient) makeOperationQueryRequest() *protos.OperationQueryReque
hn, _ := os.Hostname()
return &protos.OperationQueryRequest{
Hostname: hn,
Procs: procs,
Deploys: deploys,
Hostname: hn,
PublicIp: os.Getenv("PUBIP"),
PrivateIp: os.Getenv("PRVIP"),
Procs: procs,
Deploys: deploys,
}
}