Explorar o código

more detailed error message for loki

if grafana tries to access loki without promtail running
it will return an error.
bergquist %!s(int64=7) %!d(string=hai) anos
pai
achega
e230827c06
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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 => {