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 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 xds: only tag contexts used for UpdateRecords (#2269) 2021-06-04 14:01:25 -04:00
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 dev: update linter (#1728) 2020-12-30 09:02:57 -08:00
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 feature/databroker: user data and session refactor project (#926) 2020-06-19 07:52:44 -06:00
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 log context (#2107) 2021-04-22 10:58:13 -04:00
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-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 dev: update linter (#1728) 2020-12-30 09:02:57 -08:00
zero zero/core: set drwx------ for cache dir (#4764) 2023-11-27 10:36:25 -05:00