DynaTrace¶
Links¶
| Environment | URL |
|---|---|
| Non Prod | https://dfr17824.live.dynatrace.com/ |
| Prod | https://skx14060.live.dynatrace.com/ |
Secure Group Access Required for Optima DynaTrace space.
1. Monitoring_Readonly
2. dtcloud_AIDE_0075957_config
Documentation Links¶
Overview¶
Installing Dynatrace Agent¶
-
Most of the configuration for Dynatrace Agent is controlled by the Dynatrace Team. We have converted the instructions provided by them into Jenkins Pipeline.
- Contacts
- On Shore: alicia_pepper@optum.com
- Off Shore: shivam_mishra20@optum.com, rudra_pal@optum.com, praveen.kumar12@optum.com
- Contacts
-
The Dynatrace Team provides following files for each environments. There is a github repository created with an automated pipeline that deploys dynatrace onto the cluster.
- dynakube.yaml.
- We have parameterized the ##DYNAKUBE_API_INGEST_TOKEN## and the ##DYNAKUBE_DATA_INGEST_TOKEN##
- fluent-bit-values.yaml.
- This file is not installed yet, and will be used in future when logging will be enabled.
- dynakube.yaml.
-
To install the dynatrace agent run the job for any environment in the Jenkins.
- For image version update. Replace version here: https://github.com/optum-rx-platformintegration/optima-dynatrace/blob/dev/Jenkinsfile.
- For changing label as per the Dynatrace team. https://github.com/optum-rx-platformintegration/optima-dynatrace/blob/dev/Jenkinsfile#L25.
- Below are the commands automated via the Jenkins. No need to run these separately.
- helm install dynatrace-operator oci://docker.repo1.uhc.com/dynatrace/dynatrace-operator --create-namespace --namespace dynatrace
- kubectl -n dynatrace create secret generic dynakube --from-literal=apiToken=##DYNAKUBE_API_INGEST_TOKEN## --from-literal=dataIngestToken=##DYNAKUBE_DATA_INGEST_TOKEN##
- kubectl apply -f dynakube.yaml
- Manually labeling the resources.
Uninstalling Dynatrace Agent.¶
- To Uninstall we need to remove the Dynatrace Agent and remove all the labels, to revert all the changes. All the steps are automated with the Jenkins Pipeline