I have tried to set up elastic-agent with APM integration. My configuration is nearly the same as the example here Configuration Examples | Elastic Cloud on Kubernetes [master] | Elastic, except I use version 7.17 for everything, and I have some custom kibana configuration to allow my clients organization to log in using AzureAD.
I have a problem were no APM data appears in Kibana, although the Agents appear to be healthy. Would really appreciate it if someone has some pointers what might be wrong!
I initially set up APM-Server using dedicated ApmServer manifests
apiVersion: apm.k8s.elastic.co/v1
kind: ApmServer
...
This worked well. Then I read that the standalone ApmServer binary is deprecated in version 8, so I tried to switch to using the APM integration. I deleted the ApmServer resource and added fleet-server and elastic-agent instead, with configuration to enable the APM integration.
Now my fleet-server and elastic-agent appear in Kibana and look healthy and show the APM integration as installed,
and I'm able to send telemetry data to the APM-server endpoint using Open Telemetry OTLP, but no data appears in Kibana.
I also don't see any related data streams, would I would expect to hold the APM data.
In kibana app/apm/settings/schema the "Switch to Elastic Agent" option is greyed out, even though I'm logged in to a user with the superuser role.
And no logs appear under Fleet in Kibana
The container logs for elastic-agent and fleet-server are not showing any errors,
but show some
INFO operation/operator.go:284 operation 'operation-install' skipped for metricbeat.7.17.3
INFO operation/operator.go:284 operation 'operation-start' skipped for metricbeat.7.17.3
INFO operation/operator.go:284 operation 'operation-install' skipped for apm-server.7.17.3
INFO operation/operator.go:284 operation 'operation-start' skipped for apm-server.7.17.3
INFO operation/operator.go:284 operation 'operation-install' skipped for filebeat.7.17.3
INFO operation/operator.go:284 operation 'operation-start' skipped for filebeat.7.17.3
INFO operation/operator.go:284 operation 'operation-install' skipped for metricbeat.7.17.3
INFO operation/operator.go:284 operation 'operation-start' skipped for metricbeat.7.17.3
.
I will attach a slightly anonymized version of the manifests I deploy shortly.