KloudMate
KloudMate Agent Docs
APM

Manual Instrumentation

Use OpenTelemetry SDKs directly in your application code for rich, customized tracing and metrics.

Manual instrumentation gives you full control over your observability data by using OpenTelemetry SDKs directly in your application code. This approach is ideal when you need custom business logic attributes, fine-grained span management, or specialized metrics.

When to Use

  • When you need custom business-logic attributes on spans and metrics
  • When you want precise control over span boundaries and naming
  • When auto-instrumentation doesn't cover your specific libraries or frameworks
  • When you need to add custom metrics beyond what auto-instrumentation provides

Supported SDKs

The KloudMate Agent works with any OpenTelemetry SDK. Configure your SDK to export telemetry data via OTLP to the agent's endpoint:

LanguageSDK
Gogo.opentelemetry.io/otel
Javaio.opentelemetry:opentelemetry-sdk
Pythonopentelemetry-sdk
Node.js@opentelemetry/sdk-node
.NETOpenTelemetry.Sdk
Rustopentelemetry crate
Rubyopentelemetry-sdk gem

Configuration

Point your OpenTelemetry SDK exporter to the KloudMate Agent's OTLP endpoint:

OTEL_EXPORTER_OTLP_ENDPOINT="http://localhost:4318"
OTEL_SERVICE_NAME="your-service-name"

Combining with eBPF

πŸ’‘ Recommended approach: Start with Zero Downtime Observability (eBPF) for instant, broad coverage, then strategically enrich with manual OpenTelemetry SDK instrumentation where you need custom business logic attributes.

On this page