Skip to content

Commit f5110d8

Browse files
pabel-rhGitHub Actions
authored and
GitHub Actions
committed
Included images (#1028)
Reorganize Segment/Telemetry instructions into its own category Reorganize Segment/Telemetry instructions into its own category Reorganize Segment/Telemetry instructions into its own category Reorganize Segment/Telemetry instructions into its own category Reorganize Segment/Telemetry instructions into its own category
1 parent c550fba commit f5110d8

28 files changed

+350
-21
lines changed
Lines changed: 24 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[id="assembly-rhdh-telemetry"]
2-
= Telemetry data collection
2+
= Telemetry data collection and analysis
33

44
The telemetry data collection feature helps in collecting and analyzing the telemetry data to improve your experience with {product}. This feature is enabled by default.
55

@@ -10,32 +10,44 @@ As an administrator, you can disable the telemetry data collection feature based
1010

1111
{company-name} collects and analyzes the following data:
1212

13+
*Web Analytics (Segment)*
14+
15+
Web Analytics tracks user behavior and interactions with {product}. Specifically, it tracks the following:
16+
1317
* Events of page visits and clicks on links or buttons.
14-
* System-related information, for example, locale, timezone, user agent including browser and OS details.
18+
* System-related information, for example, locale, time zone, user agent including browser and OS details.
1519
* Page-related information, for example, title, category, extension name, URL, path, referrer, and search parameters.
1620
* Anonymized IP addresses, recorded as `0.0.0.0`.
1721
* Anonymized username hashes, which are unique identifiers used solely to identify the number of unique users of the {product-very-short} application.
1822

19-
With {product-very-short}, you can customize the telemetry data collection feature and the telemetry Segment source configuration based on your needs.
23+
*System Observability (OpenTelemetry)*
24+
25+
System Observability tracks the performance of the {product-very-short}. Specifically, it tracks the following:
26+
27+
* Key system metrics such as CPU usage, memory usage, and other performance indicators.
28+
* Information about system components, such as the locale, timezone, and user agent (including details of the browser and operating system).
29+
* Traces and logs monitor system processes, allowing you to troubleshoot potential issues impacting the performance of {product-very-short}.
30+
31+
With {product-very-short}, you can customize the _Web Analytics_ and _System Observability_ configuration based on your needs.
2032

2133

2234
// disabling telemetry
23-
include::modules/observe/ref-disabling-telemetry.adoc[leveloffset=+1]
35+
include::modules/observe/analytics/ref-disabling-telemetry.adoc[leveloffset=+1]
2436

25-
include::modules/observe/proc-disabling-telemetry-using-operator.adoc[leveloffset=+2]
37+
include::modules/observe/analytics/proc-disabling-telemetry-using-operator.adoc[leveloffset=+2]
2638

27-
include::modules/observe/proc-disabling-telemetry-using-helm.adoc[leveloffset=+2]
39+
include::modules/observe/analytics/proc-disabling-telemetry-using-helm.adoc[leveloffset=+2]
2840

2941
// enabling telemetry
30-
include::modules/observe/ref-enabling-telemetry.adoc[leveloffset=+1]
42+
include::modules/observe/analytics/ref-enabling-telemetry.adoc[leveloffset=+1]
3143

32-
include::modules/observe/proc-enabling-telemetry-using-operator.adoc[leveloffset=+2]
44+
include::modules/observe/analytics/proc-enabling-telemetry-using-operator.adoc[leveloffset=+2]
3345

34-
include::modules/observe/proc-enabling-telemetry-using-helm.adoc[leveloffset=+2]
46+
include::modules/observe/analytics/proc-enabling-telemetry-using-helm.adoc[leveloffset=+2]
3547

3648
// customizing telemetry segment source
37-
include::modules/observe/ref-customizing-telemetry-segment.adoc[leveloffset=+1]
49+
include::modules/observe/analytics/ref-customizing-telemetry-segment.adoc[leveloffset=+1]
3850

39-
include::modules/observe/proc-customizing-telemetry-segment-using-operator.adoc[leveloffset=+2]
51+
include::modules/observe/analytics/proc-customizing-telemetry-segment-using-operator.adoc[leveloffset=+2]
4052

41-
include::modules/observe/proc-customizing-telemetry-segment-using-helm.adoc[leveloffset=+2]
53+
include::modules/observe/analytics/proc-customizing-telemetry-segment-using-helm.adoc[leveloffset=+2]
239 KB
Loading
Loading
Loading
Loading

modules/observe/proc-customizing-telemetry-segment-using-helm.adoc renamed to modules/analytics/proc-customizing-telemetry-segment-using-helm.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[id="proc-customizing-telemetry-segment-using-helm_{context}"]
2-
= Customizing telemetry Segment source using the Helm Chart
2+
= Customizing Segment source using the Helm Chart
33

44
You can configure integration with your Segment source by using the Helm Chart.
55

modules/observe/proc-customizing-telemetry-segment-using-operator.adoc renamed to modules/analytics/proc-customizing-telemetry-segment-using-operator.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[id="proc-customizing-telemetry-segment-using-operator_{context}"]
2-
= Customizing telemetry Segment source using the Operator
2+
= Customizing Segment source using the Operator
33

44
You can configure integration with your Segment source by using the Operator.
55

modules/observe/adoption-insights/con-about-adoption-insights.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,6 @@ The Adoption Insights dashboard in {product-short} includes the following cards:
1414
* *Top 3 templates*
1515
* *Top 3 techdocs*
1616
* *Top 3 plugins*
17-
* *Portal searches*
17+
* *Portal searches*
18+
19+
image::rhdh-plugins-reference/adoption-insights.jpg[adoption insights]

modules/observe/adoption-insights/proc-modify-number-of-displayed-records.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ By default, the top three most viewed catalog entities are displayed.
1717

1818
* Go to *Administration -> Adoption Insights* and click the *Down* arrow next to *3 rows* to change the number of displayed records.
1919

20+
image::rhdh-plugins-reference/adoption-insights-catalog-entities.jpg[Catalog Entities dropdown]
21+
2022
== Modifying the number of displayed records in Top 3 templates
2123

2224
You can modify the number of records that are displayed in the *Top 3 templates* card. You can select any of the following number of records for display:

modules/observe/adoption-insights/proc-setting-duration-of-data-metrics.adoc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22
[id="proc-setting-duration-of-data-metrics_{context}"]
33
= Setting the duration of data metrics
44

5-
You can set the data metrics duration using any of the time ranges, such as *Last 28 days* (default), *Today*, *Last week*, *Last month*, *Last year*, or *Date range...*.
5+
You can set the data metrics duration using any of the time ranges, such as *Today*, *Last week*, *Last month*, *Last 28 days* (default), *Last year*, or *Date range...*.
66

77
.Procedure
88

99
. On the top of the screen, click the dropdown list to display the choices.
10-
. Select the duration choice for which you want to see the data metrics.
10+
. Select the duration choice for which you want to see the data metrics.
11+
12+
image::rhdh-plugins-reference/adoption-insights-daterange.jpg[date range]

modules/observe/adoption-insights/proc-viewing-adoption-insights-card.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ The *Active users* card displays the total number of active users over a specifi
1010

1111
*New users*: New users who have registered and logged into {product-short}
1212

13+
image::rhdh-plugins-reference/active-users.jpg[active users]
14+
1315
.Procedure
1416

1517
* To view the list of active users in your Developer Hub instance, go to *Administration -> Adoption Insights*, see the Active users card.
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
[id="proc-customizing-telemetry-segment-using-helm_{context}"]
2+
= Customizing Segment source using the Helm Chart
3+
4+
You can configure integration with your Segment source by using the Helm Chart.
5+
6+
.Prerequisites
7+
8+
* You have logged in as an administrator in the {ocp-short} web console.
9+
* You have installed {product} on {ocp-short} using the Helm Chart.
10+
11+
.Procedure
12+
13+
. In the *Developer* perspective of the {ocp-short} web console, go to the *Helm* view to see the list of Helm releases.
14+
. Click the *overflow* menu on the Helm release that you want to use and select *Upgrade*.
15+
. Use either the *Form* view or *YAML* view to edit the Helm configuration:
16+
** Using *Form view*
17+
+
18+
.. Expand *Root Schema → Backstage Chart Schema → Backstage Parameters → Backstage container environment variables*.
19+
.. Click the *Add Backstage container environment variables* link.
20+
.. Enter the name and value of the Segment key.
21+
+
22+
image::rhdh/segment-source-helm.png[]
23+
24+
.. Click *Upgrade*.
25+
26+
** Using *YAML view*
27+
+
28+
.. Add the following YAML code in your Helm configuration file:
29+
+
30+
[source,yaml]
31+
----
32+
# ...
33+
upstream:
34+
backstage:
35+
extraEnvVars:
36+
- name: SEGMENT_WRITE_KEY
37+
value: <segment_key> # <1>
38+
# ...
39+
----
40+
<1> Replace `<segment_key>` with a unique identifier for your Segment source.
41+
42+
.. Click *Upgrade*.
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
[id="proc-customizing-telemetry-segment-using-operator_{context}"]
2+
= Customizing Segment source using the Operator
3+
4+
You can configure integration with your Segment source by using the Operator.
5+
6+
.Prerequisites
7+
8+
* You have logged in as an administrator in the {ocp-short} web console.
9+
* You have installed {product} on {ocp-short} using the Operator.
10+
11+
.Procedure
12+
13+
. Add the following YAML code in your `{product-custom-resource-type}` custom resource (CR):
14+
+
15+
[source,yaml]
16+
----
17+
# ...
18+
spec:
19+
application:
20+
extraEnvs:
21+
envs:
22+
- name: SEGMENT_WRITE_KEY
23+
value: <segment_key> # <1>
24+
# ...
25+
----
26+
<1> Replace `<segment_key>` with a unique identifier for your Segment source.
27+
28+
. Save the configuration changes.
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
[id="proc-disabling-telemetry-using-helm_{context}"]
2+
= Disabling telemetry data collection using the Helm Chart
3+
4+
You can disable the telemetry data collection feature by using the Helm Chart.
5+
6+
.Prerequisites
7+
8+
* You have logged in as an administrator in the {ocp-short} web console.
9+
* You have installed {product} on {ocp-short} using the Helm Chart.
10+
11+
.Procedure
12+
13+
. In the *Developer* perspective of the {ocp-short} web console, go to the *Helm* view to see the list of Helm releases.
14+
. Click the *overflow* menu on the Helm release that you want to use and select *Upgrade*.
15+
+
16+
[NOTE]
17+
====
18+
You can also create a new Helm release by clicking the *Create* button and edit the configuration to disable telemetry.
19+
====
20+
21+
. Use either the *Form* view or *YAML* view to edit the Helm configuration:
22+
** Using *Form view*
23+
+
24+
.. Expand *Root Schema → global → Dynamic plugins configuration. → List of dynamic plugins that should be installed in the backstage application*.
25+
.. Click the *Add list of dynamic plugins that should be installed in the backstage application.* link.
26+
27+
.. Perform one of the following steps:
28+
+
29+
*** If you have not configured the plugin, add the following value in the *Package specification of the dynamic plugin to install. It should be usable by the npm pack command.* field:
30+
+
31+
`./dynamic-plugins/dist/backstage-community-plugin-analytics-provider-segment`
32+
+
33+
image::rhdh/disabling-telemetry.png[]
34+
+
35+
*** If you have configured the plugin, find the *Package specification of the dynamic plugin to install. It should be usable by the npm pack command.* field with the `./dynamic-plugins/dist/backstage-community-plugin-analytics-provider-segment` value.
36+
37+
.. Select the *Disable the plugin* checkbox.
38+
.. Click *Upgrade*.
39+
40+
** Using *YAML view*
41+
+
42+
.. Perform one of the following steps:
43+
+
44+
*** If you have not configured the plugin, add the following YAML code in your `values.yaml` Helm configuration file:
45+
+
46+
[source,yaml]
47+
----
48+
# ...
49+
global:
50+
dynamic:
51+
plugins:
52+
- package: './dynamic-plugins/dist/backstage-community-plugin-analytics-provider-segment'
53+
disabled: true
54+
# ...
55+
----
56+
+
57+
*** If you have configured the plugin, search it in your Helm configuration and set the value of the `plugins.disabled` parameter to `true`.
58+
59+
.. Click *Upgrade*.
60+
61+
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
[id="proc-disabling-telemetry-using-operator_{context}"]
2+
= Disabling telemetry data collection using the Operator
3+
4+
You can disable the telemetry data collection feature by using the Operator.
5+
6+
.Prerequisites
7+
8+
* You have logged in as an administrator in the {ocp-short} web console.
9+
* You have installed {product} on {ocp-short} using the Operator.
10+
11+
.Procedure
12+
13+
. Perform one of the following steps:
14+
+
15+
* If you have created the `dynamic-plugins-rhdh` ConfigMap file and not configured the `analytics-provider-segment` plugin, add the plugin to the list of plugins and set its `plugins.disabled` parameter to `true`.
16+
+
17+
* If you have created the `dynamic-plugins-rhdh` ConfigMap file and configured the `analytics-provider-segment` plugin, search the plugin in the list of plugins and set its `plugins.disabled` parameter to `true`.
18+
+
19+
* If you have not created the ConfigMap file, create it with the following YAML code:
20+
+
21+
[source,yaml]
22+
----
23+
kind: ConfigMap
24+
apiVersion: v1
25+
metadata:
26+
name: dynamic-plugins-rhdh
27+
data:
28+
dynamic-plugins.yaml: |
29+
includes:
30+
- dynamic-plugins.default.yaml
31+
plugins:
32+
- package: './dynamic-plugins/dist/backstage-community-plugin-analytics-provider-segment'
33+
disabled: true
34+
----
35+
36+
. Set the value of the `dynamicPluginsConfigMapName` parameter to the name of your `dynamic-plugins-rhdh` config map in your `{product-custom-resource-type}` custom resource:
37+
+
38+
[source,yaml]
39+
----
40+
# ...
41+
spec:
42+
application:
43+
dynamicPluginsConfigMapName: dynamic-plugins-rhdh
44+
# ...
45+
----
46+
47+
. Save the configuration changes.
48+
49+
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
[id="proc-enabling-telemetry-using-helm_{context}"]
2+
= Enabling telemetry data collection using the Helm Chart
3+
4+
You can enable the telemetry data collection feature by using the Helm Chart.
5+
6+
.Prerequisites
7+
8+
* You have logged in as an administrator in the {ocp-short} web console.
9+
* You have installed {product} on {ocp-short} using the Helm Chart.
10+
11+
.Procedure
12+
13+
. In the *Developer* perspective of the {ocp-short} web console, go to the *Helm* view to see the list of Helm releases.
14+
. Click the *overflow* menu on the Helm release that you want to use and select *Upgrade*.
15+
+
16+
[NOTE]
17+
====
18+
You can also create a new Helm release by clicking the *Create* button and edit the configuration to enable telemetry.
19+
====
20+
21+
. Use either the *Form* view or *YAML* view to edit the Helm configuration:
22+
** Using *Form view*
23+
+
24+
.. Expand *Root Schema → global → Dynamic plugins configuration. → List of dynamic plugins that should be installed in the backstage application*.
25+
.. Click the *Add list of dynamic plugins that should be installed in the backstage application.* link.
26+
27+
.. Perform one of the following steps:
28+
+
29+
*** If you have not configured the plugin, add the following value in the *Package specification of the dynamic plugin to install. It should be usable by the npm pack command.* field:
30+
+
31+
`./dynamic-plugins/dist/backstage-community-plugin-analytics-provider-segment`
32+
+
33+
*** If you have configured the plugin, find the *Package specification of the dynamic plugin to install. It should be usable by the npm pack command.* field with the `./dynamic-plugins/dist/backstage-community-plugin-analytics-provider-segment` value.
34+
35+
.. Clear the *Disable the plugin* checkbox.
36+
.. Click *Upgrade*.
37+
38+
** Using *YAML view*
39+
+
40+
.. Perform one of the following steps:
41+
+
42+
*** If you have not configured the plugin, add the following YAML code in your Helm configuration file:
43+
+
44+
[source,yaml]
45+
----
46+
# ...
47+
global:
48+
dynamic:
49+
plugins:
50+
- package: './dynamic-plugins/dist/backstage-community-plugin-analytics-provider-segment'
51+
disabled: false
52+
# ...
53+
----
54+
+
55+
*** If you have configured the plugin, search it in your Helm configuration and set the value of the `plugins.disabled` parameter to `false`.
56+
57+
.. Click *Upgrade*.
58+

0 commit comments

Comments
 (0)