Enabling Instana metric collection for foundational services
You can enable foundational services to allow Instana to collect metrics about foundational services pod containers.
After you enable Instana metric collection, you can view metrics about foundational services pod containers in Instana. For more information, see Configuring and monitoring supported technologies in the Instana documentation.
Prerequisites
You need a cluster with Instana configured.
Procedure
-
Enable Instana metric collection by adding
enableInstanaMetricCollection: trueto theCommonServicecustom resource (CR) from the namespace where foundational services was installed. The foundational services pod restarts.kubectl patch CommonService common-service -n <namespace> --type merge -p '{"spec": {"enableInstanaMetricCollection": true}}' -
Go to Instana and check if Instana collects and shows the foundational services metrics.
Note: The foundational services metrics might not be immediately shown in Instana.To view the foundational services metrics in Instana, go to Instana and navigate to Infrastructure >
<Your Cluster Name>. For more information about Instana, see Instana documentation.
Disabling Instana metric collection
Disable Instana metric collection. Change the value of the
enableInstanaMetricCollection parameter to false in the
CommonService CR from the namespace where foundational services was installed. The foundational services pod restarts.
kubectl patch CommonService common-service -n <namespace> --type merge -p '{"spec": {"enableInstanaMetricCollection": false}}'