Enabling Instana metric collection
You can enable License Service to allow Instana to collect metrics about License Service pod containers.
After you enable Instana metric collection, you can view metrics about License Service pod containers in Instana. For more information, see Configuring and monitoring supported technologies in the Instana documentation.
Prerequisites
- A cluster with Instana configured.
Procedure
-
Enable Instana metric collection by adding
enableInstanaMetricCollection: true
to theIBMLicensing
custom resource (CR). This action triggers the License Service pod to restart.kubectl patch IBMLicensing <name-of-your-License-Service-instance> --type merge -p '{"spec": {"enableInstanaMetricCollection": true}}'
-
Go to Instana and check if Instana collects and shows the License Service metrics.
Note: The License Service metrics might not be immediately shown in Instana.
To view the License Service metrics in Instana, go to Instana and select Infrastructure >
. For more information about Instana, see Instana documentation.
Disabling Instana metric collection
Disable Instana metric collection by changing the value of enableInstanaMetricCollection
parameter to false
in the IBMLicensing
custom resource (CR). This action triggers the License Service pod to restart.
kubectl patch IBMLicensing <name-of-your-License-Service-instance> --type merge -p '{"spec": {"enableInstanaMetricCollection": false}}'