Skip to main content

Vaping

PyPI PyPI Tests CodeQL 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.

Release files for vaping 1.5.4

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

Source distribution (sdist)

Source distribution for vaping 1.5.4
File Size Uploaded
vaping-1.5.4.tar.gz 28.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vaping 1.5.4
File Interpreter ABI Platform
vaping-1.5.4-py3-none-any.whl Python 3 none any Details

Total release size: 61.0 kB

Release files / vaping-1.5.4.tar.gz

Download URL vaping-1.5.4.tar.gz
Size 28.1 kB
Tags Source
SHA-256 checksum
How to use checksums
5b733ce5c7490a758ef678734258b312e7257ef83700086452da982efb419d49
BLAKE2b-256 checksum
How to use checksums
6f50d807c04c16b998748fd702c7f649079087a9f2000f97f4ca148ded4ebed2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2

Release files / vaping-1.5.4-py3-none-any.whl

Download URL vaping-1.5.4-py3-none-any.whl
Size 32.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0d721fe59ce480d5cb5a70332a3dd72f3c6731b08a7e4bf0eda982b94815cd11
BLAKE2b-256 checksum
How to use checksums
450aefdb90405272be46b9503176ca4437894b369cd2dcf5ba01b8e439255086
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2

Release history Release notifications | RSS feed

This release

1.5.4 This release

2 release files

1.5.3

2 release files

1.5.2

2 release files

1.5.0

2 release files

1.4.3

2 release files

1.4.2

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.0

1 release file

1.2.0

1 release file

1.1.0

1 release file

1.0.1

1 release file

1.0.0

1 release file

0.6.1

1 release file

0.6.0

1 release file

0.5.0

1 release file

0.4.0

1 release file

0.3.0

1 release file

0.2.0

1 release file

0.1.0

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