Menu
Grafana Cloud

Application Observability and Kubernetes Monitoring integration

If you deploy your application in Kubernetes it’s recommended to deploy Grafana Alloy using the Kubernetes Monitoring helm chart and take advantage of both Application Observability and Kubernetes Monitoring solutions.

Setup

Follow the instructions provided in the Configure Kubernetes Monitoring with Grafana Kubernetes Monitoring Helm chart documentation.

OTLP receivers

Ensure the OTLP Receivers option is enabled in the Cluster Configuration tab:

enable OTLP receivers

OTLP endpoints

Configure the instrumentation to send telemetry data to the Grafana Alloy using one of the addresses provided in the Configure Application Instrumentation section in the Cluster Configuration tab:

OTLP endpoints

Copy the relevant endpoint and edit the scripts below to export the necessary environment variables to configure your application:

gRPC:

shell
export OTEL_EXPORTER_OTLP_ENDPOINT=<GRPC_ENDPOINT>
export OTEL_EXPORTER_OTLP_PROTOCOL=grpc

HTTP:

shell
export OTEL_EXPORTER_OTLP_ENDPOINT=<HTTP_ENDPOINT>
export OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf