DX APM - How to add/edit a property in the IntroscopeEnterpriseManager.properties?
search cancel

DX APM - How to add/edit a property in the IntroscopeEnterpriseManager.properties?

book

Article ID: 234438

calendar_today

Updated On:

Products

DX Application Performance Management

Issue/Introduction

For example, how to increase the value introscope.enterprisemanager.alerts.maxPeriods=2000 in config/IntroscopeEnterpriseManager.properties?

Environment

DX APM 20.x, 21.x, 22.x

Resolution

STEP#1: Check the current value

a) find apm-em pod name

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

 

b) ssh the apm-em pod

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

 

STEP#2: Change the value

a) Find the apm-em deployment

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

 

b) Edit the apm-em deployment

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

 

c) find the new apm-em pod name

kubectl get pods -n<namespace>| grep apm-em


For example:

kubectl get pods -ndxi | grep apm-em


d) ssh the pod and check if the new property has been added

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

 

Additional Information