mirror of
https://github.com/grafana/grafana.git
synced 2025-02-09 23:16:16 -06:00
Loki: Lower log level when retrieving metadata (#87910)
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>
This commit is contained in:
parent
e2f062d16d
commit
953c8f838f
@ -359,7 +359,9 @@ func setXScopeOrgIDHeader(req *http.Request, ctx context.Context) *http.Request
|
||||
|
||||
md, ok := metadata.FromIncomingContext(ctx)
|
||||
if !ok {
|
||||
logger.Error("Error in retrieving metadata from context. Header not set")
|
||||
// Metadata are currently set and needed only locally for multi-tenancy, while on cloud
|
||||
// this is set by our stack
|
||||
logger.Debug("Metadata not present in context. Header not set")
|
||||
return req
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user