You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After instrumenting the express app. In some cases OpenAPM is not masking the paths using openapm.instrument('express') signature. The paths in the screenshot should be prefixed with /org/:orgId/
To Reproduce
Steps to reproduce the behavior:
Generate a demo express application using npx express-generator
Use openapm.instrument('express') as per the documentation
Create a router and use a parameter in the base path
Start the application and make calls to the paths initialized in the router.
localhost:9097/metrics won't have a parameterised routes.
Expected behavior
The paths should be parameterized like it is in the screenshot. When the middleware is used directly like this app.use(openapm.REDMiddleware); the behaviour seems to be as expected.
The text was updated successfully, but these errors were encountered:
Describe the bug
After instrumenting the
express
app. In some cases OpenAPM is not masking the paths usingopenapm.instrument('express')
signature. The paths in the screenshot should be prefixed with/org/:orgId/
To Reproduce
Steps to reproduce the behavior:
npx express-generator
openapm.instrument('express')
as per the documentationlocalhost:9097/metrics
won't have a parameterised routes.Expected behavior
The paths should be parameterized like it is in the screenshot. When the middleware is used directly like this
app.use(openapm.REDMiddleware);
the behaviour seems to be as expected.The text was updated successfully, but these errors were encountered: