-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[Metricbeat] Panic in dropwizard collector #8365
Labels
Comments
adriansr
added a commit
to adriansr/beats
that referenced
this issue
Sep 24, 2018
Dropwizard metrics parser extracts tags embedded into metrics names. However, it crashes when the metric name contains curly braces. This patch improves parsing by adding additional checks and also makes sures that only tags at the end of the metric name are extracted. Assuming that the tags extracted by the dropwizard module are the ones introduced by this PR: dropwizard/metrics#839 Fixes elastic#8365
adriansr
added a commit
that referenced
this issue
Sep 24, 2018
Dropwizard metrics parser extracts tags embedded into metrics names. However, it crashes when the metric name contains curly braces. This patch improves parsing by adding additional checks and also makes sures that only tags at the end of the metric name are extracted. Assuming that the tags extracted by the dropwizard module are the ones introduced by this PR: dropwizard/metrics#839 Fixes #8365
adriansr
added a commit
to adriansr/beats
that referenced
this issue
Sep 25, 2018
Dropwizard metrics parser extracts tags embedded into metrics names. However, it crashes when the metric name contains curly braces. This patch improves parsing by adding additional checks and also makes sures that only tags at the end of the metric name are extracted. Assuming that the tags extracted by the dropwizard module are the ones introduced by this PR: dropwizard/metrics#839 Fixes elastic#8365 (cherry picked from commit f5890b7)
adriansr
added a commit
that referenced
this issue
Sep 25, 2018
Dropwizard metrics parser extracts tags embedded into metrics names. However, it crashes when the metric name contains curly braces. This patch improves parsing by adding additional checks and also makes sures that only tags at the end of the metric name are extracted. Assuming that the tags extracted by the dropwizard module are the ones introduced by this PR: dropwizard/metrics#839 Fixes #8365 (cherry picked from commit f5890b7)
adriansr
added a commit
to adriansr/beats
that referenced
this issue
Oct 11, 2018
Dropwizard metrics parser extracts tags embedded into metrics names. However, it crashes when the metric name contains curly braces. This patch improves parsing by adding additional checks and also makes sures that only tags at the end of the metric name are extracted. Assuming that the tags extracted by the dropwizard module are the ones introduced by this PR: dropwizard/metrics#839 Fixes elastic#8365 (cherry picked from commit f5890b7)
adriansr
added a commit
that referenced
this issue
Oct 11, 2018
Dropwizard metrics parser extracts tags embedded into metrics names. However, it crashes when the metric name contains curly braces. This patch improves parsing by adding additional checks and also makes sures that only tags at the end of the metric name are extracted. Assuming that the tags extracted by the dropwizard module are the ones introduced by this PR: dropwizard/metrics#839 Fixes #8365 (cherry picked from commit f5890b7)
leweafan
pushed a commit
to leweafan/beats
that referenced
this issue
Apr 28, 2023
Dropwizard metrics parser extracts tags embedded into metrics names. However, it crashes when the metric name contains curly braces. This patch improves parsing by adding additional checks and also makes sures that only tags at the end of the metric name are extracted. Assuming that the tags extracted by the dropwizard module are the ones introduced by this PR: dropwizard/metrics#839 Fixes elastic#8365 (cherry picked from commit 652c7ba)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
User reports a panic during metrics collection in the dropwizard module:
Adjusting the line offset to account for the only modification in
dropwizard/collector/data.go
yields line 111. The wholesplitTagsFromMetricName
method could use some bounds checking here and there.Waiting for more information to understand what kind of data is it dealing with. Also exact dropwizard version.
The text was updated successfully, but these errors were encountered: