Skip to main content

vaping is a healthy alternative to smokeping!

Project description

Vaping

PyPI PyPI Tests LGTM Grade Codecov

vaping is a healthy alternative to smokeping!*

  • (This statement has not been evaluated by the Food and Drug Administration)

Vaping

Introduction

Vaping provides the following features:

  • Real-time latency graphing viewable in the browser
  • Line and smokestack graphs
  • Containerized and easy to setup and configure
  • Support for time-series databases
  • Plugin-based design to allow integration with other services
  • Supports distributed setups through message queue

Vaping is a Python daemon which polls for input and sends its output through plugins.

It has a standalone mode to directly serve realtime graphs in a browser, or can use ZeroMQ to distribute messages.

Installation

pip install vaping

You will need a compiler and Python development libraries for some components, which you can obtain with the gcc and python-devel packages for your operating system.

Alternatively, you can use the Docker image, which includes all requirements.

Quick Start

To use Vaping, you need first a configuration file that defines which hosts to target and where to send the output. You can have a look at the examples in this repository and adapt them to your needs.

Then, start the vaping program from the command line, specifying the path to the configuration file.

A quick start example is available here. It shows you how to ping multiple hosts and display the resulting graphs using a local web server.

Usage

Vaping has a command-line interface with the following usage:

Usage: vaping [OPTIONS] COMMAND [ARGS]...

  Vaping

Options:
  --version    Show the version and exit.
  --quiet      no output at all
  --verbose    enable more verbose output
  --home TEXT  specify the home directory, by default will check in order:
               $VAPING_HOME, ./.vaping, ~/.config/vaping
  --debug      enable extra debug output
  --help       Show this message and exit.

Commands:
  start    start a vaping process
  stop     stop a vaping process
  restart  restart a vaping process

start

Starts a vaping process, by default will fork into the background unless --debug or --no-fork is passed.

It adds options:

  -d, --no-fork  do not fork into background

stop

Stops a vaping process identified by $VAPING_HOME/vaping.pid

Documentation

Documentation is created with mkdocs and available here:

stable: http://vaping.readthedocs.io/en/stable/

latest: http://vaping.readthedocs.io/en/latest/

Changes

The current change log is available at https://github.com/20c/vaping/blob/master/CHANGELOG.md

License

Copyright 2016-2021 20C, LLC

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this software except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

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

vaping-1.5.2.tar.gz (28.6 kB view details)

Uploaded Source

Built Distribution

vaping-1.5.2-py3-none-any.whl (33.0 kB view details)

Uploaded Python 3

File details

Details for the file vaping-1.5.2.tar.gz.

File metadata

  • Download URL: vaping-1.5.2.tar.gz
  • Upload date:
  • Size: 28.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.0

File hashes

Hashes for vaping-1.5.2.tar.gz
Algorithm Hash digest
SHA256 b497a1b1c6390cd19ef69e2b188cbab4dabb978cae82a979db055c5220a33308
MD5 2d9ef7e05469df7af045d8b106f33c64
BLAKE2b-256 b74d0afba751c27f86b7fe06a678f7ed6527d6a84e1af1bfbacd124877834be3

See more details on using hashes here.

File details

Details for the file vaping-1.5.2-py3-none-any.whl.

File metadata

  • Download URL: vaping-1.5.2-py3-none-any.whl
  • Upload date:
  • Size: 33.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.0

File hashes

Hashes for vaping-1.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 15fd6b6a35e90482fbf01b3f3f4a0d09ca4181263e1464446d15010ef2eb6a12
MD5 772f2ff5d65be17f679de4ce71a95767
BLAKE2b-256 344ac9d35b9c3697fa3671a771aad42db98bf2f6d943bafef8487cc65ab9c3b4

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