Skip to content

Commit

Permalink
OpenTelemetry: add resource id (nginx#878)
Browse files Browse the repository at this point in the history
* 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 (nginx#887)

* Update go version to 1.23 (nginx#865)

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

* max api version (nginx#880)

* add log to inetgration test (nginx#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]>
  • Loading branch information
4 people authored Oct 21, 2024
1 parent 42cb602 commit 22a5103
Show file tree
Hide file tree
Showing 12 changed files with 419 additions and 100 deletions.
12 changes: 6 additions & 6 deletions internal/collector/nginxossreceiver/generated_component_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions internal/collector/nginxplusreceiver/generated_component_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 22a5103

Please sign in to comment.