Skip to content

Commit dcd9da9

Browse files
committed
OBSDOCS-1801: Loki - Adjust Queries for both OTEL and ViaQ
1 parent 42fc898 commit dcd9da9

File tree

6 files changed

+15
-12
lines changed

6 files changed

+15
-12
lines changed

_topic_maps/_topic_map.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,14 @@ Topics:
9191
#- Name: Log visualization with Kibana
9292
# File: logging-kibana
9393
#---
94-
#Name: Logging alerts
95-
#Dir: logging_alerts
96-
#Topics:
97-
#- Name: Default logging alerts
98-
# File: default-logging-alerts
99-
#- Name: Custom logging alerts
100-
# File: custom-logging-alerts
94+
Name: Logging alerts
95+
Dir: logging_alerts
96+
Distros: openshift-logging
97+
Topics:
98+
- Name: Default logging alerts
99+
File: default-logging-alerts
100+
- Name: Custom logging alerts
101+
File: custom-logging-alerts
101102
#---
102103
#Name: Performance and reliability tuning
103104
#Dir: performance_reliability

logging_alerts/custom-logging-alerts.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ include::_attributes/common-attributes.adoc[]
66

77
toc::[]
88

9-
In logging 5.7 and later versions, users can configure the LokiStack deployment to produce customized alerts and recorded metrics. If you want to use customized link:https://grafana.com/docs/loki/latest/alert/[alerting and recording rules], you must enable the LokiStack ruler component.
9+
You can configure the LokiStack deployment to produce customized alerts and recorded metrics. If you want to use customized link:https://grafana.com/docs/loki/latest/alert/[alerting and recording rules], you must enable the LokiStack ruler component.
1010

1111
LokiStack log-based alerts and recorded metrics are triggered by providing link:https://grafana.com/docs/loki/latest/query/[LogQL] expressions to the ruler component. The {loki-op} manages a ruler that is optimized for the selected LokiStack size, which can be `1x.extra-small`, `1x.small`, or `1x.medium`.
1212

logging_alerts/default-logging-alerts.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@ Logging alerts are installed as part of the {clo} installation. Alerts depend on
1111
Default logging alerts are sent to the {ocp-product-title} monitoring stack Alertmanager in the `openshift-monitoring` namespace, unless you have disabled the local Alertmanager instance.
1212

1313
// TODO MONITORING REMOVE DEPENDENCY
14-
include::modules/monitoring-accessing-the-alerting-ui.adoc[leveloffset=+1]
14+
include::modules/monitoring-accessing-the-alerting-ui.adoc[leveloffset=+1,tag=ADM]
1515
include::modules/logging-collector-alerts.adoc[leveloffset=+1]
1616
include::modules/logging-vector-collector-alerts.adoc[leveloffset=+1]
17+
////
1718
include::modules/logging-fluentd-collector-alerts.adoc[leveloffset=+1]
1819
include::modules/cluster-logging-elasticsearch-rules.adoc[leveloffset=+1]
20+
////
1921

2022
[role="_additional-resources"]
2123
[id="additional-resources_default-logging-alerts"]

modules/configuring-logging-loki-ruler.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Module included in the following assemblies:
22
//
3-
// * observability/logging/logging_alerts/custom-logging-alerts.adoc
3+
// * logging/logging_alerts/custom-logging-alerts.adoc
44

55
:_mod-docs-content-type: PROCEDURE
66
[id="configuring-logging-loki-ruler_{context}"]

modules/logging-collector-alerts.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[id="logging-collector-alerts_{context}"]
77
= Logging collector alerts
88

9-
In logging 5.8 and later versions, the following alerts are generated by the {clo}. You can view these alerts in the {ocp-product-title} web console.
9+
The following alerts are generated by the {clo}. You can view these alerts in the {ocp-product-title} web console.
1010

1111
[cols="4", options="header"]
1212
|===

modules/logging-vector-collector-alerts.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[id="logging-vector-collector-alerts_{context}"]
77
= Vector collector alerts
88

9-
In logging 5.7 and later versions, the following alerts are generated by the Vector collector. You can view these alerts in the {ocp-product-title} web console.
9+
The following alerts are generated by the Vector collector. You can view these alerts in the {ocp-product-title} web console.
1010

1111
.Vector collector alerts
1212
[cols="2,2,2,1",options="header"]

0 commit comments

Comments
 (0)