-
Notifications
You must be signed in to change notification settings - Fork 227
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
how to capture transactions with long duration? timeout ? #4358
Comments
this code do not capture
|
|
this middleware solves my problem |
this code is not working well any other solution for this ? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Not sure if this is a bug or a wrong configuration that it is not enabling capture long duration transaction or without timeout
To Reproduce
Steps to reproduce the behavior:
setup APM, and try to make a long duration request, more than 3 minutes
Expected behavior
it should capture and show this transaction in APM
Environment (please complete the following information)
System:
OS: macOS 15.1.1
CPU: (8) arm64 Apple M1 Pro
Memory: 127.75 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.12.0 - ~/.nvm/versions/node/v22.12.0/bin/node
npm: 10.9.0 - ~/.nvm/versions/node/v22.12.0/bin/npm
pnpm: 9.15.0 - ~/Library/pnpm/pnpm
bun: 1.1.38 - /opt/homebrew/bin/bun
Browsers:
Chrome: 131.0.6778.109
Safari: 18.1.1
apm server 7
elastic-apm-node: 4.7.3
How are you starting the agent? (please tick one of the boxes)
agent.start()
directly (e.g.require('elastic-apm-node').start(...)
)elastic-apm-node/start
from within the source code-r elastic-apm-node/start
Additional context
Agent config options:
Click to expand
package.json
dependencies:Click to expand
What is the right environment variable for this?
ELASTIC_APM_API_REQUEST_TIME
ELASTIC_APM_SERVER_TIMEOUT
The text was updated successfully, but these errors were encountered: