-
Notifications
You must be signed in to change notification settings - Fork 52
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
Use detect-exceptions plugin to detect exceptions in unstructured log streams. #12
base: master
Are you sure you want to change the base?
Use detect-exceptions plugin to detect exceptions in unstructured log streams. #12
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As a heads-up, we plan to move away from purely text-based default configs to more structured default configs (#10). So the usefulness of this change may be somewhat short-lived.
configs/config.d/cassandra.conf
Outdated
@@ -5,7 +5,7 @@ | |||
path /var/log/cassandra/system.log | |||
pos_file /var/lib/google-fluentd/pos/cassandra-system.pos | |||
read_from_head true | |||
tag cassandra | |||
tag detect_exceptions_java.cassandra |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should these be detect-exceptions-java.cassandra
instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, thanks.
max_lines 500 | ||
</match> | ||
|
||
<match detect-exceptions-go-ruby.**> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems somewhat arbitrary, and implies that we might need to add tags with multiple combinations of configs... I wonder if we could somehow extract the languages from the tag instead?..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Transmitting the info which languages to consider via the tag is a valid idea. However, since only Gitlab is affected by this and the limitation of the languages to consider is anyway a kind of micro-optimization (the plugin runs fine in production e.g. on GAE flex with considering all languages), I decided to rather get rid of this special case for now.
Hi Igor, comments addressed. PTAL. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM but I'd like @bmoyles0117 to approve as well.
Sorry, @thomasschickinger, this got lost in the ether for a while. |
@igorpeshansky can we resolve this PR? |
No description provided.