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

Example filters and alerts #47

Open
StevenLacerda opened this issue Aug 25, 2021 · 0 comments
Open

Example filters and alerts #47

StevenLacerda opened this issue Aug 25, 2021 · 0 comments

Comments

@StevenLacerda
Copy link

StevenLacerda commented Aug 25, 2021

We should have more examples of alerts and filters. Here's a filter that helped the performance go from about 20s to under 1s whittling the metrics down from 115k to 3.5k:

filtering_rules:
 - policy: deny
   pattern: system_auth
   scope: global

 - policy: deny
   pattern: org\.apache\.cassandra\.metrics\.(keyspace|table).*(system_(?!auth)|system\.(?!(paxos|batches))|ds_|solr_admin|system$).*
   scope: global

 - policy: deny
   pattern: org\.apache\.cassandra\.metrics\.client_request\..*\.cas_(read|write)
   scope: global

 - policy: deny
   pattern: org\.apache\.cassandra\.metrics\.keyspace.*
   scope: global

 - policy: deny
   pattern: org\.apache\.cassandra\.metrics\.table\.cas.*
   scope: global

 - policy: deny
   pattern: org\.apache\.cassandra\.metrics\.table\.percent_repaired.*
   scope: global

 - policy: deny
   pattern: org\.apache\.cassandra\.metrics\.table\.row_cache.*
   scope: global

 - policy: deny
   pattern: org\.apache\.cassandra\.metrics\.table\.view.*
   scope: global

 - policy: deny
   pattern: org\.apache\.cassandra\.metrics\.table\.bytes_anticompacted.*
   scope: global

 - policy: deny
   pattern: org\.apache\.cassandra\.metrics\.table\.bytes_mutated_anticompaction.*
   scope: global

 - policy: deny
   pattern: org\.apache\.cassandra\.metrics\.table\.memtable_switch_count.*
   scope: global

I don't have any alert examples, but we should create some.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant