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

How can we configure the Ruby APM agent to set async=true when sending data to the APM Server #1482

Closed
anoopprasad opened this issue Aug 12, 2024 · 2 comments

Comments

@anoopprasad
Copy link

Hi Everyone,

I was reading through the Elastic APM documentation and found that starting from version 8.5.0, the APM Server supports asynchronous processing of batches. According to the documentation, you can request asynchronous processing by setting the async query parameter to true in the POST request to the intake/v2/events endpoint:

http(s)://{hostname}:{port}/intake/v2/events?async=true

My question is, how can we configure the Ruby APM agent to set async=true when sending data to the APM Server?

@estolfo
Copy link
Contributor

estolfo commented Sep 2, 2024

Hi @anoopprasad what is your use case and ultimate goal of setting async=true? The requests to the APM server are done within the internal transport layer of the APM agent, in a background thread. It's not part of the public API of the APM agent so I'm wondering what you're trying to achieve. Let me know!

@estolfo
Copy link
Contributor

estolfo commented Sep 24, 2024

Hi @anoopprasad Did you see my question above? I'm going to close this issue but you can reopen it if the request is still valid.

@estolfo estolfo closed this as completed Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants