Skip to content
Snippets Groups Projects
Unverified Commit c9fd315f authored by Varac's avatar Varac
Browse files

Fix loki query examples

parent b350e8b7
No related branches found
No related tags found
No related merge requests found
......@@ -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
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment