Skip to content

Commit 7bca3e6

Browse files
committed
OBSDOCS-1296 Logging UI plugin
1 parent ca44410 commit 7bca3e6

File tree

6 files changed

+88
-8
lines changed

6 files changed

+88
-8
lines changed

_topic_maps/_topic_map.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3074,6 +3074,8 @@ Topics:
30743074
File: distributed-tracing-ui-plugin
30753075
- Name: Troubleshooting UI plugin
30763076
File: troubleshooting-ui-plugin
3077+
- Name: Logging UI plugin
3078+
File: logging-ui-plugin
30773079
---
30783080
Name: Scalability and performance
30793081
Dir: scalability_and_performance
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
// Module included in the following assemblies:
2+
3+
// * observability/cluster_observability_operator/ui_plugins/logging-ui-plugin.adoc
4+
5+
:_mod-docs-content-type: PROCEDURE
6+
[id="coo-logging-ui-plugin-install_{context}"]
7+
= Installing the {coo-full} logging UI plugin
8+
9+
.Prerequisites
10+
* You have access to the cluster as a user with the `cluster-admin` role.
11+
* You have logged in to the {product-title} web console.
12+
* You have installed the {coo-full}.
13+
* You have a `LokiStack` instance in you cluster.
14+
15+
16+
.Procedure
17+
. In the {product-title} web console, click *Operators* -> *Installed Operators* and select {coo-full}.
18+
. Choose the *UI Plugin* tab (at the far right of the tab list) and click *Create UIPlugin*.
19+
. Select *YAML view*, enter the following content, and then click *Create*:
20+
+
21+
[source,yaml]
22+
----
23+
apiVersion: observability.openshift.io/v1alpha1
24+
kind: UIPlugin
25+
metadata:
26+
name: logging
27+
spec:
28+
type: Logging
29+
logging:
30+
lokiStack:
31+
name: logging-loki
32+
logsLimit: 50
33+
timeout: 30s
34+
----

observability/cluster_observability_operator/cluster-observability-operator-release-notes.adoc

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,14 @@ The following advisory is available for {coo-full} 0.4.0:
4747
* There is more visibility into Korrel8r queries, with the option of selecting the depth.
4848
* Users of {product-title} version 4.17+ can access the troubleshooting UI panel from the Application Launcher {launch}. Alternatively, on versions 4.16+, you can access it in the web console by clicking on **Observe** -> **Alerting**.
4949

50-
//
51-
// For more information, see xref :../../observability/cluster_observability_operator/ui_plugins/troubleshooting-ui-plugin.adoc#troubleshooting-ui-plugin[troubleshooting UI plugin]
50+
For more information, see xref:../../observability/cluster_observability_operator/ui_plugins/troubleshooting-ui-plugin.adoc#troubleshooting-ui-plugin[troubleshooting UI plugin].
5251

5352
// COO-263
5453
==== Distributed tracing UI plugin
5554

5655
* The distributed tracing UI plugin has been enhanced, with a Gantt chart now available for exploring traces.
57-
//
58-
// For more information, see xref :../../observability/cluster_observability_operator/ui_plugins/distributed-tracing-ui-plugin.adoc#distributed-tracing-ui-plugin[distributed tracing UI plugin]
56+
57+
For more information, see xref:../../observability/cluster_observability_operator/ui_plugins/distributed-tracing-ui-plugin.adoc#distributed-tracing-ui-plugin[distributed tracing UI plugin].
5958

6059
[id="cluster-observability-operator-0-4-0-bug-fixes_{context}"]
6160
=== Bug fixes
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
:_mod-docs-content-type: ASSEMBLY
2+
[id="logging-ui-plugin"]
3+
= Logging UI plugin
4+
include::_attributes/common-attributes.adoc[]
5+
:context: logging-ui-plugin
6+
7+
toc::[]
8+
9+
:FeatureName: The {coo-full}
10+
include::snippets/technology-preview.adoc[leveloffset=+2]
11+
12+
13+
The logging UI plugin surfaces logging data in the {product-title} web console on the *Observe* -> *Logs* page.
14+
You can specify filters, queries, time ranges and refresh rates, with the results displayed as a list of collapsed logs, which can then be expanded to show more detailed information for each log.
15+
16+
When you have also deployed the Troubleshooting UI plugin on {product-title} version 4.16+, it connects to the Korrel8r service and adds direct links from the Administration perspective, from the **Observe** -> **Logs** page, to the **Observe** -> **Metrics** page with a correlated PromQL query. It also adds a **See Related Logs** link from the Administration perspective alerting detail page, at **Observe** -> **Alerting**, to the **Observe** -> **Logs** page with a correlated filter set selected.
17+
18+
The features of the plugin are categorized as:
19+
20+
dev-console:: Adds the logging view to the Developer perspective.
21+
alerts:: Merges the web console alerts with log-based alerts defined in the Loki ruler. Adds a log-based metrics chart in the alert detail view.
22+
dev-alerts:: Merges the web console alerts with log-based alerts defined in the Loki ruler. Adds a log-based metrics chart in the alert detail view for the Developer perspective.
23+
24+
25+
For {coo-first} versions, the support for these features in {product-title} versions is shown in the following table:
26+
27+
[cols="1,1,3", options="header"]
28+
|===
29+
| COO version | OCP versions | Features
30+
31+
| 0.3.0+ | 4.12 | `dev-console`
32+
| 0.3.0+ | 4.13 | `dev-console`, `alerts`
33+
| 0.3.0+ | 4.14+ | `dev-console`, `alerts`, `dev-alerts`
34+
|===
35+
36+
include::modules/coo-logging-ui-plugin-install.adoc[leveloffset=+1]

observability/cluster_observability_operator/ui_plugins/observability-ui-plugins-overview.adoc

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,25 +19,33 @@ The dashboard UI plugin supports enhanced dashboards in the {product-title} web
1919
You can add other Prometheus data sources from the cluster to the default dashboards, in addition to the in-cluster data source.
2020
This results in a unified observability experience across different data sources.
2121

22+
For more information, see the xref:../../../observability/cluster_observability_operator/ui_plugins/dashboard-ui-plugin.adoc#dashboard-ui-plugin[dashboard UI plugin] page.
23+
2224
["troubleshooting_{context}"]
2325
== Troubleshooting
2426

25-
The troubleshooting panel UI plugin provides observability signal correlation, powered by the open source Korrel8r project.
27+
The troubleshooting panel UI plugin for {product-title} version 4.16+ provides observability signal correlation, powered by the open source Korrel8r project.
2628
You can use the troubleshooting panel available from the *Observe* -> *Alerting* page to easily correlate metrics, logs, alerts, netflows, and additional observability signals and resources, across different data stores.
2729
Users of {product-title} version 4.17+ can also access the troubleshooting UI panel from the Application Launcher {launch}.
2830

2931
The output of Korrel8r is displayed as an interactive node graph. When you click on a node, you are automatically redirected to the corresponding web console page with the specific information for that node, for example, metric, log, or pod.
3032

33+
For more information, see the xref:../../../observability/cluster_observability_operator/ui_plugins/troubleshooting-ui-plugin.adoc#troubleshooting-ui-plugin[troubleshooting UI plugin] page.
34+
3135
["distributed-tracing_{context}"]
3236
== Distributed tracing
3337

3438
The distributed tracing UI plugin adds tracing-related features to the web console on the *Observe* -> *Traces* page.
3539
You can follow requests through the front end and into the backend of microservices, helping you identify code errors and performance bottlenecks in distributed systems.
36-
You can select a supported `TempoStack` multi-tenant instance running in the cluster and set a time range and query to view the trace data.
40+
You can select a supported `TempoStack` or `TempoMonolithic` multi-tenant instance running in the cluster and set a time range and query to view the trace data.
41+
42+
For more information, see the xref:../../../observability/cluster_observability_operator/ui_plugins/distributed-tracing-ui-plugin.adoc#distributed-tracing-ui-plugin[distributed tracing UI plugin] page.
43+
3744

3845
["cluster-logging_{context}"]
3946
== Cluster logging
4047

4148
The logging UI plugin surfaces logging data in the web console on the *Observe* -> *Logs* page.
4249
You can specify filters, queries, time ranges and refresh rates. The results displayed a list of collapsed logs, which can then be expanded to show more detailed information for each log.
4350

51+
For more information, see the xref:../../../observability/cluster_observability_operator/ui_plugins/logging-ui-plugin.adoc#logging-ui-plugin[logging UI plugin] page.

observability/cluster_observability_operator/ui_plugins/troubleshooting-ui-plugin.adoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ toc::[]
99
:FeatureName: The Cluster Observability Operator
1010
include::snippets/technology-preview.adoc[leveloffset=+2]
1111

12-
The troubleshooting UI plugin provides observability signal correlation, powered by the open source Korrel8r project.
13-
With the troubleshooting panel that is available under *Observe* -> *Alerting*, you can easily correlate metrics, logs, alerts, netflows, and additional observability signals and resources, across different data stores. Users of {product-title} version 4.17+ can also access the troubleshooting UI panel from the Application Launcher {launch}.
12+
The troubleshooting UI plugin for {product-title} version 4.16+ provides observability signal correlation, powered by the open source Korrel8r project.
13+
With the troubleshooting panel that is available under *Observe* -> *Alerting*, you can easily correlate metrics, logs, alerts, netflows, and additional observability signals and resources, across different data stores.
14+
Users of {product-title} version 4.17+ can also access the troubleshooting UI panel from the Application Launcher {launch}.
1415

1516
When you install the troubleshooting UI plugin, a link:https://github.com/korrel8r/korrel8r[Korrel8r] service named `korrel8r` is deployed in the same namespace, and it is able to locate related observability signals and Kubernetes resources from its correlation engine.
1617

0 commit comments

Comments
 (0)