跳转到主要内容

Salt与Prometheus交互的扩展

项目描述

Salt扩展模块集,用于Prometheus

Documentation Status

这是用于Prometheus的Salt扩展模块集合。

安全

如果您认为发现了安全漏洞,请参阅 Salt的安全指南

用户文档

此README主要用于贡献项目。如果您只想开始使用,请查看 用户文档

贡献

saltext-prometheus项目团队欢迎社区贡献。

有关更多信息,请参阅 Salt贡献指南,但如果您想立即开始,以下是开始的步骤

# 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 -)

编写代码不是唯一的贡献方式!我们在以下任何领域的贡献都很重视

您也可以以其他方式做出贡献

  • 撰写博客文章
  • 在社交媒体上发布您如何使用 Salt+Prometheus 解决问题的内容,包括视频
  • 在会议上发表演讲
  • 发布视频
  • 在 IRC、Slack 或电子邮件组中提问/回答问题

以上任何一项对我们社区来说都非常有价值,我们真诚地感谢每一份贡献!

有关更多信息,请构建文档并前往 http://localhost:8000/ —— 那里您可以找到其他文档。

项目详情


下载文件

下载适用于您平台的应用程序文件。如果您不确定要选择哪个,请了解有关 安装软件包 的更多信息。

源分发

saltext.prometheus-2.1.0.tar.gz (55.4 kB 查看散列

上传时间

构建分发

saltext.prometheus-2.1.0-py2.py3-none-any.whl (14.4 kB 查看散列

上传时间 Python 2 Python 3

由以下机构支持