pomerium/internal/telemetry
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
..
metrics metrics: explicitly set Accept header (#4774) 2023-11-30 16:14:24 -08:00
requestid authorize: add request id to context (#3497) 2022-07-26 14:34:48 -06:00
trace telemetry: improve zipkin error logs (#2710) 2021-10-26 14:43:43 -06:00
doc.go telemetry: Refactor GRPC Server Handler (#756) 2020-05-22 13:36:55 -04:00
grpc.go internal/telemetry: fix grpc server stats (#2811) 2021-12-08 16:13:08 -05:00
grpc_test.go config: remove source, remove deadcode, fix linting issues (#4118) 2023-04-21 17:25:11 -06:00
http.go Fix IdP client metrics (#2810) 2021-12-08 13:22:53 -05:00
util.go telemetry: service label updates (#802) 2020-05-29 15:16:22 -04:00
util_test.go dev: update linter (#1728) 2020-12-30 09:02:57 -08:00