Browse Source

more detailed error message for loki

if grafana tries to access loki without promtail running
it will return an error.
bergquist 7 years ago
parent
commit
e230827c06
1 changed files with 2 additions and 1 deletions
  1. 2 1
      public/app/plugins/datasource/loki/datasource.ts

+ 2 - 1
public/app/plugins/datasource/loki/datasource.ts

@@ -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 => {