mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
more detailed error message for loki
if grafana tries to access loki without promtail running it will return an error.
This commit is contained in:
parent
8bac55ca70
commit
e230827c06
@ -136,7 +136,8 @@ export default class LokiDatasource {
|
|||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
status: 'error',
|
status: 'error',
|
||||||
message: 'Data source connected, but no labels received. Verify that Loki is configured properly.',
|
message:
|
||||||
|
'Data source connected, but no labels received. Verify that Loki and Promtail is configured properly.',
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
.catch(err => {
|
.catch(err => {
|
||||||
|
Loading…
Reference in New Issue
Block a user