⬆️ Updating add-on Prometheus to d79d1fb

This commit is contained in:
Community Hass.io Add-ons Bot 2020-07-27 06:27:33 +00:00
parent b2ddafdb90
commit c95b973862
6 changed files with 180 additions and 0 deletions

View file

@ -463,6 +463,20 @@ Manage your Docker environment with ease
[:books: Portainer add-on documentation][addon-doc-portainer] [:books: Portainer add-on documentation][addon-doc-portainer]
### ✓ [Prometheus][addon-prometheus]
![Latest Version][prometheus-version-shield]
![Supports armhf Architecture][prometheus-armhf-shield]
![Supports armv7 Architecture][prometheus-armv7-shield]
![Supports aarch64 Architecture][prometheus-aarch64-shield]
![Supports amd64 Architecture][prometheus-amd64-shield]
![Supports i386 Architecture][prometheus-i386-shield]
![Docker Pulls][prometheus-pulls-shield]
Cloud native metrics
[:books: Prometheus add-on documentation][addon-doc-prometheus]
### ✓ [SQLite Web][addon-sqlite-web] ### ✓ [SQLite Web][addon-sqlite-web]
![Latest Version][sqlite-web-version-shield] ![Latest Version][sqlite-web-version-shield]
@ -752,6 +766,7 @@ on the correct GitHub repository matching the add-on.
- [Open an issue for the add-on: Node-RED][node-red-issue] - [Open an issue for the add-on: Node-RED][node-red-issue]
- [Open an issue for the add-on: Plex Media Server][plex-issue] - [Open an issue for the add-on: Plex Media Server][plex-issue]
- [Open an issue for the add-on: Portainer][portainer-issue] - [Open an issue for the add-on: Portainer][portainer-issue]
- [Open an issue for the add-on: Prometheus][prometheus-issue]
- [Open an issue for the add-on: SQLite Web][sqlite-web-issue] - [Open an issue for the add-on: SQLite Web][sqlite-web-issue]
- [Open an issue for the add-on: SSH & Web Terminal][ssh-issue] - [Open an issue for the add-on: SSH & Web Terminal][ssh-issue]
- [Open an issue for the add-on: Spotify Connect][spotify-issue] - [Open an issue for the add-on: Spotify Connect][spotify-issue]
@ -1116,6 +1131,16 @@ SOFTWARE.
[portainer-armhf-shield]: https://img.shields.io/badge/armhf-yes-green.svg [portainer-armhf-shield]: https://img.shields.io/badge/armhf-yes-green.svg
[portainer-armv7-shield]: https://img.shields.io/badge/armv7-yes-green.svg [portainer-armv7-shield]: https://img.shields.io/badge/armv7-yes-green.svg
[portainer-i386-shield]: https://img.shields.io/badge/i386-no-red.svg [portainer-i386-shield]: https://img.shields.io/badge/i386-no-red.svg
[addon-prometheus]: https://github.com/hassio-addons/addon-prometheus/tree/d79d1fb
[addon-doc-prometheus]: https://github.com/hassio-addons/addon-prometheus/blob/d79d1fb/README.md
[prometheus-issue]: https://github.com/hassio-addons/addon-prometheus/issues
[prometheus-version-shield]: https://img.shields.io/badge/version-d79d1fb-blue.svg
[prometheus-pulls-shield]: https://img.shields.io/docker/pulls/hassioaddons/prometheus-amd64.svg
[prometheus-aarch64-shield]: https://img.shields.io/badge/aarch64-yes-green.svg
[prometheus-amd64-shield]: https://img.shields.io/badge/amd64-yes-green.svg
[prometheus-armhf-shield]: https://img.shields.io/badge/armhf-no-red.svg
[prometheus-armv7-shield]: https://img.shields.io/badge/armv7-yes-green.svg
[prometheus-i386-shield]: https://img.shields.io/badge/i386-no-red.svg
[addon-sqlite-web]: https://github.com/hassio-addons/addon-sqlite-web/tree/85a29e1 [addon-sqlite-web]: https://github.com/hassio-addons/addon-sqlite-web/tree/85a29e1
[addon-doc-sqlite-web]: https://github.com/hassio-addons/addon-sqlite-web/blob/85a29e1/README.md [addon-doc-sqlite-web]: https://github.com/hassio-addons/addon-sqlite-web/blob/85a29e1/README.md
[sqlite-web-issue]: https://github.com/hassio-addons/addon-sqlite-web/issues [sqlite-web-issue]: https://github.com/hassio-addons/addon-sqlite-web/issues

1
prometheus/CHANGELOG.md Normal file
View file

@ -0,0 +1 @@
- Linter and build fixed (#3)

120
prometheus/DOCS.md Normal file
View file

@ -0,0 +1,120 @@
# Home Assistant Community Add-on: Prometheus
....
## Installation
The installation of this add-on is pretty straightforward and not different in
comparison to installing any other Home Assistant add-on.
1. Search for the "Prometheus" add-on in the Supervisor add-on store.
1. Install the "Prometheus" add-on.
1. Start the "Prometheus" add-on.
1. Check the logs of the "Prometheus" to see if everything went well.
1. Open the Web UI.
**Note**: The addon supports both Ingress and direct access, this is the default
## Configuration
There are no configuration options for the addon.
To add additional scrape targets you need to create a file per target in /share/prometheus/targets.
Example:
```yaml
---
job_name: 'octoprint'
scrape_interval: 5s
metrics_path: '/plugin/prometheus_exporter/metrics'
params:
apikey: ['VERYSECRETAPIKEY']
static_configs:
- targets: ['octoprint.example.org:5000']
```
**Note**: _This is just an example, don't copy and paste it! Create your own!_
The job names `home-assistant` and `prometheus` are already defined by default.
Rules can be created under `/share/prometheus/rules/`
The addon will reload the configuration if a valid configuration is available.
If not it will log errors in the addon log
## Known issues and limitations
- Job name must be unique, but this has to be enforced by the user.
- no alert manager yet
## Changelog & Releases
This repository keeps a change log using [GitHub's releases][releases]
functionality. The format of the log is based on
[Keep a Changelog][keepchangelog].
Releases are based on [Semantic Versioning][semver], and use the format
of ``MAJOR.MINOR.PATCH``. In a nutshell, the version will be incremented
based on the following:
- ``MAJOR``: Incompatible or major changes.
- ``MINOR``: Backwards-compatible new features and enhancements.
- ``PATCH``: Backwards-compatible bugfixes and package updates.
## Support
Got questions?
You have several options to get them answered:
- The [Home Assistant Community Add-ons Discord chat server][discord] for add-on
support and feature requests.
- The [Home Assistant Discord chat server][discord-ha] for general Home
Assistant discussions and questions.
- The Home Assistant [Community Forum][forum].
- Join the [Reddit subreddit][reddit] in [/r/homeassistant][reddit]
You could also [open an issue here][issue] GitHub.
## Authors & contributors
The original setup of this repository is by [Robbert Müller][mjrider].
For a full list of all authors and contributors,
check [the contributor's page][contributors].
## License
MIT License
Copyright (c) 2020-2020 Robbert Müller
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
[contributors]: https://github.com/hassio-addons/addon-Prometheus/graphs/contributors
[discord-ha]: https://discord.gg/c5DvZ4e
[discord]: https://discord.me/hassioaddons
[forum]: https://example.net
[mjrider]: https://github.com/mjrider
[issue]: https://github.com/hassio-addons/addon-prometheus/issues
[keepchangelog]: http://keepachangelog.com/en/1.0.0/
[reddit]: https://reddit.com/r/homeassistant
[releases]: https://github.com/hassio-addons/addon-prometheus/releases
[semver]: http://semver.org/spec/v2.0.0.htm

34
prometheus/config.json Normal file
View file

@ -0,0 +1,34 @@
{
"name": "Prometheus",
"version": "d79d1fb",
"slug": "prometheus",
"description": "Cloud native metrics",
"url": "https://github.com/hassio-addons/addon-prometheus",
"startup": "services",
"ingress": true,
"ingress_port": 9090,
"ingress_entry": "graph",
"panel_icon": "mdi:chart-timeline",
"panel_title": "Prometheus",
"arch": [
"aarch64",
"amd64",
"armv7"
],
"boot": "auto",
"hassio_api": true,
"homeassistant_api": true,
"hassio_role": "default",
"map": [
"share:rw"
],
"options": {},
"ports": {
"9090/tcp": null
},
"ports_description": {
"9090/tcp": "Not required for Ingress"
},
"schema": {},
"image": "hassioaddons/prometheus-{arch}"
}

BIN
prometheus/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
prometheus/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB