Commit e230827c by bergquist

more detailed error message for loki

if grafana tries to access loki without promtail running
it will return an error.
parent 8bac55ca
...@@ -136,7 +136,8 @@ export default class LokiDatasource { ...@@ -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 => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment