cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Netflix OSS monitoring

alexander_suslo
Newcomer

I found that Dynatrace added support for Netflix OSS monitoring. But there no enough details about it. In the setting I see that it is a JMX monitoring. I configured JMX for one my service and export servo metrics to it but still don't see any details in Dynatrace.

So can you please provide more details information about how Netflix OSS monitoring is supported and what required from me in order to make it work?

9 REPLIES 9

martin_gutenbr1
Dynatrace Helper
Dynatrace Helper

Sorry for the inconvenience.

Any Java process that exports Hystrix or Eureka metrics should automatically expose that information to Dynatrace.

For viewing them, please go to the process screen of the according Java process (it's important to be on the process screen, not the service screen). There you should find a button labeled "Further metrics" just below the infographic which will bring you to the screen that's also shown on the website, containing the metrics you're looking for.

If that doesn't work, please let us know.

alexander_suslo
Newcomer

Thanks for answer.

I am using Spring Cloud Netflix component and by default it does not export Netflix OSS metrics. It happens because by default it use BasicMonitorRegistry which does not export anything. It is required to replace it with JmxMonitorRegistry by using the following configuration property:

netflix.metrics.servo.registry-class: com.netflix.servo.jmx.JmxMonitorRegistry

After that changes and configuration of JMX I can see Hystrix and Eureka metrics. But article also mention a support for Zuul monitoring. Where it can be found?

martin_gutenbr1
Dynatrace Helper
Dynatrace Helper

Ok, it makes sense now to me. So, you're not running on a Servlet container, right?

Tomcat, Jetty, and all the other containers should automatically export the metrics (including Spring Boot).

Zuul support is not working right now, unfortunately, as it exports its data in a different way. Sorry for the inconvenience, I will make sure that the website is not misleading here anymore.

Once we have Zuul monitoring working, I will let you know.

jan-hendrik_wol
Organizer

Hi,

what are the requirements for this plugin to work? Is there probably any further documentation?

We are using hystrix on Spring Boot, but don't see any data on process details.


Regards,
Jan

arun_ramalingam
Participant

Hi Alexander -

Do you remember the version of the Springboot app and Servo-Core jar that you had used when you came across this problem and solved it?

We have similar setup and when we tried to expose the mbeans as you have mentioned we are always getting initialization error with constructor.

Thanks,

Arun Thilak

2017-08-15 15:54:01.811 ERROR 2761 --- [ost-startStop-1] c.netflix.servo.DefaultMonitorRegistry   : failed to create instance of class com.netflix.servo.jmx.JmxMonitorRegistry, using default class com.netflix.servo.jmx.JmxMonitorRegistry
java.lang.InstantiationException: com.netflix.servo.jmx.JmxMonitorRegistry
at java.lang.Class.newInstance(Class.java:427) ~[na:1.8.0_77]
at com.netflix.servo.DefaultMonitorRegistry.<init>(DefaultMonitorRegistry.java:79) [servo-core-0.10.1.jar:0.10.1]

@martin g. @Jan-Hendrik W. Your thoughts on this issue ?

martin_gutenbr1
Dynatrace Helper
Dynatrace Helper

Sorry for the trouble, I don't remember the exact versions, unfortunately.

If that issue only occurs with Dynatrace monitoring in place, please file a support ticket.

joshua_raymond
Dynatrace Helper
Dynatrace Helper

Hi Martin,

Is Zuul support available now? We are trying to enable the Netflix OSS plugin on Zuul but am unfortunately not seeing any metrics.

Thanks,

Josh

martin_gutenbr1
Dynatrace Helper
Dynatrace Helper

Hi

Unfortunately, Zuul doesn‘t expose metrics the same way that the other components do.

Sorry, but right now I can‘t see Zuul metrics being covered in the foreseeable future.

Featured Posts