I have applications that have an On-host Integration supported by New Relic (i.e Cassandra). I’m running this application in Kubernetes so I’m wondering what the best solution is for this. I want to leverage the on-host integration plugin for an application, where that application is hosted in Kubernetes. Here are what I see are the options:
- Install the on-host integration plugin on a device outside the kubernetes cluster that already has the infrastructure agent on it, and configure it to talk to the application hosted in Kubernetes.
- Run the integrated java agent in the application and just publish the JMX metrics and not even worry about the on-host integration.
I think approach 2 will work (i’ve done something like it before), but I see more value in using the on-host integration in that it comes with better visualizations and metrics out of the box.