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:
bergquist 2018-12-06 13:53:11 +01:00
parent 8bac55ca70
commit e230827c06

View File

@ -136,7 +136,8 @@ export default class LokiDatasource {
}
return {
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 => {