Skip to main content

data_kennel

Codacy Badge Build Status License PyPi Package Coverage Badge Python Versions Downloads

Data Kennel is a CLI tool for managing Datadog infrastructure.

About Amplify

Amplify builds innovative and compelling digital educational products that empower teachers and students across the country. We have a long history as the leading innovator in K-12 education - and have been described as the best tech company in education and the best education company in tech. While others try to shrink the learning experience into the technology, we use technology to expand what is possible in real classrooms with real students and teachers.

Learn more at https://www.amplify.com

Getting Started

Prerequisites

Data Kennel requires the following software to be installed: * python >= 2.7

For development: * tox >= 2.9.1

Installing/Building

Data Kennel can be installed from pip.

pip install data_kennel

For local development, Data Kennel also includes a setup script.

python setup.py develop

Credentials

Data Kennel expects your Datadog API and APP keys to be available as environment variables, as DATADOG_API_KEY and DATA_KENNEL_APP_KEY. Here is an example:

# Data Kennel Envvars
export DATADOG_API_KEY="change_me"
export DATA_KENNEL_APP_KEY="change_me"

You can create API and APP keys in the Datadog console.

Running Tests

Data Kennel has lint checks and unit tests for use when developing. Simply run tox.

tox

Supported Operations

Monitor Management

Data Kennel currently supports listing, syncing, and deleting simple and composite monitors. Composite monitors are monitors that are composed of several other monitors. This is achieved through the dk_monitor command. dk_monitor has the following options available: * list * update * delete

See dk_monitor -h for more information and data_kennel.yml.example for an example of the configuration file.

Roadmap

  • Add support for OR boolean operator in composite monitors.

  • Add support for managing Datadog dashboards.

  • Add support for managing Datadog downtimes.

  • Add support for sending arbitrary Datadog events.

  • Add support for queryng arbitrary Datadog metrics.

Responsible Disclosure

If you have any security issue to report, contact project maintainers privately. You can reach us at github@amplify.com

Contributing

We welcome pull requests! For your pull request to be accepted smoothly, we suggest that you: 1. For any sizable change, first open a GitHub issue to discuss your idea. 2. Create a pull request. Explain why you want to make the change and what it’s for. We’ll try to answer any PRs promptly.

Release files for data-kennel 1.0.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for data-kennel 1.0.12
File Size Uploaded
data_kennel-1.0.12.tar.gz 13.5 kB Details

Release files / data_kennel-1.0.12.tar.gz

Download URL data_kennel-1.0.12.tar.gz
Size 13.5 kB
Tags Source
SHA-256 checksum
How to use checksums
4ebbaab8c7de983557dcb7def9cd981fc23482cc83a1598ba388bb9a09e6523e
BLAKE2b-256 checksum
How to use checksums
5098c8dd5d6015dce62fff5ba5fd651ba02ca3c48da54b7951d0236b142ef03b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/2.7.14

Release history Release notifications | RSS feed

This release

1.0.12 This release

1 release file

1.0.11

1 release file

1.0.10

1 release file

1.0.9

1 release file

1.0.8

1 release file

1.0.7

1 release file

1.0.6.1

1 release file

1.0.6

1 release file

1.0.5

1 release file

1.0.4

1 release file

1.0.3

1 release file

1.0.2

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page