OTEL

Definition

OTEL, short for OpenTelemetry, is an open-source observability framework designed to provide standardized telemetry data collection, processing, and exportation across distributed systems. It supports a wide range of programming languages and frameworks, enabling developers to instrument their applications for metrics, logs, and traces. OpenTelemetry aims to simplify the integration of observability into applications, promoting better monitoring and troubleshooting capabilities.

Secure Settings Example

# OpenTelemetry Collector Configuration
receivers:
  otlp:
    protocols:
      grpc:
        endpoint: "0.0.0.0:4317"
      http:
        endpoint: "0.0.0.0:4318"

processors:
  batch:
    timeout: 5s
    send_batch_size: 512

exporters:
  logging:
    loglevel: info
  otlp:
    endpoint: "https://secure-otel-endpoint:4317"
    tls:
      insecure: false
      ca_file: "/path/to/ca.pem"

service:
  pipelines:
    traces:
      receivers: [otlp]
      processors: [batch]
      exporters: [logging, otlp]

Insecure Settings Example

# OpenTelemetry Collector Configuration
receivers:
  otlp:
    protocols:
      grpc:
        endpoint: "0.0.0.0:4317"
      http:
        endpoint: "0.0.0.0:4318"

processors:
  batch:
    timeout: 5s
    send_batch_size: 512

exporters:
  logging:
    loglevel: debug
  otlp:
    endpoint: "http://insecure-otel-endpoint:4317"
    tls:
      insecure: true

service:
  pipelines:
    traces:
      receivers: [otlp]
      processors: [batch]
      exporters: [logging, otlp]