feat(otel): Add native OpenTelemetry Transport module by merchantmoh-debug · Pull Request #3938 · google/go-github

and others added 2 commits

January 23, 2026 19:29

alexandear

gmlewis

gmlewis

@merchantmoh-debug

…ack-15903149166570935690

Apply code review feedback for OpenTelemetry support

@merchantmoh-debug

alexandear

Co-authored-by: Oleksandr Redko <oleksandr.red+github@gmail.com>

@merchantmoh-debug

- Export rate limit header constants in `github/github.go`.
- Add `HeaderRequestID` constant.
- Update `otel/transport.go` to use exported constants.
- Remove redundant comment in `example/otel/main.go`.
- Fix module configuration and formatting.
- Ensure `StatusTooManyRequests` logic in `CheckResponse` is preserved.

Co-authored-by: merchantmoh-debug <241568449+merchantmoh-debug@users.noreply.github.com>
- Export rate limit header constants in `github/github.go`.
- Add `HeaderRequestID` constant.
- Update `otel/transport.go` to use exported constants.
- Remove redundant comment in `example/otel/main.go`.
- Fix module configuration and formatting.
- Ensure `StatusTooManyRequests` logic in `CheckResponse` is preserved.
- Run script/generate.sh to ensure generated files are up to date.

Co-authored-by: merchantmoh-debug <241568449+merchantmoh-debug@users.noreply.github.com>
- Export rate limit header constants in `github/github.go`.
- Add `HeaderRequestID` constant.
- Update `otel/transport.go` to use exported constants.
- Remove redundant comment in `example/otel/main.go`.
- Fix module configuration and formatting.
- Ensure `StatusTooManyRequests` logic in `CheckResponse` is preserved.
- Run script/generate.sh to ensure generated files are up to date.

Co-authored-by: merchantmoh-debug <241568449+merchantmoh-debug@users.noreply.github.com>
- Export rate limit header constants in `github/github.go`.
- Add `HeaderRequestID` constant.
- Update `otel/transport.go` to use exported constants.
- Remove redundant comment in `example/otel/main.go`.
- Fix module configuration and formatting.
- Ensure `StatusTooManyRequests` logic in `CheckResponse` is preserved.
- Run script/generate.sh to ensure generated files are up to date.

Co-authored-by: merchantmoh-debug <241568449+merchantmoh-debug@users.noreply.github.com>
…ack-15903149166570935690

Apply otel review feedback 15903149166570935690

@merchantmoh-debug

@merchantmoh-debug

Not-Dhananjay-Mishra

@merchantmoh-debug @Not-Dhananjay-Mishra

Co-authored-by: Dhananjay Mishra <technicaldmcontact@gmail.com>

@gmlewis

gmlewis

@gmlewis