chore: OpenTelemetry integration test validating resource attributes#4459
Open
richard-salac wants to merge 13 commits intov3.x.xfrom
Open
chore: OpenTelemetry integration test validating resource attributes#4459richard-salac wants to merge 13 commits intov3.x.xfrom
richard-salac wants to merge 13 commits intov3.x.xfrom
Conversation
… to create a route for itself Signed-off-by: Richard Salac <richard.salac@broadcom.com>
Signed-off-by: Richard Salac <richard.salac@broadcom.com>
05e1b89 to
c1a6bca
Compare
c1a6bca to
ff1a65e
Compare
ff1a65e to
9a2daff
Compare
pablocarle
reviewed
Jan 22, 2026
otel/docker-compose.yml
Outdated
Comment on lines
9
to
43
| "--otlp-http-endpoint", "0.0.0.0:4318", | ||
| "--otlp-endpoint", "0.0.0.0:4317", | ||
| "--ignore-timestamp", | ||
| "--ignore-start-timestamp", | ||
| "--timeout", "3m", | ||
| "--ignore-resource-attribute-value", "service.instance.id", | ||
| "--ignore-resource-attribute-value", "host.name", | ||
| "--ignore-resource-attribute-value", "host.arch", | ||
| "--ignore-resource-attribute-value", "process.pid", | ||
| "--ignore-resource-attribute-value", "process.command_line", | ||
| "--ignore-resource-attribute-value", "process.command_args", | ||
| "--ignore-resource-attribute-value", "process.executable.path", | ||
| "--ignore-resource-attribute-value", "process.runtime.description", | ||
| "--ignore-resource-attribute-value", "process.runtime.version", | ||
| "--ignore-resource-attribute-value", "process.runtime.name", | ||
| "--ignore-resource-attribute-value", "os.description", | ||
| "--ignore-resource-attribute-value", "os.type", | ||
| "--ignore-resource-attribute-value", "telemetry.sdk.version", | ||
| "--ignore-resource-attribute-value", "telemetry.distro.name", | ||
| "--ignore-resource-attribute-value", "telemetry.distro.version", | ||
| "--ignore-resource-attribute-value", "telemetry.sdk.language", | ||
| "--ignore-resource-attribute-value", "telemetry.sdk.name", | ||
| "--ignore-resource-attribute-value", "service.version", | ||
| "--ignore-resource-attribute-value", "service.name", | ||
| "--ignore-metric-attribute-value", "service.instance.id", | ||
| "--ignore-metric-attribute-value", "service.version", | ||
| "--ignore-metric-attribute-value", "service.name", | ||
| "--ignore-resource-metrics-order", | ||
| "--ignore-scope-metrics-order", | ||
| "--ignore-metrics-order", | ||
| "--ignore-metrics-data-points-order", | ||
| "--ignore-metric-values", | ||
| "--ignore-data-points-attributes-order", | ||
| "--ignore-scope-version", | ||
| "--expected", "/var/data/expected.yaml", |
Contributor
There was a problem hiding this comment.
I think it needs an extra indent, the YAML appears with format issues in my IDE
pablocarle
reviewed
Jan 22, 2026
| ZWE_configs_apiml_security_authorization_provider: endpoint | ||
| # set the value to "authentication" if you want to test the sticky session load balancing | ||
| APIML_SERVICE_CUSTOMMETADATA_APIML_LB_TYPE: headerRequest | ||
| OTEL_SDK_DISABLED: false |
Contributor
There was a problem hiding this comment.
Isn't this enabling it for all integration tests?
pablocarle
reviewed
Jan 22, 2026
| --retry-delay 2 \ | ||
| --retry 10 | ||
| echo "" | ||
| echo "curl exit code: "$? |
Contributor
There was a problem hiding this comment.
I think this exit code will be the one from the previous echo, not curl
pablocarle
reviewed
Jan 22, 2026
| --retry-delay 2 \ | ||
| --retry 10 | ||
| echo "" | ||
| echo "curl exit code: "$? |
pablocarle
reviewed
Jan 22, 2026
| docker stop collector -t 60 | ||
|
|
||
| echo "Collector container logs:" | ||
| docker logs collector |
Contributor
There was a problem hiding this comment.
Should it save it as a file to be picked up by the Store results otel/** filter?
e6ab157 to
e88917c
Compare
22bbbd5 to
ddd5ed4
Compare
Signed-off-by: Richard Salac <richard.salac@broadcom.com>
392a024 to
f8167a5
Compare
Signed-off-by: Richard Salac <richard.salac@broadcom.com>
f8167a5 to
02faf4b
Compare
|
Signed-off-by: Richard Salac <richard.salac@broadcom.com>
Signed-off-by: Richard Salač <richard.salac@broadcom.com>
Signed-off-by: Richard Salač <richard.salac@broadcom.com> Signed-off-by: Richard Salac <richard.salac@broadcom.com>
… into reboot/otel-golden-test-compose
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
The Service Registration test was enhanced to run APIML Modulith with OpenTelemetry and validates the produced telemetry data contains correct values for the resource attributes, so the OpenTelemetry configuration is propagated correctly.
The validation uses docker images with OpenTelemetry Collector and Golden Tester, check the
README.md.Linked to # (issue)
Part of the # (epic)
Type of change
Checklist: