第 2 章 Disabling telemetry data collection in RHDH
To disable telemetry data collection, you must disable the analytics-provider-segment plugin either using the Helm Chart or the Red Hat Developer Hub Operator configuration.
As an administrator, you can disable the telemetry data collection feature based on your needs. For example, in an air-gapped environment, you can disable this feature to avoid needless outbound requests affecting the responsiveness of the RHDH application.
You can disable 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 totrue. -
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 totrue. 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: true
-
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.