Skip to main content

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?

  1. Load list of queries which are currently RUNNING, QUEUED or BLOCKED.
  2. Load additional information about query plans and active locks, if necessary.
  3. Check queries against list of fully customizable conditions.
  4. Optionally terminate matched queries exceeding specific thresholds.
  5. Detect and skip previously reported queries, avoid duplicates.
  6. Send notifications about newly detected queries (via Slack, Email, etc.).

Diagram

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

snowkill-0.3.0.tar.gz (19.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

snowkill-0.3.0-py3-none-any.whl (25.7 kB view details)

Uploaded Python 3

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

Hashes for snowkill-0.3.0.tar.gz
Algorithm Hash digest
SHA256 368646016528de1ce3532815a1062120a98c81b27745341f9038b3c5c7a94ae9
MD5 2ad70fd90e2f0b586ad3ec5617eded8a
BLAKE2b-256 60c5812fedadcef003e67c765730279886dbfd3785eda803be5b579a94bb3c3a

See more details on using hashes here.

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

Hashes for snowkill-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8c1e45bfd828e9a1598080fe997d1349511db9467882b94bcd6997afcb025bd4
MD5 978c68679f5dae375f7d6648896d6039
BLAKE2b-256 402542da30c5f65d468d067bb9a0945393d84fb5a98ea3244a49220a252bc505

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page