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

docs(tracer): clarify escape hatch mechanism #3056

Merged
merged 5 commits into from
Sep 12, 2024
Merged

Conversation

dreamorosi
Copy link
Contributor

Summary

Changes

Please provide a summary of what's being changed

This PR fixes the documentation around the escape hatch mechanism exposed by the Tracer utility.

In the previous version of the docs we were stating that we expose all the methods from the underlying AWS X-Ray SDK for Node.js - which is not true.

I have updated the docs to clarify that we only expose some of the methods and shared a brief explanation of why this is the case, and what to expect from using other methods directly.

To give more visibility over which methods are exposed, I have also added the ProviderService class from the Tracer package to the API docs.

Please add the issue number below, if no issue is present the PR might get blocked and not be reviewed

Issue number: closes #2943


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

@dreamorosi dreamorosi self-assigned this Sep 12, 2024
@dreamorosi dreamorosi requested review from a team as code owners September 12, 2024 17:00
@boring-cyborg boring-cyborg bot added documentation Improvements or additions to documentation tracer This item relates to the Tracer Utility labels Sep 12, 2024
@pull-request-size pull-request-size bot added the size/S PR between 10-29 LOC label Sep 12, 2024
Copy link
Contributor

@leandrodamascena leandrodamascena left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @dreamorosi! I left some suggestions to improve the documentation and make it clearer.

docs/core/tracer.md Outdated Show resolved Hide resolved
docs/core/tracer.md Outdated Show resolved Hide resolved
docs/core/tracer.md Show resolved Hide resolved
dreamorosi and others added 3 commits September 12, 2024 19:52
Co-authored-by: Leandro Damascena <leandro.damascena@gmail.com>
…powertools-lambda-typescript into docs/tracer_escape_hatch
Copy link

@dreamorosi dreamorosi merged commit 6824c59 into main Sep 12, 2024
11 checks passed
@dreamorosi dreamorosi deleted the docs/tracer_escape_hatch branch September 12, 2024 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation size/S PR between 10-29 LOC tracer This item relates to the Tracer Utility
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: Tracer escape hatch does not expose full AWSXRay api
2 participants