Splunk AppDynamics

configuration error: app name required

shubham_thakur
New Member

Hello,

I have to setup appdynamic with ruby on rails, I have added gem "gem 'appdynamics' " in gemfile, also created appdynamics.yml file with following details:

app_name: "My app name"
tier_name: "ROR"
node_name: "test"
controller:
host: "test"
port: "test"
account: "test"
access_key: "some key"

Also Please Do Let Me know How Will I get  app_name, tier_name, node_name, controller, host, port, account, access_key.

I am getting this error:
1) WARN -- AppDynamics: Unable to start Instrumenter due to a configuration error: app name required
2) AppDynamics: [AppDynamics] [1.1.2] Running AppDynamics in development mode. No data will be reported until you deploy your app.

can anyone help me for this ???

Labels (1)
Tags (2)
0 Karma

millerep
Contributor

Since you're using a config file (.yml) and not the env, make sure you're using the correct syntax, I don't think you use " in .yml. Also, I'm assuming in your code, you're actually passing a correct port, account and access key, and not just "test?"

 Here's the documentation which may help: https://docs.appdynamics.com/display/RUBY/Install+the+Ruby+Agent

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Event Series: The Agentic SOC: Trust Before Autonomy

AI is fundamentally changing security operations, but true progress requires more than just automation—it ...

Free Professional Services for .conf26 Attendees

This year at .conf26, we are doing something a little different. We are bringing the best minds from ...

Defend at Machine Speed: Your Guide to Security Sessions at .conf26

Splunk .conf26   With threats moving at machine speed and attack surfaces expanding across hybrid ...