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 = "https://otel.site24x7rum.com:4318/v1/traces";
auto otlp_http_exporter = std::unique_ptr<sdktrace::SpanExporter>(new
opentelemetry::exporter::otlp::OtlpHttpExporter(opts));
Step 2:
Follow the instrumentation setups specified by OpenTelemetry.
Next Step
You are all set. Now the agent will start sending the performance metrics to your Site24x7 web client portal.