Kubernetes
HyperDX uses the OpenTelemetry collector to collect logs from Kubernetes clusters and forward it to your account. We support the native OpenTelemtry log format and require no additional vendor-specific configuration.
Getting started with deploying the OpenTelemtry collector in your Kubernetes cluster is easy.
This Guide Integrates:
✅ Logs | ✖️ Metrics | ✖️ Traces |
To send over metrics or APM/traces, you'll need to add the corresponding language integration to your application as well.
Creating a Values File for the OpenTelemetry Collector Helm Chart
Using the OpenTelemetry Collector Helm Chart with HyperDX requires a
values.yaml
to be specified and passed into the Helm install command.
First create a values.yaml
file with the following contents:
# values.yaml
mode: daemonset
presets:
logsCollection:
enabled: true
includeCollectorLogs: true
config:
exporters:
otlphttp:
endpoint: 'https://in-otel.hyperdx.io'
headers:
authorization: '<YOUR_HYPERDX_API_KEY_HERE>'
compression: gzip
service:
pipelines:
logs:
exporters:
- otlphttp
Deploying the OpenTelemetry Collector
The OpenTelemetry collector can now be deployed in your Kubernetes cluster using the OpenTelemtry Helm Chart (opens in a new tab).
Add the OpenTelemetry Helm repo:
helm repo add open-telemetry https://open-telemetry.github.io/opentelemetry-helm-charts # Add Otel Helm repo
Install the chart with the above config:
helm install my-opentelemetry-collector open-telemetry/opentelemetry-collector -f values.yaml
Now the logs from your Kubernetes cluster should now appear inside your HyperDX account.