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

OTEL (auto) ingest for K8s services

DynaMight Champion
DynaMight Champion

we are trying to get a vert.x java service traced with the support of OpenTelemetry.
The service runs in a K8s pod which is monitored already by Oneagent (dynakube).

The process should be very straight forward, just following these steps. Using oneagent ingestion.

  • add OTEL agent to the java startup
  • disable default exporters via env variables

However when the application is start up it always still tries to perform the export to localhost:


SEVERE: Failed to export metrics. The request could not be executed. Full error message: Failed to connect to localhost/ Failed to connect to localhost/	at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.kt:297)82



When we try to set the exporter URL manually to directly export to the SaaS instance it seems to work (a connection attempt is made). But we cannot use that setup due to firewall restrictions.

Now I have a few questions:

In the above log the export tries to connect to localhost/ What port ist that? That doesn't seem to be a valid port range?
In that configuration (oneagent ingested) there shouldn't be any attempt to export traces anywhere, right? The oneagent within the process should pick up those traces, right?



Certified Dynatrace Master, Dynatrace Partner -

Featured Posts