opentelemetry-collector-contrib
Contrib repository for the OpenTelemetry Collector
What XERJ indexed
Snapshot
Only .chloggen, pkg/pdatatest/pmetricassert, receiver/snmpreceiver at commit c540bfdf0a (2026-10-16). main is 274 commits ahead.
Selected work

“[receiver/snmp] Add max_repetitions configuration for GETBULK request…”. 10 files, 361 lines in receiver.
Also selected on this repository: @harshitt13 (0eb59a6d4f86).
Licence
The repository
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
The author agreed by email on 2026-10-22. Same terms as the repository. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution
opentelemetryopen-telemetry
Example questions
- How does opentelemetry-collector-contrib implement opentelemetry?
- What does receiver do in opentelemetry-collector-contrib?
- Show the open-telemetry code in opentelemetry-collector-contrib.
Inside the indexed corpus
- Languages by size: Go 99.7%, Makefile 0.1%, Go Template 0.1%, Shell 0%, Dockerfile 0%.
- On GitHub since 2019-07-11, last push 2026-10-31, 24,740 commits on main.
- The pin is 274 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported Apache-2.0 for open-telemetry/opentelemetry-collector-contrib on 2026-10-31, and the LICENSE file at commit c540bfdf0a was reviewed as Apache-2.0. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Harsh Koli (@harshkoli1255) has 1 selected repository on the hub.
Harshit Kushwaha (@harshitt13) was also selected on open-telemetry/opentelemetry-collector-contrib and has 1 selected repository on the hub.
Using XERJ with opentelemetry-collector-contrib
- Search an OpenAPI spec so an agent can find endpoints The hub files it under API design and specification.
- ripgrep vs a code index for coding agents: 30 tasks
- Best MCP servers for local code search in 2026, compared
- Best grep alternative for AI coding agents (2026)
The prompt
Paste it into your AI agent. It clones open-telemetry/opentelemetry-collector-contrib at the pinned commit and indexes it on your machine.
Search the GitHub repository open-telemetry/opentelemetry-collector-contrib with XERJ (https://hub.xerj.org/corpus/open-telemetry--opentelemetry-collector-contrib). Run these in a shell, in order, and check each result before the next: 1. xerj --help (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh 2. git clone https://github.com/open-telemetry/opentelemetry-collector-contrib opentelemetry-collector-contrib && git -C opentelemetry-collector-contrib checkout c540bfdf0a937be8065bbcdcc96129bfc8497f87 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./opentelemetry-collector-contrib --url http://127.0.0.1:9200 --prefix opentelemetry-collector --progress plain 5. xerj autoindex map --url http://127.0.0.1:9200 Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt Licence: Apache-2.0. Keep the copyright notice and credit the authors.
Related
Harsh KoliAPI design and specification corporagrafana-alloyxobotyi--cc-foundry-backendantonij-simonovski/traciumopen-telemetry/opentelemetry-ebpf-instrumentationtonquoc0407/capybara
Stats: GitHub API, fetched 2026-10-31. Selected work and consent: the XERJ registry.