Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update go version to 1.23 #865

Merged
merged 11 commits into from
Oct 7, 2024
Merged

Update go version to 1.23 #865

merged 11 commits into from
Oct 7, 2024

Conversation

oliveromahony
Copy link
Contributor

Proposed changes

Update the go version to version 1.23

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING document
  • I have run make install-tools and have attached any dependency changes to this pull request
  • If applicable, I have added tests that prove my fix is effective or that my feature works
  • If applicable, I have checked that any relevant tests pass after adding my changes
  • If applicable, I have updated any relevant documentation (README.md)
  • If applicable, I have tested my cross-platform changes on Ubuntu 22, Redhat 8, SUSE 15 and FreeBSD 13

@oliveromahony oliveromahony requested a review from a team as a code owner September 24, 2024 16:22
@github-actions github-actions bot added chore Pull requests for routine tasks dependencies documentation Improvements or additions to documentation labels Sep 24, 2024
@oliveromahony oliveromahony requested a review from a team September 25, 2024 15:06
@oCHRISo oCHRISo added the v3.x Issues and Pull Requests related to the major version v3 label Sep 27, 2024
@dhurley dhurley merged commit e77ecbb into v3 Oct 7, 2024
20 checks passed
@dhurley dhurley deleted the go1.23 branch October 7, 2024 12:41
sean-breen pushed a commit that referenced this pull request Oct 11, 2024
sean-breen added a commit that referenced this pull request Oct 21, 2024
* add attribute processor to config, handle resource update to get id

* write configuration before reloading

* update template file handling of attributes processor

* add attribute processor to mock config

* add more nil checks for attribute processor

* fix linting errors

* commit generated files

* fix debug exporter in template

* Use slice of Actions in Attributes processor

* fix lint: tag alignment

* remove docker login, use prod container repo for OSS nginx

* add unit test for processing ResourceUpdateTopic

* Update mdatagen install instructions in README.md (#887)

* Update go version to 1.23 (#865)

* Agent Config Changes: rename & update config_dirs & update exclude_logs  (#882)

* max api version (#880)

* add log to inetgration test (#893)

* add lock for restarting OTel collector

* fix struct alignment

* new proto defs

* resource-id -> resource.id

* fix lint: remove trailing newline

* fix unit test

* add unit test for negative case

* address pr feedback

* add updateResourceAttributes function + unit tests

* add nolint for cognitive-complexity, pending review

* fix nolint

* more feedback

* fix test condition

* PR feedback

---------

Co-authored-by: Donal Hurley <[email protected]>
Co-authored-by: oliveromahony <[email protected]>
Co-authored-by: aphralG <[email protected]>
sean-breen added a commit that referenced this pull request Oct 24, 2024
* add attribute processor to config, handle resource update to get id

* write configuration before reloading

* update template file handling of attributes processor

* add attribute processor to mock config

* add more nil checks for attribute processor

* fix linting errors

* commit generated files

* fix debug exporter in template

* Use slice of Actions in Attributes processor

* fix lint: tag alignment

* remove docker login, use prod container repo for OSS nginx

* add unit test for processing ResourceUpdateTopic

* Update mdatagen install instructions in README.md (#887)

* Update go version to 1.23 (#865)

* Agent Config Changes: rename & update config_dirs & update exclude_logs  (#882)

* max api version (#880)

* add log to inetgration test (#893)

* add lock for restarting OTel collector

* fix struct alignment

* new proto defs

* resource-id -> resource.id

* fix lint: remove trailing newline

* fix unit test

* add unit test for negative case

* address pr feedback

* add updateResourceAttributes function + unit tests

* add nolint for cognitive-complexity, pending review

* fix nolint

* more feedback

* fix test condition

* add resource for each scraper

* adding instance id to otel metadata config

* PR feedback

* add instance id and type to nginxplus receiver otel resource

* add instance id and type to otel resource
 - nginx oss log scraper
 - nginx oss stub status scraper
 - nginx plus api scraper

* fix lint errors

* run gofumpt

* update go.mod

* remove comment

* Fix unit test expected files

* increase timeout by 1 sec

* format

* nginx.instance.* to instance.*

* PR feedback

* increase timeout values for collector plugin test

* Update internal/collector/nginxplusreceiver/scraper.go

Co-authored-by: Donal Hurley <[email protected]>

* Update internal/collector/nginxossreceiver/internal/scraper/stubstatus/stub_status_scraper.go

Co-authored-by: Donal Hurley <[email protected]>

* Update internal/collector/nginxossreceiver/internal/scraper/accesslog/nginx_log_scraper.go

Co-authored-by: Donal Hurley <[email protected]>

---------

Co-authored-by: Donal Hurley <[email protected]>
Co-authored-by: oliveromahony <[email protected]>
Co-authored-by: aphralG <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Pull requests for routine tasks dependencies documentation Improvements or additions to documentation v3.x Issues and Pull Requests related to the major version v3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants