Skip to content

Conversation

@ericsyh
Copy link
Contributor

@ericsyh ericsyh commented Sep 11, 2024

No description provided.

Signed-off-by: ericsyh <ericshenyuhao@outlook.com>
Signed-off-by: ericsyh <ericshenyuhao@outlook.com>
Signed-off-by: ericsyh <ericshenyuhao@outlook.com>
@ericsyh ericsyh requested review from a team as code owners September 11, 2024 03:16
@ericsyh ericsyh changed the title [WIP]: add alerting rule for pulsar components add alerting rule for pulsar components Oct 22, 2024
Comment on lines +41 to +47
- 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

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.

Comment on lines +120 to +126
- 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

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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment on lines +34 to +40
- 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

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.

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

Successfully merging this pull request may close these issues.

3 participants