# open-telemetry/opentelemetry-collector

> opentelemetry-collector is a vendor-agnostic service that receives telemetry data such as traces, metrics, logs and profiles, processes it, and exports it to one or more back-ends. It lets operators avoid running a separate agent for each telemetry format and destination, including open formats such as Jaeger and Prometheus. The project is written in Go.

Source: https://github.com/open-telemetry/opentelemetry-collector
Indexed: commit a5a8fef on 2026-10-27 by Repowise. Facts come from the source and git history, not from the maintainer.

## Facts

- Language: Go
- Stars: 7,776 at index time
- License: Apache-2.0
- Code health: 8.6/10, Excellent
- Last commit: 2026-10-27
- Contributors: 93

## How it works

Telemetry enters through receiver endpoints, and configuration is loaded from layered YAML files. The confmap package merges the configured locations into one configuration by asking a registered provider to fetch each one and then expanding references in the result. The component package defines what a component must do to start and stop and what it can ask of its host. The connector package passes telemetry of one signal type to downstream consumers, which may belong to a pipeline of another signal type. The pdata package holds the shared in-memory data model that telemetry is kept in as it moves through the pipeline. The cmd/builder/main.go entry point builds a custom collector binary, while cmd/mdatagen and cmd/schemagen generate Go code from declarative files.

- cmd/builder/internal/builder/main.go: entry point
- cmd/builder/main.go: entry point
- cmd/mdatagen/main.go: entry point
- cmd/schemagen/main.go: entry point
- config/confighttp/server.go: entry point
Modules: pdata, exporter, internal, service, cmd, config, confmap, processor. 2,311 files, 195,859 lines, 13,821 symbols.

## Code health

- Score: 8.6/10 (Excellent)
- Rank: #35 of 4,000+ indexed repos
- Hotspots: cmd/mdatagen/internal/cfggen/generation.go, cmd/mdatagen/internal/samplescraper/internal/metadata/generated_metrics.go, config/confighttp/client.go, config/confighttp/server.go, internal/schemagen/model.go
- Lowest file: cmd/mdatagen/internal/command.go
- Dead code: 24 findings

## Maintenance

- Last commit 2026-10-27, first commit 2026-05-20, 500 commits
- 93 contributors, bus factor 1

## Security

- Security findings are shown to signed-in users at https://repowise.dev/repo/open-telemetry/opentelemetry-collector/security

## More

- Page: https://repowise.dev/repo/open-telemetry/opentelemetry-collector
- Ask this codebase: https://repowise.dev/repo/open-telemetry/opentelemetry-collector/chat
- Docs: https://repowise.dev/repo/open-telemetry/opentelemetry-collector/docs
- MCP (signs in with Repowise on first use):
    claude mcp add --transport http repowise https://api.repowise.dev/mcp/open-telemetry/opentelemetry-collector
