| ✅ Logs | ✅ Metrics | ✅ Traces |
Getting started
Install OpenTelemetry instrumentation packages
To install the OpenTelemetry and HyperDX Go packages, use the command below. It is recommended to check out the current instrumentation packages and install the necessary packages to ensure that the trace information is attached correctly.Native HTTP server example (net/http)
For this example, we will be usingnet/http/otelhttp.
Gin application example
For this example, we will be usinggin-gonic/gin.
Configure environment variables
Afterwards you’ll need to configure the following environment variables in your shell to ship telemetry to ClickStack via the OpenTelemetry collector:- Managed ClickStack
- ClickStack Open Source
OTEL_EXPORTER_OTLP_HEADERS environment variable contains the API Key available via HyperDX app in Team Settings → API Keys.