Skip to content

Commit 5f2a5a3

Browse files
authored
Merge pull request #44542 from xJustin/insights-operator-using
CCXDEV-5230 document how to get gatherers duration time info
2 parents ce5cfe8 + 8c050ae commit 5f2a5a3

7 files changed

+96
-3
lines changed

_attributes/common-attributes.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ endif::openshift-origin[]
3939
:cluster-manager: OpenShift Cluster Manager
4040
:cluster-manager-url: link:https://console.redhat.com/openshift[OpenShift Cluster Manager]
4141
:cluster-manager-url-pull: link:https://console.redhat.com/openshift/install/pull-secret[pull secret from the Red Hat OpenShift Cluster Manager]
42+
:insights-advisor-url: link:https://console.redhat.com/openshift/insights/advisor/[Insights Advisor]
43+
:hybrid-console: Red Hat Hybrid Cloud Console
4244
:rh-storage-first: Red Hat OpenShift Data Foundation
4345
:rh-storage: OpenShift Data Foundation
4446
:rh-rhacm-first: Red Hat Advanced Cluster Management (RHACM)

_topic_maps/_topic_map.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -567,6 +567,8 @@ Topics:
567567
File: enabling-remote-health-reporting
568568
- Name: Using Insights to identify issues with your cluster
569569
File: using-insights-to-identify-issues-with-your-cluster
570+
- Name: Using Insights Operator
571+
File: using-insights-operator
570572
- Name: Using remote health reporting in a restricted network
571573
File: remote-health-reporting-from-restricted-network
572574
- Name: Importing simple content access certificates with Insights Operator

modules/insights-operator-about.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88

99
The Insights Operator periodically gathers configuration and component failure status and, by default, reports that data every two hours to Red Hat. This information enables Red Hat to assess configuration and deeper failure data than is reported through Telemetry.
1010

11-
Users of {product-title} can display the report of each cluster in {cluster-manager-url}. If any issues have been identified, Insights provides further details and, if available, steps on how to solve a problem.
11+
Users of {product-title} can display the report of each cluster in the {insights-advisor-url} service on {hybrid-console}. If any issues have been identified, Insights provides further details and, if available, steps on how to solve a problem.
1212

1313
The Insights Operator does not collect identifying information, such as user names, passwords, or certificates. See link:https://console.redhat.com/security/insights[Red Hat Insights Data & Application Security] for information about Red Hat Insights data collection and controls.
1414

1515
Red Hat uses all connected cluster information to:
1616

17-
* Proactively identify potential cluster issues and provide a solution and preventive actions in {cluster-manager-url}
17+
* Identify potential cluster issues and provide a solution and preventive actions in the {insights-advisor-url} service on {hybrid-console}
1818
* Improve {product-title} by providing aggregated and critical information to product and support teams
1919
* Make {product-title} more intuitive
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * support/remote_health_monitoring/using-insights-operator.adoc
4+
5+
:_content-type: PROCEDURE
6+
[id="insights-operator-downloading-archive_{context}"]
7+
= Downloading your Insights Operator archive
8+
9+
Insights Operator stores gathered data in an archive located in the `openshift-insights` namespace of your cluster. You can download and review the data that is gathered by the Insights Operator.
10+
11+
.Prerequisites
12+
13+
* Access to the cluster as a user with the `cluster-admin` role.
14+
15+
.Procedure
16+
17+
. Find the name of the running pod for the Insights Operator:
18+
+
19+
[source,terminal]
20+
----
21+
$ oc get pods --namespace=openshift-insights -o custom-columns=:metadata.name --no-headers --field-selector=status.phase=Running
22+
----
23+
24+
. Copy the recent data archives collected by the Insights Operator:
25+
+
26+
[source,terminal]
27+
----
28+
$ oc cp openshift-insights/<insights_operator_pod_name>:/var/lib/insights-operator ./insights-data <1>
29+
----
30+
<1> Replace `<insights_operator_pod_name>` with the pod name output from the preceding command.
31+
32+
The recent Insights Operator archives are now available in the `insights-data` directory.
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * support/remote_health_monitoring/using-insights-operator.adoc
4+
5+
:_content-type: PROCEDURE
6+
[id="insights-operator-gather-duration_{context}"]
7+
= Viewing Insights Operator gather durations
8+
9+
You can view the time it takes for the Insights Operator to gather the information contained in the archive. This helps you to understand Insights Operator resource usage and issues with Insights Advisor.
10+
11+
12+
.Prerequisites
13+
14+
* A recent copy of your Insights Operator archive.
15+
16+
.Procedure
17+
18+
. From your archive, open `/insights-operator/gathers.json`.
19+
+
20+
The file contains a list of Insights Operator gather operations:
21+
+
22+
[source,json]
23+
----
24+
{
25+
"name": "clusterconfig/authentication",
26+
"duration_in_ms": 730, <1>
27+
"records_count": 1,
28+
"errors": null,
29+
"panic": null
30+
}
31+
----
32+
+
33+
<1> `duration_in_ms` is the amount of time in milliseconds for each gather operation.
34+
35+
. Inspect each gather operation for abnormalities.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
:_content-type: ASSEMBLY
2+
[id="using-insights-operator"]
3+
= Using Insights Operator
4+
include::_attributes/common-attributes.adoc[]
5+
ifdef::openshift-dedicated[]
6+
include::_attributes/attributes-openshift-dedicated.adoc[]
7+
endif::[]
8+
:context: using-insights-operator
9+
10+
toc::[]
11+
12+
The Insights Operator periodically gathers configuration and component failure status and, by default, reports that data every two hours to Red Hat. This information enables Red Hat to assess configuration and deeper failure data than is reported through Telemetry. Users of {product-title} can display the report in the {insights-advisor-url} service on {hybrid-console}.
13+
14+
[role="_additional-resources"]
15+
.Additional resources
16+
17+
* The Insights Operator is installed and enabled by default. If you need to opt out of remote health reporting, see xref:../../support/remote_health_monitoring/opting-out-of-remote-health-reporting.adoc#opting-out-remote-health-reporting[Opting out of remote health reporting].
18+
19+
* For more information on using Insights Advisor to identify issues with your cluster, see xref:../../support/remote_health_monitoring/using-insights-to-identify-issues-with-your-cluster.adoc#using-insights-to-identify-issues-with-your-cluster[Using Insights to identify issues with your cluster].
20+
21+
include::modules/insights-operator-downloading-archive.adoc[leveloffset=+1]
22+
include::modules/insights-operator-gather-duration.adoc[leveloffset=+1]

support/remote_health_monitoring/using-insights-to-identify-issues-with-your-cluster.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ endif::[]
99

1010
toc::[]
1111

12-
Insights repeatedly analyzes the data Insights Operator sends. Users of {product-title} can display the report in the *Insights* tab of each cluster on {cluster-manager-url}.
12+
Insights repeatedly analyzes the data Insights Operator sends. Users of {product-title} can display the report in the {insights-advisor-url} service on {hybrid-console}.
1313

1414
include::modules/insights-operator-advisor-overview.adoc[leveloffset=+1]
1515
include::modules/insights-operator-advisor-recommendations.adoc[leveloffset=+1]

0 commit comments

Comments
 (0)