Loki client: add params for metrics and traces
This commit is contained in:
4 files changed
+28
-20
No files matched your search
@@ -67,8 +67,9 @@ func NewLokiHistorianStore(cfg setting.UnifiedAlertingStateHistorySettings, db d
|
||||
return nil
|
||||
}
|
||||
|
||||
metrics := ngmetrics.NewHistorianMetrics(reg, subsystem)
|
||||
return &LokiHistorianStore{
|
||||
client: lokiclient.NewLokiClient(lokiCfg, lokiclient.NewRequester(), ngmetrics.NewHistorianMetrics(reg, subsystem), log, tracer),
|
||||
client: lokiclient.NewLokiClient(lokiCfg, lokiclient.NewRequester(), metrics.BytesWritten, metrics.WriteDuration, log, tracer, historian.LokiClientSpanName),
|
||||
db: db,
|
||||
log: log,
|
||||
ruleStore: ruleStore,
|
||||
|
||||
Reference in new issue
Block a user