mirror of https://github.com/grafana/grafana.git
Prometheus: Suggestions - log parse errors and continue (#94143)
* Prometheus: Suggestions - log parse errors and continue
This commit is contained in:
parent
e80ef522bb
commit
a1556fded2
|
|
@ -161,7 +161,8 @@ func (r *Resource) GetSuggestions(ctx context.Context, req *backend.CallResource
|
|||
)
|
||||
s, err := getSelectors(interpolatedQuery)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("error parsing selectors: %v", err)
|
||||
r.log.Warn("error parsing selectors", "error", err, "query", interpolatedQuery)
|
||||
continue
|
||||
}
|
||||
selectorList = append(selectorList, s...)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue