-
Notifications
You must be signed in to change notification settings - Fork 2.6k
.maintain/monitoring: Add alert when continuous task ends #7250
Conversation
Through the `polkadot_tasks_ended_total` Prometheus metric one can tell when a task ended. Use this metric to alert when specific known-to-be-continuous tasks end on a node.
I'm not such a fan of hard-coding the task names here. Someone will unavoidably add a new task and forget to update this list. Not to mention the Polkadot-specific tasks. What do you think of |
I'm not actually sure that this works. |
|
Good idea. I just hope no one spawns a singleton task at startup for some setup work. I guess we will find out. Adjusted. Mind taking another look @tomaka? |
bot merge |
Trying merge. |
…up-updates * master: Async keystore + Authority-Discovery async/await (#7000) Fixes logging of target names with dashes (#7281) seal: Add automated weights for contract API calls (#7017) add ss58 id for nodle (#7279) Refactor CurrencyToVote (#6896) bump-allocator: document & poison (#7277) Reset flaming fir network (#7274) reschedule (#6860) Drop system cache for trie benchmarks (#7242) client: improve log formatting (#7272) Rework `InspectState` (#7271) SystemOrigin trait (#7226) Update ss58 registry for Dock network (#7263) .maintain/monitoring: Add alert when continuous task ends (#7250) Rename `TRANSACTION_VERSION` to `EXTRINSIC_VERSION` (#7258) Split block announce processing into two parts (#6958) Fix offchain election to respect the weight (#7215)
Through the
polkadot_tasks_ended_total
Prometheus metric one can tellwhen a task ended. Use this metric to alert when specific
known-to-be-continuous tasks end on a node.
This would catch bugs like #7000.