Skip to main content

Drivers for the Watcher Metering agent

Project description

Introduction

Watcher Metering Drivers provides a set of metric-pulling drivers extending the python-watcher_metering package.

Watcher Metering collects system metrics and publishes them to a store. To do so, it is composed of two elements:

  • The Agent who collects the desired metrics and sends it to a publisher. The Agent is meant to run on each monitored host (container, VM, …)

  • The Publisher who gathers measurements from one or more agent and pushes them to the desired store. The currently supported stores are Riemann (for CEP) and Ceilometer.

This package is part of the Watcher project.

For more information on Watcher, you can also refer to its OpenStack wiki page.

Getting started

System requirements

As this package extends python-watcher_metering, please make sure you installed its system dependencies before continuing.

Installation

To install this package, just use pip:

$ pip install python-watcher_metering_drivers

Activate a driver

Within the your watcher metering configuration file, add the name of the driver entry point you wish to enable.

As an example, if you wish to acticate both the cpu_user and the disk_free drivers, just edit the aforementioned configuration file like this:

[agent]
driver_names =  cpu_user,disk_free
# ...

Running the application

To run our Watcher Metering agent, you can use the following command

Driver configuration

To configure a driver, you can specify it in a separate configuration file. Please refer to the comments left within the $(ROOT_DIR)/etc/watcher-metering/watcher-metering-drivers.conf sample to get more details on the configuration options.

Then, to run the agent using our driver configuration, you can use the following command:

$ watcher-metering-agent \
    --config-file=$(WATCHER_METERING_AGENT_CONFIG_FILE)
    --config-file=$(WATCHER_METERING_DRIVERS_CONFIG_FILE)

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

python-watcher_metering_drivers-0.20.0.tar.gz (27.0 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file python-watcher_metering_drivers-0.20.0.tar.gz.

File metadata

File hashes

Hashes for python-watcher_metering_drivers-0.20.0.tar.gz
Algorithm Hash digest
SHA256 3cf4d8e74f2b33dc2f9be2a023b714dcfa013c227055be9a2a98a50b9a47b69d
MD5 0686963c5d753fff686c79968cd91c1d
BLAKE2b-256 e137076cbf0c51b34fd67f35d05fbffa2f3989cb8262069ca5b8ea42add86a50

See more details on using hashes here.

File details

Details for the file python_watcher_metering_drivers-0.20.0-py2-none-any.whl.

File metadata

File hashes

Hashes for python_watcher_metering_drivers-0.20.0-py2-none-any.whl
Algorithm Hash digest
SHA256 6c7b5e509dda61d37e2827d239ba7b6e79d1ebe9cdc5b67f28c3ecad379d5b5a
MD5 db72137d3578bfb481705c5bf89c56c5
BLAKE2b-256 a15d9706f3c1def58bc475331aeb6e922d13e74b3dcc28b1335ac26b41769655

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