pomerium/internal
Kenneth Jenkins a246466a87
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-11-30 16:14:24 -08:00
..
atomicutil
autocert autocert: use new OCSP error type (#4437) 2023-08-04 14:41:25 -07:00
chanutil
contextkeys
controlplane xds: add type url to log (#4696) 2023-11-01 16:50:59 -04:00
databroker authorize: build evaluators cache in parallel (#4722) 2023-11-09 11:49:34 -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 (#4722) 2023-11-09 11:49:34 -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
registry databroker: remove redis storage backend (#4699) 2023-11-02 11:53:25 -07:00
retry add retry package (#4458) 2023-11-15 09:21:56 -08:00
scheduler
sessions config: add cookie_same_site option (#4148) 2023-05-03 14:36:42 -06:00
sets
signal
syncutil
telemetry metrics: explicitly set Accept header (#4774) 2023-11-30 16:14:24 -08:00
tests/xdserr config: remove source, remove deadcode, fix linting issues (#4118) 2023-04-21 17:25:11 -06:00
testutil core/redis: remove redis (#4768) 2023-11-28 13:14:36 -07: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
zero zero/core: set drwx------ for cache dir (#4764) 2023-11-27 10:36:25 -05:00