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

Failed metric ingestion: java.net.ConnectException: Connection refused (Connection refused)

GayathriVRadha
Newcomer

I am trying to send metrics from spring Boot Application deployed in the host where Dynatrace operator and dynatrace One Agent in installed already. But am getting below error.

 

Started Application ----

 
 "io.micrometer.dynatrace.v2.DynatraceExporterV2"
"Failed metric ingestion: java.net.ConnectException: Connection refused (Connection refused)"
 
I am trying deploy the application in same namespace and cluster where dynatrace operator and Agent are installed, And am not supplying url and token from my spring boot app since I am trying to deploying in the same host where agent/operator are running . Am I missing something here. Is it because My application is not able to establish a connection with Dynatrace Oneagent/Operator ?
 
Please help on this
2 REPLIES 2

ChadTurner
DynaMight Legend
DynaMight Legend

@GayathriVRadha is that the correct port? 

-Chad

And beside the port could also check that if the OneAgent metric api is enabled on those hosts since I'm assuming that currently your setup tries to send the data towards oneagent.

https://www.dynatrace.com/support/help/shortlink/local-api#enable-the-oneagent-metric-api

Featured Posts