Document DD_TRACE_ECHO_IGNORED_ROUTES
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 76/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- go
- Domain
- documentation
Research direction
Start by locating the Echo v4 tracing documentation and the existing environment-variable reference in this documentation repository; use DataDog/dd-trace-go#5139 to verify the behavior described in the issue. Document the variable syntax, route-pattern matching, malformed-entry handling, and middleware/AppSec effect, with the examples from the issue, then confirm the page builds successfully.
Written by the indexing model from the issue text.
Description
What needs documenting
DataDog/dd-trace-go#5139 adds a new Echo v4 tracer environment variable: DD_TRACE_ECHO_IGNORED_ROUTES.
Suggested docs details
The variable accepts comma-separated entries in the form METHOD /pattern, for example:
DD_TRACE_ECHO_IGNORED_ROUTES=GET /ready,POST /health
The middleware matches each entry against the request method and the route pattern registered by Echo. It does not match the request URL, so parameterized routes should use the registered pattern, for example GET /users/:id rather than GET /users/123.
Malformed entries are ignored and logged. Ignored routes skip the Echo middleware span and also skip AppSec monitoring performed by that middleware, matching the existing WithIgnoreRequest behavior.
Related PR
DataDog/dd-trace-go#5139
- Dominant language
- JavaScript
- Stars
- 618
- Forks
- 1.3k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 471
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from DataDog/documentation
-
Difficulty 1/5 1-3 hours Newbie friendliness 86/100
DataDog/documentation#38651 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
DataDog/documentation#37078 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
DataDog/documentation#36762 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
DataDog/documentation#36300 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
DataDog/documentation#35446 · 1 comment ·
All issues in DataDog/documentation
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
[Block] Latest Posts [Type] Bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
sugarlabs/musicblocks#8847 ·