Expand monitoring in a Kubernetes container

To add services to Dynatrace monitoring in a Kubernetes container, follow the steps below.

  1. Download the latest deployment configuration to your console.
wget https://github.com/dynatrace-oss/dynatrace-gcp-function/releases/latest/download/dynatrace-gcp-function.yaml
  1. Edit the data.GCP_SERVICES section in the Dynatrace GCP function and specify the services you want to monitor and their featureSets.

  2. Apply your configuration.

kubectl apply -f dynatrace-gcp-function.yaml
  1. Roll out the new configuration.
kubectl -n dynatrace rollout restart deployment dynatrace-gcp-function

Note: After adding new services to monitoring in GKE, you must restart your Kubernetes container.