For example, how to increase the value introscope.enterprisemanager.alerts.maxPeriods=2000 in config/IntroscopeEnterpriseManager.properties?
DX APM 20.x, 21.x, 22.x
kubectl get pods -n<namespae> | grep apm-em
for example:
kubectl get pods -ndxi | grep apm-em
output example:
apm-em-10-466718-001-b6b6d6874-248gs 1/1 Running 0 7s
kubectl exec -ti <apm-em-pod-name> -n<namespace> bash
for example:
kubectl exec -ti apm-em-10-466718-001-b6b6d6874-248gs -ndxi bash
cd config
more IntroscopeEnterpriseManager.properties | grep introscope.enterprisemanager.alerts.maxPeriods
output example:
#introscope.enterprisemanager.alerts.maxPeriods=2000
kubectl get deployments -n<namespace>
For example:
kubectl get deployments -ndxi
output example:
NAME READY UP-TO-DATE AVAILABLE AGE
apm-em-10-466718-001 1/1 1 1 30h
apm-logstash-10-466718 1/1 1 1 30h
apm-wv-10-466718 1/1 1 1 30h
apmservices-apmbacking-singleton 1/1 1 1 30h
apmservices-at-001 1/1 1 1 30h
kubectl edit deployment <apm-em-pod-name> -n<namespace>
For example:
kubectl edit deployment apm-em-10-466718-001 -ndxi
Add the wanted property, for example:
introscope.enterprisemanager.alerts.maxPeriods=2000
kubectl get pods -n<namespace>| grep apm-em
For example:
kubectl get pods -ndxi | grep apm-em
kubectl exec -ti <apm-em-10-pod> -n<namespace> bash
For example:
kubectl exec -ti apm-em-10-466718-001-b6b6d6874-248gs -ndxi bash
more IntroscopeEnterpriseManager.properties | grep introscope.enterprisemanager.alerts.maxPeriods
output example:
#introscope.enterprisemanager.alerts.maxPeriods=2000
introscope.enterprisemanager.alerts.maxPeriods=2000