pomerium/internal
Kenneth Jenkins 61757f5e65 metrics: explicitly set Accept header (#4774)
If a request is made to the Pomerium metrics endpoint with an Accept
header requesting the Prometheus protobuf exposition format, some
metrics will be missing from the response.

These missing metrics are obtained by replaying the incoming request to 
an OpenCensus metrics exporter. This exporter honors the request for the
protobuf format, however Pomerium expects this response to be in the 
text format.

We can avoid this mismatch by explicitly requesting the text format from
the OpenCensus exporter, regardless of the incoming request's Accept
header.

(Note: the Pomerium metrics endpoint always responds with text format 
metrics, even if the protobuf format is requested.)
2023-12-01 00:14:45 +00:00
..
atomicutil atomicutil: use atomicutil.Value wherever possible (#3517) 2022-07-28 15:38:38 -06:00
autocert autocert: use new OCSP error type (#4437) 2023-08-04 14:41:25 -07:00
chanutil fileutil: update watcher to use fsnotify and polling (#3663) 2022-10-19 09:13:08 -06:00
contextkeys
controlplane xds: add type url to log (#4696) 2023-11-01 16:50:59 -04:00
databroker authorize: build evaluators cache in parallel (#4731) 2023-11-09 11:55:56 -05:00
deterministicecdsa config: remove source, remove deadcode, fix linting issues (#4118) 2023-04-21 17:25:11 -06:00
encoding config: remove source, remove deadcode, fix linting issues (#4118) 2023-04-21 17:25:11 -06:00
errgrouputil authorize: build evaluators cache in parallel (#4731) 2023-11-09 11:55:56 -05:00
events core/events: fix flaky test (#4700) 2023-11-02 11:28:28 -06:00
fileutil core/config: refactor file watcher (#4702) 2023-11-03 15:53:20 -06:00
handlers rework session updates to use new patch method (#4705) 2023-11-06 09:43:07 -08:00
hashutil
httputil proxy: add support for logging http request headers (#4388) 2023-07-25 09:46:42 -06:00
identity rework session updates to use new patch method (#4705) 2023-11-06 09:43:07 -08:00
log logs: add ip address to access logs (#4391) 2023-08-09 07:09:00 -06:00
middleware controlplane: remove gorilla handlers dependency (#3813) 2022-12-15 14:41:29 -07:00
redisutil chore(deps): bump github.com/golangci/golangci-lint from 1.48.0 to 1.50.0 (#3667) 2022-10-19 09:36:59 -06:00
registry databroker: remove redis storage backend (#4699) 2023-11-02 11:53:25 -07:00
scheduler
sessions config: add cookie_same_site option (#4148) 2023-05-03 14:36:42 -06:00
sets Fix typos (#3575) 2022-08-30 15:51:40 -07:00
signal
syncutil config: generate cookie secret if not set in all-in-one mode (#3742) 2022-11-11 14:14:30 -07:00
telemetry metrics: explicitly set Accept header (#4774) 2023-12-01 00:14:45 +00:00
tests/xdserr config: remove source, remove deadcode, fix linting issues (#4118) 2023-04-21 17:25:11 -06:00
testutil core/grpc: fix deprecated protobuf package, remove tools (#4643) 2023-10-26 11:38:54 -06:00
tripper config: remove source, remove deadcode, fix linting issues (#4118) 2023-04-21 17:25:11 -06:00
urlutil stub out HPKE public key fetch for self-hosted authenticate (#4360) 2023-07-13 10:04:34 -07:00
version