Applications / Template

OpenTelemetry Collector

Telemetry collection and processing

Overview

Deploy the OpenTelemetry Collector for collecting, processing, and exporting telemetry data from your applications.

Category
Applications
Source
applications/helm/opentelemetry-collector/opentelemetry-collector.yaml

Prerequisites & dependencies

  • You must deploy a cluster before deploying the OpenTelemetry Collector.
  • You must deploy an application profile before deploying the OpenTelemetry Collector.
  • This will deploy otel collector operator.

Source manifest

applications/helm/opentelemetry-collector/opentelemetry-collector.yaml

# OpenTelemetry Collector, from its Helm chart
#
# One collector per node, gathering host, kubelet and Kubernetes event data.
#
# Apply: astroctl app apply -f opentelemetry-collector.yaml
# Chart values: https://github.com/open-telemetry/opentelemetry-helm-charts/tree/main/charts/opentelemetry-collector
apiVersion: platform.astropulse.io/v1
kind: Application
spec:
  name: opentelemetry-collector
  profileName: <YOUR_PROFILE_NAME>
  namespace: opentelemetry
  source:
    type: Helm
    helm:
      repo:
        repoURL: https://open-telemetry.github.io/opentelemetry-helm-charts
        chartName: opentelemetry-collector
        chartVersion: 0.108.0
      values:
        object:
          mode: daemonset
          image:
            repository: otel/opentelemetry-collector-k8s
          presets:
            hostMetrics:
              enabled: true
            kubernetesEvents:
              enabled: true
            kubeletMetrics:
              enabled: true
            kubernetesAttributes:
              enabled: true

Deployment guidance

Go straight to Console to create clusters, deploy applications, and manage supported resources. Templates and CLI commands are optional; not every GitHub manifest has an automatic import path.

Console — start directly

Open Console to create or connect infrastructure and deploy applications without running astroctl or copying this YAML first. This template may still require manual setup.

Open Console

astroctl

Deploy the OpenTelemetry Collector

astroctl app apply -f applications/helm/opentelemetry-collector/opentelemetry-collector.yaml

Get the OpenTelemetry Collector name

astroctl app get opentelemetry-collector

Get the OpenTelemetry Collector events

astroctl app events opentelemetry-collector

Get the OpenTelemetry Collector logs

astroctl app logs opentelemetry-collector

Get the OpenTelemetry Collector status

astroctl app status opentelemetry-collector

Delete the application

astroctl app delete opentelemetry-collector

Access via port-forward

kubectl port-forward $(kubectl get pods -l app.kubernetes.io/name=otel -o name) 4317:4317

Review placeholders and permissions before running commands. Nothing executes from this page.

Get Started

Nova

Prefer to describe the goal? Ask Nova to review this example and help plan supported actions. Access, policy, and approvals still apply.