A tool for realtime monitoring of running, queued and blocked queries in Snowflake
Project description
SnowKill
SnowKill is a realtime query monitoring tool for Snowflake.
SnowKill helps to detect potential problems with queries which are currently running. It analyzes query plans, generates notifications and possibly terminates ("kills") queries automatically.
SnowKill provides results much faster relative to conventional monitoring tools operating on finished queries data from QUERY_HISTORY and GET_QUERY_OPERATOR_STATS.
The core logic of SnowKill relies on REST API calls. It does not require an active warehouse, which makes this kind of monitoring nearly free of charge.
How does it work?
- Load list of queries which are currently
RUNNING,QUEUEDorBLOCKED. - Load additional information about query plans and active locks, if necessary.
- Check queries against list of fully customizable conditions.
- Optionally terminate matched queries exceeding specific thresholds.
- Detect and skip previously reported queries, avoid duplicates.
- Send notifications about newly detected queries (via Slack, Email, etc.).
Documentation
(coming soon!)
Issues? Questions? Feedback?
Please use GitHub "Issues" to report bugs and technical problems.
Please use GitHub "Discussions" to ask questions and provide feedback.
Created by
Vitaly Markov, 2023
Enjoy!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file snowkill-0.3.0.tar.gz.
File metadata
- Download URL: snowkill-0.3.0.tar.gz
- Upload date:
- Size: 19.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
368646016528de1ce3532815a1062120a98c81b27745341f9038b3c5c7a94ae9
|
|
| MD5 |
2ad70fd90e2f0b586ad3ec5617eded8a
|
|
| BLAKE2b-256 |
60c5812fedadcef003e67c765730279886dbfd3785eda803be5b579a94bb3c3a
|
File details
Details for the file snowkill-0.3.0-py3-none-any.whl.
File metadata
- Download URL: snowkill-0.3.0-py3-none-any.whl
- Upload date:
- Size: 25.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c1e45bfd828e9a1598080fe997d1349511db9467882b94bcd6997afcb025bd4
|
|
| MD5 |
978c68679f5dae375f7d6648896d6039
|
|
| BLAKE2b-256 |
402542da30c5f65d468d067bb9a0945393d84fb5a98ea3244a49220a252bc505
|