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'])
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
Get Updates on the Splunk Community!

Get ready to show some Splunk Certification swagger at .conf24!

Dive into the deep end of data by earning a Splunk Certification at .conf24. We're enticing you again this ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Now On-Demand Join us to learn more about how you can leverage Service Level Objectives (SLOs) and the new ...

Database Performance Sidebar Panel Now on APM Database Query Performance & Service ...

We’ve streamlined the troubleshooting experience for database-related service issues by adding a database ...