Skip to content

Conversation

nidhiisinghh
Copy link
Contributor

Which problem is this PR solving?

This PR improves the documentation for the ignoreOutgoingRequestHook option in the HTTP instrumentation package.

Previously, the documentation did not clearly explain:
• How the function should be used.
• What parameters it receives.
• What its return value means.

This update provides:
• A clear and concise explanation in the options table.
• A dedicated section below the table describing the function’s usage, parameters, return values, and error behavior.

Following the existing README style, no code examples were added.

Fixes: #5516

@nidhiisinghh nidhiisinghh requested a review from a team as a code owner July 10, 2025 06:52
@nidhiisinghh nidhiisinghh force-pushed the docs/clarify-ignoreOutgoingRequestHook branch from 3a56d83 to 45d0986 Compare July 16, 2025 18:10
Copy link
Member

@dyladan dyladan left a comment

Choose a reason for hiding this comment

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

Looks like this also has commits from a different PR that changes metric reader to be a list

sdk.start();

// Verify deprecation warning was shown
sinon.assert.calledWith(
Copy link
Member

Choose a reason for hiding this comment

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

Please add an import for sinon

*/
reader?: IMetricReader;
readers?: IMetricReader[];
Copy link
Member

Choose a reason for hiding this comment

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

This is a breaking change. Fine because this package is experimental but make sure it is noted in the changelog.

Copy link
Member

Choose a reason for hiding this comment

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

This doesn't seem to have anything to do with documenting or clarifying...

Choose a reason for hiding this comment

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

Looks like #5777

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Documentation missing for ignoreOutgoingRequestHook
3 participants