Elastic observability for C++ Applications

Dear All,

I need a observability solution for a mid size enterprise for distributed tracing.
I have a pipeline to ingest logs i.e. service -> kafka -> process by pyspark -> ES
I do not want to use elastic agent(because we use C++) instead create custom logs by individual services to match elastic schema and feed to ES. Can I use elastic apm seamlessly by using above method. Can I do tracing visualisation of spans etc? Would this be a good idea. The solution needs to be scalable. Please suggest if this can be done any other way.

Thank you

Have you considered the OTEL C++ SDK

You can use this OTEL C++ OLTP > Elastic APM Server > Elasticsearch

Or

OTEL C++ OLTP > OTEL Collector > Elastic APM Server > Elasticsearch

and it should work.

Yes explored Otel but right now its difficult for us to integrate in our workflow. Hence custom logging.

The APM data model and our code is open. So yes if you ship the correct shape / schema data To the APM server it should work.

1 Like