Просмотр исходного кода

more detailed error message for loki

if grafana tries to access loki without promtail running
it will return an error.
bergquist 7 лет назад
Родитель
Сommit
e230827c06
1 измененных файлов с 2 добавлено и 1 удалено
  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 => {