[TT-11388]: updated opentelemtry library and added tests for new span keys#6087
Conversation
|
API Changes no api changes detected |
|
PR Description updated to latest commit (3922caf) |
PR Review
Code feedback:
✨ Review tool usage guide:Overview: With a configuration file, use the following template:
See the review usage page for a comprehensive guide on using this tool. |
PR Code Suggestions
✨ Improve tool usage guide:Overview: With a configuration file, use the following template:
See the improve usage page for a more comprehensive guide on using this tool. |
3922caf to
e578a6d
Compare
|
|
API tests result - postgres15-sha256 env: success ✅ User descriptionDescriptionupdated opentelemtry library and added tests for new span keys Related IssueMotivation and ContextHow This Has Been TestedScreenshots (if appropriate)Types of changes
Checklist
Typeenhancement, tests Description
Changes walkthrough
Triggered by: push (@kofoworola) |
|
API tests result - mongo44-sha256 env: success ✅ User descriptionDescriptionupdated opentelemtry library and added tests for new span keys Related IssueMotivation and ContextHow This Has Been TestedScreenshots (if appropriate)Types of changes
Checklist
Typeenhancement, tests Description
Changes walkthrough
Triggered by: push (@kofoworola) |
|
API tests result - postgres15-murmur64 env: success ✅ User descriptionDescriptionupdated opentelemtry library and added tests for new span keys Related IssueMotivation and ContextHow This Has Been TestedScreenshots (if appropriate)Types of changes
Checklist
Typeenhancement, tests Description
Changes walkthrough
Triggered by: push (@kofoworola) |
|
API tests result - mongo44-murmur64 env: success ✅ User descriptionDescriptionupdated opentelemtry library and added tests for new span keys Related IssueMotivation and ContextHow This Has Been TestedScreenshots (if appropriate)Types of changes
Checklist
Typeenhancement, tests Description
Changes walkthrough
Triggered by: push (@kofoworola) |
|
/release to release-5.3 |
|
Working on it! Note that it can take a few minutes. |
… keys (#6087) ## **User description** <!-- Provide a general summary of your changes in the Title above --> ## Description updated opentelemtry library and added tests for new span keys [TT-11388](https://tyktech.atlassian.net/browse/TT-11388) <!-- Describe your changes in detail --> ## Related Issue <!-- This project only accepts pull requests related to open issues. --> <!-- If suggesting a new feature or change, please discuss it in an issue first. --> <!-- If fixing a bug, there should be an issue describing it with steps to reproduce. --> <!-- OSS: Please link to the issue here. Tyk: please create/link the JIRA ticket. --> ## Motivation and Context <!-- Why is this change required? What problem does it solve? --> ## How This Has Been Tested <!-- Please describe in detail how you tested your changes --> <!-- Include details of your testing environment, and the tests --> <!-- you ran to see how your change affects other areas of the code, etc. --> <!-- This information is helpful for reviewers and QA. --> ## Screenshots (if appropriate) ## Types of changes <!-- What types of changes does your code introduce? Put an `x` in all the boxes that apply: --> - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] Refactoring or add test (improvements in base code or adds test coverage to functionality) ## Checklist <!-- Go over all the following points, and put an `x` in all the boxes that apply --> <!-- If there are no documentation updates required, mark the item as checked. --> <!-- Raise up any additional concerns not covered by the checklist. --> - [ ] I ensured that the documentation is up to date - [ ] I explained why this PR updates go.mod in detail with reasoning why it's required - [ ] I would like a code coverage CI quality gate exception and have explained why ___ ## **Type** enhancement, tests ___ ## **Description** - Updated OpenTelemetry library to version `v0.0.21`. - Enhanced GraphQL tracing scenarios by including operation names in the query body. - Added new assertions to validate GraphQL span attributes, ensuring the correct tracking of GraphQL operations. ___ ## **Changes walkthrough** <table><thead><tr><th></th><th align="left">Relevant files</th></tr></thead><tbody><tr><td><strong>Enhancement</strong></td><td><table> <tr> <td> <details> <summary><strong>tyk_test-graphql-detailed-tracing-disabled_200.yaml</strong><dd><code>Update GraphQL Tracing Scenario and Assertions</code> </dd></summary> <hr> ci/tests/tracing/scenarios/tyk_test-graphql-detailed-tracing-disabled_200.yaml <li>Updated the GraphQL query body to include an operation name.<br> <li> Added assertions to validate new span attributes for GraphQL <br>operations. </details> </td> <td><a href="https://github.com/TykTechnologies/tyk/pull/6087/files#diff-77005f007390131ed92b45a70093403c4e3bece1b4b04607d2655393054c9ed2">+8/-2</a> </td> </tr> <tr> <td> <details> <summary><strong>tyk_test-graphql-tracing_200.yml</strong><dd><code>Enhance GraphQL Tracing Tests with New Span Attributes</code> </dd></summary> <hr> ci/tests/tracing/scenarios/tyk_test-graphql-tracing_200.yml <li>Modified the GraphQL query to include an operation name.<br> <li> Added assertions for new GraphQL span attributes. </details> </td> <td><a href="https://github.com/TykTechnologies/tyk/pull/6087/files#diff-2df94df431a444a3778f2b00fd47d911dcfa2e0c9c883de72f72adcd509c890a">+7/-2</a> </td> </tr> </table></td></tr><tr><td><strong>Dependencies</strong></td><td><table> <tr> <td> <details> <summary><strong>go.mod</strong><dd><code>Update OpenTelemetry Library Dependency</code> </dd></summary> <hr> go.mod <li>Updated <code>github.com/TykTechnologies/opentelemetry</code> to version <code>v0.0.21</code>. </details> </td> <td><a href="https://github.com/TykTechnologies/tyk/pull/6087/files#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6">+1/-1</a> </td> </tr> <tr> <td> <details> <summary><strong>go.sum</strong><dd><code>Update Checksum for OpenTelemetry Dependency</code> </dd></summary> <hr> go.sum <li>Updated checksum for <code>github.com/TykTechnologies/opentelemetry</code> to <br><code>v0.0.21</code>. </details> </td> <td><a href="https://github.com/TykTechnologies/tyk/pull/6087/files#diff-3295df7234525439d778f1b282d146a4f1ff6b415248aaac074e8042d9f42d63">+2/-2</a> </td> </tr> </table></td></tr></tr></tbody></table> ___ > ✨ **PR-Agent usage**: >Comment `/help` on the PR to get a list of all available PR-Agent tools and their descriptions [TT-11388]: https://tyktech.atlassian.net/browse/TT-11388?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ (cherry picked from commit 8b3b2f0)
…added tests for new span keys (#6087) [TT-11388]: updated opentelemtry library and added tests for new span keys (#6087) ## **User description** <!-- Provide a general summary of your changes in the Title above --> ## Description updated opentelemtry library and added tests for new span keys [TT-11388](https://tyktech.atlassian.net/browse/TT-11388) <!-- Describe your changes in detail --> ## Related Issue <!-- This project only accepts pull requests related to open issues. --> <!-- If suggesting a new feature or change, please discuss it in an issue first. --> <!-- If fixing a bug, there should be an issue describing it with steps to reproduce. --> <!-- OSS: Please link to the issue here. Tyk: please create/link the JIRA ticket. --> ## Motivation and Context <!-- Why is this change required? What problem does it solve? --> ## How This Has Been Tested <!-- Please describe in detail how you tested your changes --> <!-- Include details of your testing environment, and the tests --> <!-- you ran to see how your change affects other areas of the code, etc. --> <!-- This information is helpful for reviewers and QA. --> ## Screenshots (if appropriate) ## Types of changes <!-- What types of changes does your code introduce? Put an `x` in all the boxes that apply: --> - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] Refactoring or add test (improvements in base code or adds test coverage to functionality) ## Checklist <!-- Go over all the following points, and put an `x` in all the boxes that apply --> <!-- If there are no documentation updates required, mark the item as checked. --> <!-- Raise up any additional concerns not covered by the checklist. --> - [ ] I ensured that the documentation is up to date - [ ] I explained why this PR updates go.mod in detail with reasoning why it's required - [ ] I would like a code coverage CI quality gate exception and have explained why ___ ## **Type** enhancement, tests ___ ## **Description** - Updated OpenTelemetry library to version `v0.0.21`. - Enhanced GraphQL tracing scenarios by including operation names in the query body. - Added new assertions to validate GraphQL span attributes, ensuring the correct tracking of GraphQL operations. ___ ## **Changes walkthrough** <table><thead><tr><th></th><th align="left">Relevant files</th></tr></thead><tbody><tr><td><strong>Enhancement</strong></td><td><table> <tr> <td> <details> <summary><strong>tyk_test-graphql-detailed-tracing-disabled_200.yaml</strong><dd><code>Update GraphQL Tracing Scenario and Assertions</code> </dd></summary> <hr> ci/tests/tracing/scenarios/tyk_test-graphql-detailed-tracing-disabled_200.yaml <li>Updated the GraphQL query body to include an operation name.<br> <li> Added assertions to validate new span attributes for GraphQL <br>operations. </details> </td> <td><a href="https://github.com/TykTechnologies/tyk/pull/6087/files#diff-77005f007390131ed92b45a70093403c4e3bece1b4b04607d2655393054c9ed2">+8/-2</a> </td> </tr> <tr> <td> <details> <summary><strong>tyk_test-graphql-tracing_200.yml</strong><dd><code>Enhance GraphQL Tracing Tests with New Span Attributes</code> </dd></summary> <hr> ci/tests/tracing/scenarios/tyk_test-graphql-tracing_200.yml <li>Modified the GraphQL query to include an operation name.<br> <li> Added assertions for new GraphQL span attributes. </details> </td> <td><a href="https://github.com/TykTechnologies/tyk/pull/6087/files#diff-2df94df431a444a3778f2b00fd47d911dcfa2e0c9c883de72f72adcd509c890a">+7/-2</a> </td> </tr> </table></td></tr><tr><td><strong>Dependencies</strong></td><td><table> <tr> <td> <details> <summary><strong>go.mod</strong><dd><code>Update OpenTelemetry Library Dependency</code> </dd></summary> <hr> go.mod <li>Updated <code>github.com/TykTechnologies/opentelemetry</code> to version <code>v0.0.21</code>. </details> </td> <td><a href="https://github.com/TykTechnologies/tyk/pull/6087/files#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6">+1/-1</a> </td> </tr> <tr> <td> <details> <summary><strong>go.sum</strong><dd><code>Update Checksum for OpenTelemetry Dependency</code> </dd></summary> <hr> go.sum <li>Updated checksum for <code>github.com/TykTechnologies/opentelemetry</code> to <br><code>v0.0.21</code>. </details> </td> <td><a href="https://github.com/TykTechnologies/tyk/pull/6087/files#diff-3295df7234525439d778f1b282d146a4f1ff6b415248aaac074e8042d9f42d63">+2/-2</a> </td> </tr> </table></td></tr></tr></tbody></table> ___ > ✨ **PR-Agent usage**: >Comment `/help` on the PR to get a list of all available PR-Agent tools and their descriptions [TT-11388]: https://tyktech.atlassian.net/browse/TT-11388?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
|
@kofoworola Succesfully merged PR |




User description
Description
updated opentelemtry library and added tests for new span keys
TT-11388
Related Issue
Motivation and Context
How This Has Been Tested
Screenshots (if appropriate)
Types of changes
Checklist
Type
enhancement, tests
Description
v0.0.21.Changes walkthrough
tyk_test-graphql-detailed-tracing-disabled_200.yaml
Update GraphQL Tracing Scenario and Assertionsci/tests/tracing/scenarios/tyk_test-graphql-detailed-tracing-disabled_200.yaml
operations.
tyk_test-graphql-tracing_200.yml
Enhance GraphQL Tracing Tests with New Span Attributesci/tests/tracing/scenarios/tyk_test-graphql-tracing_200.yml
go.mod
Update OpenTelemetry Library Dependencygo.mod
github.com/TykTechnologies/opentelemetryto versionv0.0.21.go.sum
Update Checksum for OpenTelemetry Dependencygo.sum
github.com/TykTechnologies/opentelemetrytov0.0.21.