tailscale/tsweb/promvarz
Andrew Dunham 5836b3d8c1 tsweb/promvarz: add bool to omit Prometheus metrics
This is causing problems with certain servers that have a lot of open
FDs; the process collector that Prometheus provides generates a lot of
garbage when enumerating open FDs, which is why we have
metrics.CurrentFDs (which uses util/dirwalk).

Updates tailscale/corp#19900

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: I732f854e637c4d7a651b3c74cd8e363cb1092bcc
2024-05-13 17:24:22 -04:00
..
promvarz_test.go tsweb/promvarz: add bool to omit Prometheus metrics 2024-05-13 17:24:22 -04:00
promvarz.go tsweb/promvarz: add bool to omit Prometheus metrics 2024-05-13 17:24:22 -04:00