Proxy envoy metrics through control plane prometheus endpoint (#709)

* Proxy metrics requests to envoy control plane
This commit is contained in:
Travis Groth 2020-05-18 09:42:41 -04:00
parent 5ea1f719a7
commit d514ec2ecf
3 changed files with 97 additions and 8 deletions

View file

@ -23,6 +23,8 @@ import (
const (
workingDirectoryName = ".pomerium-envoy"
configFileName = "envoy-config.yaml"
// EnvoyAdminURL indicates where the envoy control plane is listening
EnvoyAdminURL = "http://localhost:9901"
)
// A Server is a pomerium proxy implemented via envoy.