If I use opentelemetry agent, what's the difference between I send data directly to apm server( use apm jaeger port) and I send data to opentelemetry collector elastic exporter , export send to apm server? Which pipeline is recommend?
If you're instrumenting your application with an OpenTelemetry SDK, use the OpenTelemetry Collector exporter
If you're instrumenting your application with a Jaeger client, then use APM Server's Jaeger intake
Apart from the fact that the Jaeger intake is a bit more mature, as it was developed first, a couple of other reasons why you might want to use it for now:
as it is Jaeger-specific, it takes into account details like Jaeger's sampling tags in order to calculate accurate metrics
it supports Jaeger's remote sampling API, so you can configure the sampling rate dynamically
If you're using the OpenTelemetry SDK in your application, then the above points are irrelevant.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.