mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-19 09:38:03 +02:00
zero/healthchecks: add reporter
This commit is contained in:
parent
228242e43a
commit
111f794969
17 changed files with 414 additions and 200 deletions
|
@ -43,3 +43,10 @@ func getClusterAPIEndpoint() string {
|
|||
}
|
||||
return "https://console.pomerium.app/cluster/v1"
|
||||
}
|
||||
|
||||
func getOTELAPIEndpoint() string {
|
||||
if endpoint := os.Getenv("POMERIUM_OTEL_ENDPOINT"); endpoint != "" {
|
||||
return endpoint
|
||||
}
|
||||
return "https://otel.pomerium.app"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue