mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Loki: Lower log level when retrieving metadata (#87910)
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>
This commit is contained in:
@@ -359,7 +359,9 @@ func setXScopeOrgIDHeader(req *http.Request, ctx context.Context) *http.Request
|
|||||||
|
|
||||||
md, ok := metadata.FromIncomingContext(ctx)
|
md, ok := metadata.FromIncomingContext(ctx)
|
||||||
if !ok {
|
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
|
return req
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user