OpenTelemetry Collector

AI Tools

Description

You can export your telemetry data directly to Mezmo with the OpenTelemetry Exporter. If you are already using OpenTelemetry Collector, you can start sending log data by adding the Mezmo Exporter to your existing Pipelines. If you are new to OTEL, you can use this quick start example to get you up and running.

Example OpenTelemetry Exporter Setup

  1. Download the appropriate OTEL collector for your environment from the OpenTelemetry website.
  2. Create a new pipeline in Mezmo.
  3. Add an OpenTelemetry Source node.
  4. Create a configuration file config.yaml with these contents:
Pipeline YAML Configuration
Copy
  1. Start the Collector with this command: ./otelcol-contrib --config /path/to/config.yaml
  2. The Collector will start sending logs, metrics and traces to your Pipeline.

For complete information on setting up and configuring the OpenTelemetry Collector, visit https://opentelemetry.io/docs/collector/configuration

Installing the Collector via a Helm Chart

You can install the OpenTelemetry collector directly in a Kubernetes cluster using a Helm chart.

If you don't have the OpenTelemetry repo added to your Helm list, you must add it first.

Bash
Copy

Update your repos once you've added the OpenTelemetry repo.

Bash
Copy

Next, create a namespace to run this:

Bash
Copy

Now create a secret to store your ingestion key:

Bash
Copy

Now create a values.yaml file. This example file will give you an otlp source within your cluster and export your telemetry to mezmo:

YAML
Copy

Then you can install the chart to deploy the Collector:

Bash
Copy
VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
  Last updated