Hey team, I am working on a project developed in scala (play fraamework), we need traces, logs and metrics for an entire set of microservices, I have achieved capturing the traces by using otel-javaagent and was forwarding the jmx-metrics by using jmx-prometheus-agent in a seperate port 12345 (inside a kubernetes pod). I have few questions related to configuring JVM metrics
- Do we need to explicitly install prometheus in our environment to capture the JVM metrics emerging from every services?
- Even without setting endpoints to the service port (port specified to jmx-prometheus-agent), I was getting some set of JVM metrics in the dashboard where I was not getting an option to mention service name, is there any receiver that is capturing all the data regardless mentioning it explictly as a target?
- Also if i don't need to install prometheus, can anyone tell me how to mention the targets to service ports, in the otel-collector-metrics-config file as it is not able to scrape metrics from any of the target I've tried it with?