-
Notifications
You must be signed in to change notification settings - Fork 3
add alerting rule for pulsar components #56
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
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: ericsyh <ericshenyuhao@outlook.com>
Signed-off-by: ericsyh <ericshenyuhao@outlook.com>
Signed-off-by: ericsyh <ericshenyuhao@outlook.com>
| - alert: SizeableCompactedLedger | ||
| annotations: | ||
| summary: There is a topic that has a sizeable compacted ledger with more than 10 million entries (remove entries_count from the topic name in Grafana) | ||
| expr: sum(pulsar_compaction_compacted_entries_count{}) by (pod, cloud_streamnative_io_cluster) > 10000000 | ||
| for: 5m | ||
| labels: | ||
| severity: error |
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.
we can remove this alert rule, it's a common scenario to be monitored.
| - alert: BookiePodNotHealthy | ||
| annotations: | ||
| summary: Kubernetes Pod not healthy. | ||
| expr: sum by(mon_poolmember,namespace,pod,job) (label_replace(kube_job_labels{},"pod","$1","job_name","(.*)-decommission") == 1) AND ON (namespace,pod) kube_pod_status_ready{condition="true", pod =~".*-(bookie|bk)-.*"} == 0 AND ON (namespace,pod) kube_pod_info{created_by_kind!~"(Job|<none>)"} | ||
| for: 2m | ||
| labels: | ||
| severity: info |
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.
we can remove this one.
| - alert: BookieHighEntryReadLatency | ||
| annotations: | ||
| summary: Bookie Entry read P99 latency is over than 10s. | ||
| expr: avg_over_time(bookkeeper_server_READ_ENTRY_REQUEST{quantile="0.99", success="true"}[10m]) /1000 > 10 |
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.
| - alert: BrokerHighPublishLatency | ||
| annotations: | ||
| summary: Pulsar Broker P99 publish latency is over 1 second. | ||
| expr: sum(pulsar_broker_publish_latency{quantile="0.99"}) by (pod, cloud_streamnative_io_cluster) / 1000 > 1 | ||
| for: 5m | ||
| labels: | ||
| severity: warning |
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.
we can remove this one which is duplicated with the above one. user side should determine how long the pending time is.
No description provided.