Skip to content

Commit 6ec5f27

Browse files
committed
Docs: Resolve "Could not lex [as Python]" warnings
1 parent b206a0f commit 6ec5f27

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/opentelemetry.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ Alerting and notifications
125125

126126
Uptrace also allows you to monitor `OpenTelemetry metrics <https://uptrace.dev/opentelemetry/metrics.html>`_ using alerting rules. For example, the following monitor uses the group by node expression to create an alert whenever an individual Redis shard is down:
127127

128-
.. code-block:: python
128+
.. code-block:: yaml
129129
130130
monitors:
131131
- name: Redis shard is down
@@ -142,7 +142,7 @@ Uptrace also allows you to monitor `OpenTelemetry metrics <https://uptrace.dev/o
142142
143143
You can also create queries with more complex expressions. For example, the following rule creates an alert when the keyspace hit rate is lower than 75%:
144144

145-
.. code-block:: python
145+
.. code-block:: yaml
146146
147147
monitors:
148148
- name: Redis read hit rate < 75%

0 commit comments

Comments
 (0)