Skip to main content

Salt Extension for interacting with Prometheus

Project description

Salt Extension Modules for Prometheus

Documentation Status

This is a collection of Salt extension modules for use with Prometheus.

Security

If you think you've found a security vulnerability, see Salt's security guide.

User Documentation

This README is more for contributing to the project. If you just want to get started, check out the User Documentation.

Contributing

The saltext-prometheus project team welcomes contributions from the community.

The Salt Contributing guide has a lot of relevant information, but if you'd like to jump right in here's how to get started:

# Clone the repo
git clone --origin salt git@github.com:salt-extensions/saltext-prometheus.git

# Change to the repo dir
cd saltext-prometheus

# Create a new venv
python3 -m venv env --prompt salt-ext-prom
source env/bin/activate

# On mac, you may need to upgrade pip
python -m pip install --upgrade pip

# On WSL or some flavors of linux you may need to install the `enchant`
# library in order to build the docs
sudo apt-get install -y enchant

# Install extension + test/dev/doc dependencies into your environment
python -m pip install -e .\[tests,dev,docs\]

# Run tests!
python -m nox -e tests-3

# skip requirements install for next time
export SKIP_REQUIREMENTS_INSTALL=1

# Build the docs, serve, and view in your web browser:
python -m nox -e docs && (cd docs/_build/html; python -m webbrowser localhost:8000; python -m http.server; cd -)

Writing code isn't the only way to contribute! We value contributions in any of these areas:

You could also contribute in other ways:

  • Writing blog posts
  • Posting on social media about how you used Salt+Prometheus to solve your problems, including videos
  • Giving talks at conferences
  • Publishing videos
  • Asking/answering questions in IRC, Slack, or email groups

Any of these things are super valuable to our community, and we sincerely appreciate every contribution!

For more information, build the docs and head over to http://localhost:8000/ — that's where you'll find the rest of the documentation.

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

saltext.prometheus-2.1.0.tar.gz (55.4 kB view details)

Uploaded Source

Built Distribution

saltext.prometheus-2.1.0-py2.py3-none-any.whl (14.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file saltext.prometheus-2.1.0.tar.gz.

File metadata

  • Download URL: saltext.prometheus-2.1.0.tar.gz
  • Upload date:
  • Size: 55.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.8

File hashes

Hashes for saltext.prometheus-2.1.0.tar.gz
Algorithm Hash digest
SHA256 21793166ef52b35e072d172c96a0f649c7b23bb5a24525580f55e6267745546f
MD5 3c947e250f3d60cd1bb1c3e51d2870f8
BLAKE2b-256 099b98de6889fdf4986f4a2b745641abc90eb60905cfdc74d19a56ae62da1722

See more details on using hashes here.

File details

Details for the file saltext.prometheus-2.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for saltext.prometheus-2.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 610d44de747b6aa324fbb3484f17c88378fe4ea8bd8cc27aad47633e35abeb52
MD5 9329df462d0e1bb589f217438f3c234a
BLAKE2b-256 b291993e7578ca484c327697ea61b5becbb1590233d24434a611202ac2e42bcb

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