Help Docs

Instrument C++ application for OpenTelemetry

To monitor your C++ application with Site24x7 OpenTelemetry, follow the steps below.

Step 1:
Add the following exporter configuration to the application's startup file.

opentelemetry::exporter::otlp::OtlpHttpExporterOptions opts;
opts.url = "";
auto otlp_http_exporter = std::unique_ptr<sdktrace::SpanExporter>(new

Step 2:
Follow the instrumentation setups specified by OpenTelemetry.

You are all set. Now the agent will start sending the performance metrics to your Site24x7 web client portal.

Was this document helpful?

Would you like to help us improve our documents? Tell us what you think we could do better.

We're sorry to hear that you're not satisfied with the document. We'd love to learn what we could do to improve the experience.

Thanks for taking the time to share your feedback. We'll use your feedback to improve our online help resources.

Shortlink has been copied!