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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...