Alerting: Configurable externalLabels for Loki state history (#62404)

* Add config option for external labels

* Remove redundant nilcheck
This commit is contained in:
Alexander Weaver
2023-01-30 14:24:45 -06:00
committed by GitHub
parent c8e7e7ccf1
commit b4682fe3cb
3 changed files with 18 additions and 5 deletions

View File

@@ -20,6 +20,7 @@ type LokiConfig struct {
BasicAuthUser string
BasicAuthPassword string
TenantID string
ExternalLabels map[string]string
}
type httpLokiClient struct {