Skip to content

Latest commit

 

History

History
53 lines (35 loc) · 1.88 KB

README.md

File metadata and controls

53 lines (35 loc) · 1.88 KB

Otelity (like "Utility" but with "Otel")

A repo for my Open Telemetry components that don't quite fit with the main contrib distro. Can contain anything from new and experimental to modified versions of existing components.

Components

How to use

In order use a component in this repo, you must build it into your own custom OpenTelemetry distribution using the ocb cli tool described here.

Simply add the comonent to your build.yaml file and run ocb CLI command to build your custom distribution.

For eg.

build.yaml:

dist:
  name: myot
  output_path: ./myot
  description: otelity binary.
  version: 1.0.0
  # otelcol_version: 0.115.0

extensions:

exporters:
  - gomod: go.opentelemetry.io/collector/exporter/debugexporter v0.115.0
  - gomod: go.opentelemetry.io/collector/exporter/nopexporter v0.115.0


processors:
  # add the otelity starlark processor here
  - gomod: github.com/daidokoro/otelity/processors/starlarkprocessor v0.1.0


receivers:
  - gomod: go.opentelemetry.io/collector/receiver/nopreceiver v0.115.0
  - gomod: go.opentelemetry.io/collector/receiver/otlpreceiver v0.115.0


providers:
  - gomod: go.opentelemetry.io/collector/confmap/provider/envprovider v1.17.0
  - gomod: go.opentelemetry.io/collector/confmap/provider/fileprovider v1.17.0
  - gomod: go.opentelemetry.io/collector/confmap/provider/httpprovider v1.17.0
  - gomod: go.opentelemetry.io/collector/confmap/provider/httpsprovider v1.17.0
  - gomod: go.opentelemetry.io/collector/confmap/provider/yamlprovider v1.17.0
  - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/confmap/provider/s3provider v0.115.0
  - gomod: github.com/open-telemetry/opentelemetry-collector-contrib/confmap/provider/secretsmanagerprovider v0.115.0