Commit Graph

8 Commits

Author SHA1 Message Date
9a50cc95b7 Merge pull request #6224 from Roasbeef/prometheus-latency-histograms
monitoring+cfg: add new option to export gRPC perf metrics
2022-02-16 16:38:51 -08:00
dfdc2bff8b multi: run gosimports 2022-02-10 11:02:01 +01:00
10c5d6c0bd monitoring+cfg: add new option to export gRPC perf metrics
In this commit, we expose a new monitoring option to allow users to
export gRPC performance metrics. These metrics can be used to see how
long certain calls are taking, the total amount of time spent handling
calls, broken down by service and also call.

This option consumes additional memory and disk space for the Prometheus
server, which is why we're opting to make it an optional flag.
2022-02-01 15:55:26 -08:00
0b4e03f5fc multi: add golang 1.17 compatible build tags
With go 1.17 a change to the build flags was implemented:
https://go.googlesource.com/proposal/+/master/design/draft-gobuild.md

The formatter now automatically adds the forward-compatible build tag
format and the linter checks for them, so we need to include them in our
code.
2021-09-29 17:31:37 -07:00
c3b20e34a7 monitoring: run go fmt 2020-12-18 09:04:44 +01:00
f39387db3b monitoring: removing unused logClosure 2020-04-24 19:15:08 +02:00
3d7de2ad39 multi: remove dead code 2019-09-10 17:21:59 +02:00
1f6485e7e9 monitoring: add monitoring package for Prometheus metric exports. 2019-06-11 11:26:05 -07:00