Enabling Instana for IBM Software Hub

After you install the Instana host agent on your Red Hat® OpenShift® Container Platform cluster, you must configure your IBM Software Hub instance to enable Instana to monitor and analyze the software.

Who needs to complete this task?
To complete this task, you must have one of the following roles:
  • Cluster administrator
  • Instance administrator
When do you need to complete this task?

Complete this task if you want to enable Instana to collect data from an instance of IBM Software Hub.

Repeat as needed If you have multiple instances of IBM Software Hub on the cluster, you must complete this task for each instance that you want to integrate with Instana.

About this task

Service name Can send metrics to Instana
IBM Software Hub control plane
IBM Cloud Pak foundational services
Common core services
Inference foundation models
AI Factsheets
Analytics Engine powered by Apache Spark
Cognos Analytics
Cognos Dashboards
Data Gate Not supported.
Data Privacy
Data Product Hub
Data Refinery
Data Replication
DataStage
Data Virtualization
Db2
Db2 Big SQL Not supported.
Db2 Data Management Console
Db2 Warehouse
Decision Optimization
EDB Postgres
Execution Engine for Apache Hadoop
IBM Knowledge Catalog
IBM Knowledge Catalog Premium
IBM Knowledge Catalog Standard
IBM Manta Data Lineage
IBM Master Data Management
IBM StreamSets
Informix Not supported
MANTA Automated Data Lineage Not supported.
OpenPages
Orchestration Pipelines
Planning Analytics
Product Master
RStudio® Server Runtimes Not supported. However, some information is available through the common core services.
Scheduling service
SPSS Modeler
Synthetic Data Generator
Unstructured Data Integration
Voice Gateway Not supported.
Watson Discovery
Watson Machine Learning
Watson OpenScale
Watson Speech services
Watson Studio
Watson Studio Runtimes Not applicable.
watsonx.ai™
watsonx Assistant
watsonx™ BI Not supported.
watsonx Code Assistant™
watsonx Code Assistant for Red Hat Ansible® Lightspeed
watsonx Code Assistant for Z Agentic Not supported.
watsonx Code Assistant for Z Understand Not supported.
watsonx.data™
watsonx.data Premium
watsonx.data integration Not supported.
watsonx.data intelligence
watsonx.governance™
watsonx Orchestrate Not supported.

Procedure

To enable Instana for IBM Software Hub services:

  1. Log in to Red Hat OpenShift Container Platform as a user with sufficient permissions to complete the task.
    ${OC_LOGIN}
    Remember: OC_LOGIN is an alias for the oc login command.
  2. Complete the steps for the service that you are scaling:

    IBM Software Hub control plane
    Send metrics to Instana
    oc patch ZenService lite-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": true}}'
    Stop sending metrics to Instana
    oc patch ZenService lite-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": false}}'

    IBM Cloud Pak foundational services
    Send metrics to Instana
    oc patch CommonService common-service \
    --namespace ${PROJECT_CPD_INST_OPERATORS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": true}}'
    Stop sending metrics to Instana
    oc patch CommonService common-service \
    --namespace ${PROJECT_CPD_INST_OPERATORS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": false}}'

    Common core services
    Send metrics to Instana
    oc patch CCS ccs-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": true}}'
    Stop sending metrics to Instana
    oc patch CCS ccs-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": false}}'

    Inference foundation models
    Send metrics to Instana
    oc patch Watsonxaiifm watsonxaiifm-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": true}}'
    Stop sending metrics to Instana
    oc patch Watsonxaiifm watsonxaiifm-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": false}}'

    AI Factsheets
    Send metrics to Instana
    oc patch FACTSHEET factsheet-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": true}}'
    Stop sending metrics to Instana
    oc patch FACTSHEET factsheet-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": false}}'

    Analytics Engine powered by Apache Spark
    Send metrics to Instana
    oc patch AnalyticsEngine analyticsengine-sample \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": true}}'
    Stop sending metrics to Instana
    oc patch AnalyticsEngine analyticsengine-sample \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": false}}'

    Cognos Analytics
    Send metrics to Instana
    oc patch CAService ca-addon-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": true}}'
    Stop sending metrics to Instana
    oc patch CAService ca-addon-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": false}}'

    Cognos Dashboards
    Send metrics to Instana
    oc patch DashboardService dashboardservice-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": true}}'
    Stop sending metrics to Instana
    oc patch DashboardService dashboardservice-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": false}}'

    Data Privacy
    Send metrics to Instana
    oc patch DP dp-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": true}}'
    Stop sending metrics to Instana
    oc patch DP dp-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": false}}'

    Data Product Hub
    Send metrics to Instana
    oc patch DataProduct dataproduct-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": true}}'
    Stop sending metrics to Instana
    oc patch DataProduct dataproduct-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": false}}'

    Data Refinery
    Send metrics to Instana
    oc patch DataRefinery datarefinery-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": true}}'
    Stop sending metrics to Instana
    oc patch DataRefinery datarefinery-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": false}}'

    Data Replication
    Send metrics to Instana
    oc patch ReplicationService replicationservice-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": true}}'
    Stop sending metrics to Instana
    oc patch ReplicationService replicationservice-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": false}}'

    DataStage
    Send metrics to Instana

    You can send metrics from the service or from the service instances:

    Send metrics from the service
    oc patch DataStage datastage \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": true}}'
    Send metrics from a service instance
    1. Set the INSTANCE_NAME environment variable to the name of the instance that you want to send metrics from. The default instance is named ds-px-default:
      export INSTANCE_NAME=<instance-name>
    2. Patch the service instance custom resource:
      oc patch pxruntime ${INSTANCE_NAME} \
      --namespace ${PROJECT_CPD_INST_OPERANDS} \
      --type=merge \
      --patch='{"spec": {"enableInstanaMetricCollection": true}}'
    Stop sending metrics to Instana

    You can stop sending metrics from the service or from the service instances:

    Stop sending metrics from the service
    oc patch DataStage datastage \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": false}}'
    Stop sending metrics from a service instance
    1. Set the INSTANCE_NAME environment variable to the name of the instance that you want to send metrics from. The default instance is named ds-px-default:
      export INSTANCE_NAME=<instance-name>
    2. Patch the service instance custom resource:
      oc patch pxruntime ${INSTANCE_NAME} \
      --namespace ${PROJECT_CPD_INST_OPERANDS} \
      --type=merge \
      --patch='{"spec": {"enableInstanaMetricCollection": false}}'

    Data Virtualization
    Send metrics to Instana

    You can send metrics from the service or from the service instances:

    Send metrics from the service
    oc patch dvservice dv-service \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": true}}'
    Send metrics from a service instance
    1. Set the SVC_INSTANCE_NS environment variable to the project where the service instance is running:
      export SVC_INSTANCE_NS=<project-name>
    2. Patch the bigsql db2u-dv custom resource:
      oc patch bigsql db2u-dv \
      --namespace ${SVC_INSTANCE_NS} \
      --type=merge \
      --patch='{"spec":{"db2uClusterSpec":{"advOpts":{"enableInstanaMetricCollection":true}}}}'
    3. Patch the db2ucluster db2u-dv custom resource:
      oc patch db2ucluster db2u-dv \
      --namespace ${SVC_INSTANCE_NS} \
      --type=merge \
      --patch='{"spec":{"advOpts":{"enableInstanaMetricCollection":true}}}'
    Stop sending metrics to Instana

    You can stop sending metrics from the service or from the service instances:

    Stop sending metrics from the service
    oc patch dvservice dv-service \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": false}}'
    Stop sending metrics from a service instance
    1. Set the SVC_INSTANCE_NS environment variable to the project where the service instance is running:
      export SVC_INSTANCE_NS=<project-name>
    2. Patch the bigsql db2u-dv custom resource:
      oc patch bigsql db2u-dv \
      --namespace ${SVC_INSTANCE_NS} \
      --type=merge \
      --patch='{"spec":{"db2uClusterSpec":{"advOpts":{"enableInstanaMetricCollection":false}}}}'
    3. Patch the db2ucluster db2u-dv custom resource:
      oc patch db2ucluster db2u-dv \
      --namespace ${SVC_INSTANCE_NS} \
      --type=merge \
      --patch='{"spec":{"advOpts":{"enableInstanaMetricCollection":false}}}'

    Db2

    You must add the Db2 instance or instances that you want to monitor to the com.instana.plugin.db2 configuration for the Instana agent that is running on the IBM Software Hub cluster. For more information on configuring agent, see Monitoring IBM Db2 in the Instana documentation.


    Db2 Data Management Console
    Send metrics to Instana
    oc patch Dmcaddon dmc-addon \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": true}}'
    Stop sending metrics to Instana
    oc patch Dmcaddon dmc-addon \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": false}}'

    Db2 Warehouse

    You must add the Db2 Warehouse instance or instances that you want to monitor to the com.instana.plugin.db2 configuration for the Instana agent that is running on the IBM Software Hub cluster. For more information on configuring agent, see Monitoring IBM Db2 in the Instana documentation.


    Decision Optimization
    Send metrics to Instana
    oc patch DODS dods-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": true}}'
    Stop sending metrics to Instana
    oc patch DODS dods-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": false}}'

    EDB Postgres

    You must add the EDB Postgres instance or instances that you want to monitor to the com.instana.plugin.postgresql configuration for the Instana agent that is running on the IBM Software Hub cluster. For more information on configuring agent, see Monitoring EDB Postgres in the Instana documentation.


    Execution Engine for Apache Hadoop
    Send metrics to Instana
    oc patch Hadoop hadoop-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": true}}'
    Stop sending metrics to Instana
    oc patch Hadoop hadoop-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": false}}'

    IBM Knowledge Catalog
    Send metrics to Instana
    oc patch WKC wkc-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": true}}'
    Stop sending metrics to Instana
    oc patch WKC wkc-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": false}}'

    IBM Knowledge Catalog Premium
    Send metrics to Instana
    oc patch IKCPremium ikc-premium-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": true}}'
    Stop sending metrics to Instana
    oc patch IKCPremium ikc-premium-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": false}}'

    IBM Knowledge Catalog Standard
    Send metrics to Instana
    oc patch IKCStandard ikc-standard-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": true}}'
    Stop sending metrics to Instana
    oc patch IKCStandard ikc-standard-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": false}}'

    IBM Manta Data Lineage
    Send metrics to Instana
    oc patch DataLineage datalineage-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": true}}'
    Stop sending metrics to Instana
    oc patch DataLineage datalineage-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": false}}'

    IBM Master Data Management
    Send metrics to Instana
    oc patch MasterDataManagement mdm-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": true}}'
    Stop sending metrics to Instana
    oc patch MasterDataManagement mdm-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": false}}'

    IBM StreamSets

    IBM StreamSets metrics are automatically sent to Instana when the Instana agent is running on the IBM Software Hub cluster.


    OpenPages

    OpenPages metrics are automatically sent to Instana when the Instana agent is running on the IBM Software Hub cluster.


    Orchestration Pipelines
    Send metrics to Instana
    oc patch WSPipelines wspipelines-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": true}}'
    Stop sending metrics to Instana
    oc patch WSPipelines wspipelines-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": false}}'

    Planning Analytics
    Send metrics to Instana
    oc patch PAService ibm-planning-analytics-service \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": true}}'
    Stop sending metrics to Instana
    oc patch PAService ibm-planning-analytics-service \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": false}}'

    Product Master

    Product Master metrics are automatically sent to Instana when the Instana agent is running on the IBM Software Hub cluster.


    Scheduling service
    Send metrics to Instana
    oc patch Scheduling ibm-cpd-scheduler \
    --namespace ${PROJECT_SCHEDULING_SERVICE} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": true}}'
    Stop sending metrics to Instana
    oc patch Scheduling ibm-cpd-scheduler \
    --namespace ${PROJECT_SCHEDULING_SERVICE} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": false}}'

    SPSS Modeler
    Send metrics to Instana
    oc patch Spss spss-sample \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": true}}'
    Stop sending metrics to Instana
    oc patch Spss spss-sample \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": false}}'

    Synthetic Data Generator
    Send metrics to Instana
    oc patch Syntheticdata syntheticdata-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": true}}'
    Stop sending metrics to Instana
    oc patch Syntheticdata syntheticdata-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": false}}'

    Unstructured Data Integration
    Send metrics to Instana
    oc patch datasift datasift-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": true}}'
    Stop sending metrics to Instana
    oc patch datasift datasift-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": false}}'

    Watson Discovery

    Watson Discovery metrics are automatically sent to Instana when the Instana agent is running on the IBM Software Hub cluster.


    Watson Machine Learning
    Send metrics to Instana
    oc patch WmlBase wml-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": true}}'
    Stop sending metrics to Instana
    oc patch WmlBase wml-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": false}}'

    Watson OpenScale
    Send metrics to Instana
    oc patch WOService aiopenscale \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": true}}'
    Stop sending metrics to Instana
    oc patch WOService aiopenscale \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": false}}'

    Watson Speech services
    Send metrics to Instana
    oc patch WatsonSpeech speech-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": true}}'
    Stop sending metrics to Instana
    oc patch WatsonSpeech speech-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": false}}'

    Watson Studio
    Send metrics to Instana
    oc patch WS ws-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": true}}'
    Stop sending metrics to Instana
    oc patch WS ws-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": false}}'

    watsonx.ai
    Send metrics to Instana
    oc patch Watsonxai watsonxai-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": true}}'
    Stop sending metrics to Instana
    oc patch Watsonxai watsonxai-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": false}}'

    watsonx Assistant
    Send metrics to Instana
    oc patch WatsonAssistant wa \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": true}}'
    Stop sending metrics to Instana
    oc patch WatsonAssistant wa \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": false}}'

    watsonx Code Assistant
    Send metrics to Instana
    oc patch WCA wca-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": true}}'
    Stop sending metrics to Instana
    oc patch WCA wca-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": false}}'

    watsonx Code Assistant for Red Hat Ansible Lightspeed
    Send metrics to Instana
    oc patch WCAAnsible wcaansible-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": true}}'
    Stop sending metrics to Instana
    oc patch WCAAnsible wcaansible-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": false}}'

    watsonx.data
    Send metrics to Instana
    oc patch WxdAddon wxdaddon \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": true}}'
    Stop sending metrics to Instana
    oc patch WxdAddon wxdaddon \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": false}}'

    watsonx.data Premium
    Send metrics to Instana
    Enable metric collection at the individual service level:
    Data Product Hub
    oc patch DataProduct dataproduct-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": true}}'
    DataStage Enterprise
    oc patch DataStage datastage \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": true}}'
    IBM Knowledge Catalog Premium
    oc patch IKCPremium ikc-premium-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": true}}'
    IBM Manta Data Lineage
    oc patch DataLineage datalineage-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": true}}'
    Unstructured Data Integration
    oc patch datasift datasift-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": true}}'
    watsonx.ai
    oc patch Watsonxai watsonxai-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": true}}'
    watsonx.data
    oc patch WxdAddon wxdaddon \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": true}}'
    watsonx.data intelligence
    oc patch WatsonxDataIntelligence watsonxdataintelligence-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": true}}'
    Stop sending metrics to Instana
    Disable metric collection at the individual service level:
    Data Product Hub
    oc patch DataProduct dataproduct-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": false}}'
    DataStage Enterprise
    oc patch DataStage datastage \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": false}}'
    IBM Knowledge Catalog Premium
    oc patch IKCPremium ikc-premium-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": false}}'
    IBM Manta Data Lineage
    oc patch DataLineage datalineage-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": false}}'
    Unstructured Data Integration
    oc patch datasift datasift-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": false}}'
    watsonx.ai
    oc patch Watsonxai watsonxai-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": false}}'
    watsonx.data
    oc patch WxdAddon wxdaddon \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": false}}'
    watsonx.data intelligence
    oc patch WatsonxDataIntelligence watsonxdataintelligence-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": false}}'

    watsonx.data intelligence
    Send metrics to Instana
    oc patch WatsonxDataIntelligence watsonxdataintelligence-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": true}}'
    Stop sending metrics to Instana
    oc patch WatsonxDataIntelligence watsonxdataintelligence-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": false}}'

    watsonx.governance
    Send metrics to Instana
    Enable metric collection at the individual service level:
    AI Factsheets
    oc patch FACTSHEET factsheet-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": true}}'
    OpenPages

    OpenPages metrics are automatically sent to Instana when the Instana agent is running on the IBM Software Hub cluster.

    Watson OpenScale
    oc patch WOService aiopenscale \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": true}}'
    Stop sending metrics to Instana
    Disable metric collection at the individual service level:
    AI Factsheets
    oc patch FACTSHEET factsheet-cr \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": false}}'
    OpenPages
    Not applicable.
    Watson OpenScale
    oc patch WOService aiopenscale \
    --namespace ${PROJECT_CPD_INST_OPERANDS} \
    --type=merge \
    --patch='{"spec": {"enableInstanaMetricCollection": false}}'