-
Notifications
You must be signed in to change notification settings - Fork 325
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
Sampling of APM Log Messages in Kafka Provider #3431
Comments
Not by default - or if so it's a bug. Do you configure your app/agent to log these or are you saying the agent is logging all these by default? |
We are using the apm defaults. |
Are you referring to textual log messages being generated in the APM-agent logs? |
Im referring to the number of textual log messages, because or application processed more than 1.000.000.000 Kafka Message per Day, an we will only log a small sample (e.g. only every thousandth event) in apm. |
Unless you configured the apm agent log level to |
Sorry, |
Okay, so you are seeing too many transactions. The problem is that your Kafka Transaction is not the root of the trace: It has a parent.
|
I'm assuming this resolved the concern, feel free to comment further if needed but I'm closing this for now |
Is your feature request related to a problem?
We are using the java apm agent 1.43.0.
The agent logs every kafka receive message event into the apm logfile and produces to many load on the apm server.
The setting ELASTIC_APM_TRANSACTION_SAMPLE_RATE reduce only the attributes in the log event, but not the count of the log events.
We need an additional property for sampling apm kafka events to log only a promille of the kafka events to apm.
Describe the solution you'd like
We need an additional property for sampling apm kafka events to log only a promille of the kafka events to apm.
For example
ELASTIC_APM_SAMPLE_RATE_TRANSACTION_TYPE_MESSAGING=0.001 and ELASTIC_APM_SAMPLE_RATE_TRANSACTION_TYPE_REQUEST=0.1
Describe alternatives you've considered
Additional context
The problem is the count of log entries for transaction type messaging
The text was updated successfully, but these errors were encountered: