Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jonfairbanks/sysmetrics
Publish basic system metrics to Influx Cloud
https://github.com/jonfairbanks/sysmetrics
influxdb influxdb-python metrics metrics-exporter
Last synced: 5 days ago
JSON representation
Publish basic system metrics to Influx Cloud
- Host: GitHub
- URL: https://github.com/jonfairbanks/sysmetrics
- Owner: jonfairbanks
- Created: 2022-04-19T08:09:55.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-09-10T08:10:55.000Z (over 2 years ago)
- Last Synced: 2024-12-29T01:42:19.344Z (18 days ago)
- Topics: influxdb, influxdb-python, metrics, metrics-exporter
- Language: Python
- Homepage: https://hub.docker.com/r/jonfairbanks/sysmetrics
- Size: 1.24 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# sysmetrics
Publish basic system metrics to Influx Cloud
![sysmetrics](sysmetrics.png)
### Setup
- [Create a free Influx Cloud account](https://cloud2.influxdata.com/signup)
- Create an Influx Cloud Bucket (system-metrics) and API Token### Usage
The following env variables are **required**:
- INFLUX_TOKEN: API Token provided by Influx Cloud
- INFLUX_ORG: Your Influx Cloud organization name
- INFLUX_BUCKET: Your Influx Cloud bucket name (Default: `system-metrics`)Additional supported env variables include:
- DEBUG: Enable or disable in-app debug logging (Default: `False`)
- DEVICE: Preferred name for this device (Default: `My Device`)
- INFLUX_HOST: Host of the Influx Cloud bucket (Default: `https://us-central1-1.gcp.cloud2.influxdata.com`)### Launch
The application can be launched with `docker-compose`:
```
docker-compose up -d
```### Dashboard
A sample dashboard is provided in this repo and can be imported:
- Ensure that sysmetrics is running
- Login to Influx Cloud and go to Dashboards
- Use the dropdown on `Create Dashboard` to import the template