Skip to content

feat(otelcol.receiver): Add GitHub Receiver#5109

Closed
matt-gp wants to merge 9 commits intografana:mainfrom
matt-gp:otelcol-receiver-github
Closed

feat(otelcol.receiver): Add GitHub Receiver#5109
matt-gp wants to merge 9 commits intografana:mainfrom
matt-gp:otelcol-receiver-github

Conversation

@matt-gp
Copy link
Copy Markdown
Contributor

@matt-gp matt-gp commented Dec 15, 2025

PR Description

This PR adds the opentelemetry github receiver https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/githubreceiver

This PR supersedes #4914 which got closed in error.

Which issue(s) this PR fixes

Notes to the Reviewer

PR Checklist

  • CHANGELOG.md updated
  • Documentation added
  • Tests updated
  • Config converters updated

@matt-gp matt-gp requested review from a team and clayton-cornell as code owners December 15, 2025 20:04
@matt-gp matt-gp force-pushed the otelcol-receiver-github branch from 0640c27 to 780e8d8 Compare December 17, 2025 19:01
Copy link
Copy Markdown
Contributor

@clayton-cornell clayton-cornell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Docs look OK. A couple really minor passive voice vs active voice suggestions.

@clayton-cornell clayton-cornell added the type/docs Docs Squad label across all Grafana Labs repos label Jan 8, 2026
@clayton-cornell clayton-cornell requested a review from a team January 8, 2026 06:04
Copy link
Copy Markdown
Contributor

@dehaansa dehaansa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple questions, and then we'll also want a quick converter set up for the receiver, see the other examples in internal/converter/internal/otelcolconvert/

Comment thread CHANGELOG.md Outdated
Comment thread internal/component/otelcol/receiver/github/github.go Outdated
Comment thread internal/component/otelcol/receiver/github/github.go Outdated
@matt-gp matt-gp force-pushed the otelcol-receiver-github branch 3 times, most recently from ea15b09 to c03f704 Compare January 10, 2026 18:50
@matt-gp matt-gp changed the title feat(otelcol.receiver): GitHub feat(otelcol.receiver): Add GitHub Receiver Jan 10, 2026
@matt-gp matt-gp force-pushed the otelcol-receiver-github branch 2 times, most recently from 50f35d6 to 9a0122c Compare January 19, 2026 19:36
@matt-gp matt-gp force-pushed the otelcol-receiver-github branch 2 times, most recently from f9db2db to bf1f490 Compare January 22, 2026 21:24
@matt-gp
Copy link
Copy Markdown
Contributor Author

matt-gp commented Jan 28, 2026

Just to update this, I'm still working on it, having problems with dependencies as the Otel Github Receiver requires that the collector libs be updated from v0.142.0 -> v0.144.0 and this introduces breaking changes, which affects a lot of the tests of other components. IMO we shouldn't be upgrading the collector libs and fixing the tests as part of this change.

@matt-gp matt-gp force-pushed the otelcol-receiver-github branch 6 times, most recently from 26c5d2b to 54ce204 Compare February 12, 2026 08:38
This PR adds the opentelemetry github receiver.
@matt-gp matt-gp force-pushed the otelcol-receiver-github branch from 54ce204 to 38c7d67 Compare February 13, 2026 08:56
ptodev and others added 5 commits February 13, 2026 19:04
…#5528)

### Pull Request Details
Noticed that we do not close file if we cannot get encoding. Review all
other paths and we close file properly.

I really wish go had something like [errdefer like zig
does](https://ziglang.org/documentation/master/#errdefer).

### Issue(s) fixed by this Pull Request

<!--
Uncomment the following line and fill in an issue number if you want a
GitHub
  issue to be closed automatically when this PR gets merged.
-->

<!-- Fixes #issue_id -->

### Notes to the Reviewer

<!-- Add any relevant notes for the reviewers and testers of this PR.
-->

### PR Checklist

<!-- Remove items that do not apply. For completed items, change [ ] to
[x]. -->

- [ ] Documentation added
- [ ] Tests updated
- [ ] Config converters updated
### Brief description of Pull Request
I built a small tool with two different commands `pr-1` and `pr-2`,
these should be triggered from our make targets `make
update-go-version-pr-1 VERSION=1.25.7` and `make update-go-version-pr-2
VERSION=1.25.7`.

There is also a diff for some modules that was missed in previous pr:s
to update version

### Pull Request Details

<!-- Add a more detailed descripion of the Pull Request here, if needed.
-->

### Issue(s) fixed by this Pull Request

<!--
Uncomment the following line and fill in an issue number if you want a
GitHub
  issue to be closed automatically when this PR gets merged.
-->

<!-- Fixes #issue_id -->

### Notes to the Reviewer

<!-- Add any relevant notes for the reviewers and testers of this PR.
-->

### PR Checklist

<!-- Remove items that do not apply. For completed items, change [ ] to
[x]. -->

- [ ] Documentation added
- [ ] Tests updated
- [ ] Config converters updated
cristiangreco and others added 2 commits February 13, 2026 19:04
…pose new collectors settings (grafana#4640)

#### PR Description
Update the `postgres_exporter` to version
[v0.19.0](https://github.com/prometheus-community/postgres_exporter/releases/tag/v0.19.0)
(but continue to use our
[fork](https://github.com/grafana/postgres_exporter/tree/exporter-package-v0.19.0)).

The update adds support for configuring the `stat_statements` collector
flags, including `limit`, `exclude_databases`, and `exclude_users`.

#### Which issue(s) this PR fixes

Fixes grafana#5502

#### Notes to the Reviewer

#### PR Checklist

<!-- Remove items that do not apply. For completed items, change [ ] to
[x]. -->

- [ ] CHANGELOG.md updated
- [x] Documentation added
- [ ] Tests updated
- [ ] Config converters updated

---------

Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com>
### Brief description of Pull Request

`prometheus.write.queue` is deprecated and will be removed in the
future. We have decided to invest further in `prometheus.remote_write`
over further investments in `prometheus.write.queue` as an outcome of
grafana#5039.

### Issue(s) fixed by this Pull Request

Resolves: grafana#5506

### PR Checklist

- [x] Documentation added

---------

Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com>
@matt-gp matt-gp force-pushed the otelcol-receiver-github branch from f3d403d to 726354a Compare February 13, 2026 19:06
@matt-gp matt-gp closed this Feb 13, 2026
@matt-gp matt-gp deleted the otelcol-receiver-github branch February 13, 2026 19:06
@matt-gp matt-gp restored the otelcol-receiver-github branch February 13, 2026 20:20
@matt-gp matt-gp deleted the otelcol-receiver-github branch February 13, 2026 20:20
@matt-gp matt-gp restored the otelcol-receiver-github branch February 14, 2026 09:31
@matt-gp matt-gp mentioned this pull request Feb 14, 2026
4 tasks
@matt-gp
Copy link
Copy Markdown
Contributor Author

matt-gp commented Feb 14, 2026

FYI I closed this as I rebased it incorrectly and raised #5542

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Mar 1, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

frozen-due-to-age type/docs Docs Squad label across all Grafana Labs repos

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants