Splunk AppDynamics

Dropwizard montior config.yml server: line not understood?

CommunityUser
Splunk Employee
Splunk Employee

i am confused what i put in config.yml under server section in Machineagent/current/monitor/Dropwizard/config.yml.

servers: - uri: http://osxltnredd.local:8081/metrics

displayName: metrics

I am not able to understand server: section I am running 3 java service on single vm with 3 app agent . I want to add dropwizard montoring can any one pls share how i can do that i have downloaded and followed steps from https://www.appdynamics.com/community/exchange/extension/dropwizard-monitoring-extension/ but this is not working for me as i am unable to get server: line. what i did i unzip dropwizard and restarted machine agent thats all.

Labels (1)
0 Karma

Narendra_Reddy
Explorer

Hi Ankjain,

Servers: - uri: should point to you dropwizard health metric URL path.

For more details, please refer link: http://metrics.dropwizard.io/3.1.0/manual/core/

For Example:

#Dropwizard Health Metric URL path
servers:
  - uri: http://<<dropwizard_host>>:<<health_metrics_port>>/metrics
    displayName: metrics

- - -

With Regards,

L. Narendra Reddy

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

dropwizard health metric URL path ?

So its mean i have to run any dropwizard server i thought appdynamocs itself catch it by capturing from java application wen i put in monitors folder. I have java service running nothing else. 

Can you help me which server i need to run to get dropwizard metrics and do i need to code anything in java to report ?

0 Karma

Narendra_Reddy
Explorer

Hi Ankjain,

Is your Java application a dropwizard based application. If not, try to get some sample dropwizard application dowloading and run is.

Verify if you are able to fetch using URL: 

http://<<dropwizard_host>>:<<health_metrics_port>>/metrics

If yes, please download a standalone machine agent and install the dropwizard monitoring extension (By changing the config.yml file accordingly) .

- - -

With Regards,

L. Narendra Reddy

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

What Is Splunk? Here’s What You Can Do with Splunk

Hey Splunk Community, we know you know Splunk. You likely leverage its unparalleled ability to ingest, index, ...

Level Up Your .conf25: Splunk Arcade Comes to Boston

With .conf25 right around the corner in Boston, there’s a lot to look forward to — inspiring keynotes, ...

Manual Instrumentation with Splunk Observability Cloud: How to Instrument Frontend ...

Although it might seem daunting, as we’ve seen in this series, manual instrumentation can be straightforward ...