Skip to main content

A cwmon plugin for monitoring MySQL.

Project description

A cwmon plugin for monitoring MySQL.

  • Free software: BSD license

Installation

pip install cwmon-mysql

Documentation

https://cwmon-mysql.readthedocs.io/

Development

To run the all tests run:

tox

Note, to combine the coverage data from all the tox environments run:

Windows

set PYTEST_ADDOPTS=--cov-append
tox

Other

PYTEST_ADDOPTS=--cov-append tox

Changelog

0.5.0 (2016-10-18)

Changes

  • Update version of cwmon dependency. [Hank Gay]

Other

  • Bump version: 0.4.0 → 0.5.0. [Hank Gay]

  • Merge branch ‘release/0.4.0’ into develop. [Hank Gay]

0.4.0 (2016-10-17)

Changes

  • Update changelog. [Hank Gay]

  • Bump version requirement for cwmon. [Hank Gay]

Fix

  • Send 0 instead of None. [Hank Gay]

  • Send 0 instead of ‘0’ when no deadlocks detected. [Hank Gay]

Other

  • Bump version: 0.3.0 → 0.4.0. [Hank Gay]

  • Merge branch ‘release/0.3.0’ into develop. [Hank Gay]

  • Provide actual usage sample. [Hank Gay]

  • Allow command chaining. [Hank Gay]

  • Send 0 instead of None for metrics values. [Hank Gay]

0.3.0 (2016-10-17)

New

  • Provide actual usage sample. [Hank Gay]

  • Allow command chaining. [Hank Gay]

Changes

  • Update changelog. [Hank Gay]

  • Send booleans as 1 (True) or 0 (False). [Hank Gay]

Fix

  • Send 0 instead of None for metrics values. [Hank Gay]

Other

  • Merge branch ‘release/0.3.0’ [Hank Gay]

  • Bump version: 0.2.2 → 0.3.0. [Hank Gay]

  • Merge branch ‘release/0.2.2’ into develop. [Hank Gay]

  • Use integers for metric values where appropriate. [Hank Gay]

  • Merge branch ‘release/0.2.1’ into develop. [Hank Gay]

0.2.2 (2016-10-14)

Changes

  • Update changelog. [Hank Gay]

Fix

  • Send booleans as 1 (True) or 0 (False). [Hank Gay]

  • Use integers for metric values where appropriate. [Hank Gay]

Other

  • Merge branch ‘release/0.2.2’ [Hank Gay]

  • Bump version: 0.2.1 → 0.2.2. [Hank Gay]

0.2.1 (2016-10-13)

  • Merge branch ‘release/0.2.1’ [Hank Gay]

  • Update changelog. [Hank Gay]

  • Bump version: 0.2.0 → 0.2.1. [Hank Gay]

  • Merge branch ‘release/0.2.0’ into develop. [Hank Gay]

0.2.0 (2016-10-13)

New

  • Expose new metrics on CLI. [Hank Gay]

  • Happy path tests for new metrics. [Hank Gay]

  • Add initial test for metrics. [Hank Gay]

  • Add happy-path test of deadlocks subcommand. [Hank Gay]

  • First draft of CLI for new deadlocks metric. [Hank Gay]

  • First draft of an actual MySQL metric (InnoDB deadlocks). [Hank Gay]

  • Add ‘echo’ subcommand to aid in debugging. [Hank Gay]

  • Make all MySQL commands accept connection parameters. [Hank Gay]

  • Stub in a MySQL command group under ‘cwmon’. [Hank Gay]

Changes

  • Tell Travis to run MySQL for us. [Hank Gay]

  • Make deadlocks metric robust on non-Percona servers. [Hank Gay]

  • Use real MySQL connection (as pytest fixture) when testing metrics. [Hank Gay]

  • Change the defaults to improve testability. [Hank Gay]

  • Remove ‘echo’ command, since we have an actual command now. [Hank Gay]

  • Pull MySQL credentials from env vars to improve testability. [Hank Gay]

  • Remove trailing blank line. [Hank Gay]

Fix

  • Fix Seconds Behind Master metric (it was trying to use wrong status info as datasource). [Hank Gay]

  • Stop manually associating mysql subgroup to cwmon group. [Hank Gay]

    The click-plugins library is already taking care of that for me. Removing the code that attempts to make the association manually causes the subgroup to start loading properly.

Other

  • Merge branch ‘release/0.2.0’ [Hank Gay]

  • Update changelog. [Hank Gay]

  • Bump version: 0.1.0 → 0.2.0. [Hank Gay]

  • Dev: Add dependency on oursql. [Hank Gay]

  • Register the ‘mysql’ command group as a plugin to cwmon. [Hank Gay]

  • Doc: Fix license file to identify RescueTime as the copyright holder. [Hank Gay]

  • Doc: Fix RST for coveralls badge. [Hank Gay]

  • Doc: linkify ‘cwmon’ in short description. [Hank Gay]

  • Doc: Do some badge tweaking. [Hank Gay]

  • Don’t point Travis-CI to non-existent tox envs. [Hank Gay]

  • Doc: list ‘tox’ as a dev dependency. [Hank Gay]

  • Doc: List some basic dev dependencies. [Hank Gay]

  • Doc: Update package keywords. [Hank Gay]

  • Stop pretending to support Python 2; this is Python 3-only. [Hank Gay]

  • Doc: Point to RescueTime org instead of personal account for 3rd-party support services. [Hank Gay]

  • Tell bumpversion not to tag in git (because we use git flow for that). [Hank Gay]

  • Initial project skeleton. [Hank Gay]

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

cwmon_mysql-0.5.0-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file cwmon_mysql-0.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for cwmon_mysql-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 262e40e0ed70d43d261c40f4658ef6514c01d53273945f52092b219879789650
MD5 52b523b647e7ff0c5ea12b4f32dcde29
BLAKE2b-256 1910f862c998305c5330125f882170f8bee7d281a80956fb965a83dc8af105e5

See more details on using hashes here.

Supported by

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