All Apps and Add-ons

Enhancement request - change App to look for Metrics.conf in the local folder instead of the default folder

stmcmahon_splun
Splunk Employee
Splunk Employee

Currently the App looks for the metrics.conf file in the default directory. We would like to change that to look in the local folder instead of the default folder.

Tags (1)
0 Karma
1 Solution

svendby90
Path Finder

Try a change in metrics.py located in the /$SPLUNK_HOME$/etc/apps/appdynamics/bin/ directory.

In the getMetrics-function, replace

conf.read([os.environ['SPLUNK_HOME'] + '/etc/apps/appdynamics/default/metrics.conf']) 

with

conf.read([os.environ['SPLUNK_HOME'] + '/etc/apps/appdynamics/local/metrics.conf'])

View solution in original post

0 Karma

svendby90
Path Finder

Try a change in metrics.py located in the /$SPLUNK_HOME$/etc/apps/appdynamics/bin/ directory.

In the getMetrics-function, replace

conf.read([os.environ['SPLUNK_HOME'] + '/etc/apps/appdynamics/default/metrics.conf']) 

with

conf.read([os.environ['SPLUNK_HOME'] + '/etc/apps/appdynamics/local/metrics.conf'])

View solution in original post

0 Karma

stmcmahon_splun
Splunk Employee
Splunk Employee

Sorry - the AppDynamics tag is in there, but not explicitly stated as AppDynamic. App #1297

0 Karma

ddrillic
Ultra Champion

which App? ; -)

0 Karma
Did you miss .conf21 Virtual?

Good news! The event's keynotes and many of its breakout sessions are now available online, and still totally FREE!