Merge pull request #6224 from Roasbeef/prometheus-latency-histograms
monitoring+cfg: add new option to export gRPC perf metrics
This commit is contained in:
4 files changed
+26
No files matched your search
@@ -13,6 +13,12 @@ type Prometheus struct {
|
||||
// Enable indicates whether to export lnd gRPC performance metrics to
|
||||
// Prometheus. Default is false.
|
||||
Enable bool `long:"enable" description:"enable Prometheus exporting of lnd gRPC performance metrics."`
|
||||
|
||||
// PerfHistograms indicates if the additional histogram information for
|
||||
// latency, and handling time of gRPC calls should be enabled. This
|
||||
// generates additional data, and consume more memory for the
|
||||
// Prometheus server.
|
||||
PerfHistograms bool `long:"perfhistograms" description:"enable additional histogram to track gRPC call processing performance (latency, etc)"`
|
||||
}
|
||||
|
||||
// DefaultPrometheus is the default configuration for the Prometheus metrics
|
||||
|
||||
Reference in new issue
Block a user