sourcegraph/internal/httpcli
Keegan Carruthers-Smith 967b4a1917
httpcli: remove high cardinality prometheus label internal transport (#48417)
On sourcegraph.com the label with the highest memory usage is category
(562346 bytes vs the 2nd which is 179764). We tracked it down to the
metric src_internal_request_duration_seconds_bucket. For example we
register 3 metrics for every git repo we clone internally thanks to
using the path.

There is no reasonable alternative for us to use, nor is anyone relying
on this metric and category. So we are removing it for now by just
recording unknown.

Test Plan: go test

Co-authored-by: Stefan Hengl <stefan@sourcegraph.com>
2023-03-01 12:12:07 +02:00
..
BUILD.bazel bazel: introduce build files for Go (#46770) 2023-01-23 14:00:01 +01:00
client_test.go linters: re-enable nolintlint and staticcheck SA1019 (#45847) 2022-12-20 14:24:44 +00:00
client.go httpcli: remove high cardinality prometheus label internal transport (#48417) 2023-03-01 12:12:07 +02:00
CODENOTIFY all: remove tsenart from CODENOTIFY (#41035) 2022-08-30 09:35:14 +02:00
doc.go Rename pkg to internal (#5898) 2019-10-07 15:36:41 -07:00
external.go Add redactOutboundRequestHeaders setting (#45156) 2022-12-06 11:54:10 +01:00
redis_logger_middleware_test.go Outbound requests: Extract logging into goroutine to prevent blocking (#47544) 2023-02-16 13:56:05 +00:00
redis_logger_middleware.go Outbound requests: Extract logging into goroutine to prevent blocking (#47544) 2023-02-16 13:56:05 +00:00
transport.go httpcli: introduce mutable, wrapped transports (#39775) 2022-08-02 13:12:10 +00:00