Skip to content

Commit c0176d1

Browse files
authored
Merge pull request #86125 from openshift-cherrypick-robot/cherry-pick-84482-to-enterprise-4.16
[enterprise-4.16] OBSDOCS-1412: Add must-gather docs for Tempo and OpenTelemetry
2 parents 7314e5f + 50411c8 commit c0176d1

File tree

5 files changed

+66
-0
lines changed

5 files changed

+66
-0
lines changed

_topic_maps/_topic_map.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2928,6 +2928,8 @@ Topics:
29282928
File: distr-tracing-tempo-installing
29292929
- Name: Configuring
29302930
File: distr-tracing-tempo-configuring
2931+
- Name: Troubleshooting
2932+
File: distr-tracing-tempo-troubleshooting
29312933
- Name: Upgrading
29322934
File: distr-tracing-tempo-updating
29332935
- Name: Removing
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * observability/distr_tracing/distr_tracing_tempo/distr-tracing-tempo-troubleshooting.adoc
4+
5+
:_mod-docs-content-type: PROCEDURE
6+
[id="distr-tracing-tempo-collecting-diagnostic-data-from-command-line_{context}"]
7+
= Collecting diagnostic data from the command line
8+
9+
When submitting a support case, it is helpful to include diagnostic information about your cluster to Red Hat Support.
10+
You can use the `oc adm must-gather` tool to gather diagnostic data for resources of various types, such as `TempoStack` or `TempoMonolithic`, and the created resources like `Deployment`, `Pod`, or `ConfigMap`.
11+
The `oc adm must-gather` tool creates a new pod that collects this data.
12+
13+
.Procedure
14+
15+
* From the directory where you want to save the collected data, run the `oc adm must-gather` command to collect the data:
16+
+
17+
[source,terminal]
18+
----
19+
$ oc adm must-gather --image=ghcr.io/grafana/tempo-operator/must-gather -- \
20+
/usr/bin/must-gather --operator-namespace <operator_namespace> # <1>
21+
----
22+
<1> The default namespace where the Operator is installed is `openshift-tempo-operator`.
23+
24+
.Verification
25+
26+
* Verify that the new directory is created and contains the collected data.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * observability/otel/otel-troubleshooting.adoc
4+
5+
:_mod-docs-content-type: PROCEDURE
6+
[id="otel-collecting-diagnostic-data-from-command-line_{context}"]
7+
= Collecting diagnostic data from the command line
8+
9+
When submitting a support case, it is helpful to include diagnostic information about your cluster to Red Hat Support.
10+
You can use the `oc adm must-gather` tool to gather diagnostic data for resources of various types, such as `OpenTelemetryCollector`, `Instrumentation`, and the created resources like `Deployment`, `Pod`, or `ConfigMap`.
11+
The `oc adm must-gather` tool creates a new pod that collects this data.
12+
13+
.Procedure
14+
15+
* From the directory where you want to save the collected data, run the `oc adm must-gather` command to collect the data:
16+
+
17+
[source,terminal]
18+
----
19+
$ oc adm must-gather --image=ghcr.io/open-telemetry/opentelemetry-operator/must-gather -- \
20+
/usr/bin/must-gather --operator-namespace <operator_namespace> # <1>
21+
----
22+
<1> The default namespace where the Operator is installed is `openshift-opentelemetry-operator`.
23+
24+
.Verification
25+
26+
* Verify that the new directory is created and contains the collected data.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
:_mod-docs-content-type: ASSEMBLY
2+
[id="dist-tracing-tempo-troubleshooting"]
3+
= Troubleshooting
4+
include::_attributes/common-attributes.adoc[]
5+
:context: dist-tracing-tempo-troubleshooting
6+
7+
toc::[]
8+
9+
You can diagnose and fix issues in TempoStack or TempoMonolithic instances by using various troubleshooting methods.
10+
11+
include::modules/distr-tracing-tempo-troubleshoot-collecting-diagnostic-data-from-command-line.adoc[leveloffset=+1]

observability/otel/otel-troubleshooting.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ toc::[]
88

99
The OpenTelemetry Collector offers multiple ways to measure its health as well as investigate data ingestion issues.
1010

11+
include::modules/otel-troubleshoot-collecting-diagnostic-data-from-command-line.adoc[leveloffset=+1]
1112
include::modules/otel-troubleshoot-collector-logs.adoc[leveloffset=+1]
1213
include::modules/otel-troubleshoot-metrics.adoc[leveloffset=+1]
1314
include::modules/otel-troubleshoot-logging-exporter-stdout.adoc[leveloffset=+1]

0 commit comments

Comments
 (0)