From c9fd315f7d37744ad3cc11cb9814c8093f8993bf Mon Sep 17 00:00:00 2001
From: Varac <varac@varac.net>
Date: Tue, 7 Dec 2021 14:29:15 +0100
Subject: [PATCH] Fix loki query examples

---
 docs/conf.py     |  1 -
 docs/logging.rst | 10 +++++-----
 2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/docs/conf.py b/docs/conf.py
index 92fc45c5a..d57235e5a 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -69,6 +69,5 @@ master_doc = 'index'
 #   docs/usage.rst:105: WARNING: duplicate label wordpress, other instance in docs/testing.rst
 #
 # https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-suppress_warnings
-suppress_warnings = ['misc.highlighting_failure']
 autosectionlabel_prefix_document = True
 autosectionlabel_maxdepth = 5
diff --git a/docs/logging.rst b/docs/logging.rst
index db2957b33..3e2737d9a 100644
--- a/docs/logging.rst
+++ b/docs/logging.rst
@@ -67,22 +67,22 @@ doing this since LogQL always expects a stream label to get queried):
 
 .. code:: PromQL
 
-   '{foo!="bar"}'
+   '{app=~".+"}'
 
 Query all logs for a keyword:
 
 .. code:: PromQL
 
-   '{foo!="bar"} |= "error"'
+   '{app=~".+"} |= "error"'
 
 Query all k8s apps for errors using a regular expression:
 
 .. code::
 
-   '{job=~".+"} |~ `(error|fail|exception|fatal)`'
+   '{app=~".+"} |~ `(error|fail|exception|fatal)`'
 
-Weave Flux
-^^^^^^^^^^
+Flux
+^^^^
 
 `Flux`_ is responsible for installing applications. It uses four
 controllers:
-- 
GitLab