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

Get Updates on the Splunk Community!

Pro Tips for First-Time .conf Attendees: Advice from SplunkTrust

Heading to your first .Conf? You’re in for an unforgettable ride — learning, networking, swag collecting, ...

Raise Your Skills at the .conf25 Builder Bar: Your Splunk Developer Destination

Calling all Splunk developers, custom SPL builders, dashboarders, and Splunkbase app creators – the Builder ...

Hunt Smarter, Not Harder: Discover New SPL “Recipes” in Our Threat Hunting Webinar

Are you ready to take your threat hunting skills to the next level? As Splunk community members, you know the ...