第 3 章 Enabling telemetry data collection in RHDH
The telemetry data collection feature is enabled by default. However, if you have disabled the feature and want to re-enable it, you must enable the analytics-provider-segment plugin either by using the Helm Chart or the Red Hat Developer Hub Operator configuration.
You can enable the telemetry data collection feature by using the Operator.
Prerequisites
- You have logged in as an administrator in the OpenShift Container Platform web console.
- You have installed Red Hat Developer Hub on OpenShift Container Platform using the Operator.
Procedure
Perform one of the following steps:
-
If you have created the
dynamic-plugins-rhdhConfigMap file and not configured theanalytics-provider-segmentplugin, add the plugin to the list of plugins and set itsplugins.disabledparameter tofalse. -
If you have created the
dynamic-plugins-rhdhConfigMap file and configured theanalytics-provider-segmentplugin, search the plugin in the list of plugins and set itsplugins.disabledparameter tofalse. If you have not created the ConfigMap file, create it with the following YAML code:
kind: ConfigMap apiVersion: v1 metadata: name: dynamic-plugins-rhdh data: dynamic-plugins.yaml: | includes: - dynamic-plugins.default.yaml plugins: - package: './dynamic-plugins/dist/backstage-community-plugin-analytics-provider-segment' disabled: false
-
If you have created the
Set the value of the
dynamicPluginsConfigMapNameparameter to the name of yourdynamic-plugins-rhdhconfig map in yourBackstagecustom resource:# ... spec: application: dynamicPluginsConfigMapName: dynamic-plugins-rhdh # ...- Save the configuration changes.