Skip to main content

Watcher Metering Drivers

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)

Metadata

Release files for python-watcher_metering_drivers 0.21.0

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

Source distribution (sdist)

Source distribution for python-watcher_metering_drivers 0.21.0
File Size Uploaded Provenance Actions
python-watcher_metering_drivers-0.21.0.tar.gz 28.2 kB Without provenance Details for python-watcher_metering_drivers-0.21.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for python-watcher_metering_drivers 0.21.0
File Interpreter ABI Platform Actions
python_watcher_metering_drivers-0.21.0-py2-none-any.whl Python 2 none any Details for python_watcher_metering_drivers-0.21.0-py2-none-any.whl

Total release size: 69.1 kB

Release files / python-watcher_metering_drivers-0.21.0.tar.gz

Download URL python-watcher_metering_drivers-0.21.0.tar.gz
Size 28.2 kB
Tags Source
SHA-256 checksum
How to use checksums
0cfef3346fa7d8766749aa38a59eaae946b495b355425ba3d858eb262ba24d8d
BLAKE2b-256 checksum
How to use checksums
b879b550811196af52024f85599dbe5d1ae4068a311da882745663848a3a220e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / python_watcher_metering_drivers-0.21.0-py2-none-any.whl

Download URL python_watcher_metering_drivers-0.21.0-py2-none-any.whl
Size 40.9 kB
Tags Python 2
SHA-256 checksum
How to use checksums
6968ea8c605cf83552f46702637a198abbf6accd56dafd6b6d615415b0d8d7d5
BLAKE2b-256 checksum
How to use checksums
9b43521f809ec9c2bc932704700bdd1167569a7002ad6106c095f7fe842f2810
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for python-watcher_metering_drivers 0.21.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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