Manual Instrumentation
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 telemetry.
When to Use
Section titled “When to Use”- when you need custom business-logic attributes on spans
- when you want precise control over span boundaries and naming
- when auto-instrumentation does not cover your specific libraries or frameworks
- when you need fine-grained telemetry design in application code
Supported SDKs
Section titled “Supported SDKs”The KloudMate Agent works with any OpenTelemetry SDK. Use these runtime-specific guides:
Configuration
Section titled “Configuration”Point your OpenTelemetry SDK exporter to the KloudMate Agent OTLP endpoint:
Metrics and Logs
Section titled “Metrics and Logs”Manual instrumentation can also emit metrics and logs, but those signals are documented separately where their structure is clearer:
Combining with eBPF
Section titled “Combining with eBPF”Recommended approach: start with KloudMate Agent eBPF Observability for broad Linux coverage, then enrich selected services with manual OpenTelemetry SDK instrumentation where you need custom business logic spans or richer application context.