Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/balena-io-examples/meta-exporter
The People's Exporter
https://github.com/balena-io-examples/meta-exporter
Last synced: 22 days ago
JSON representation
The People's Exporter
- Host: GitHub
- URL: https://github.com/balena-io-examples/meta-exporter
- Owner: balena-io-examples
- Created: 2019-03-18T18:54:05.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-15T22:06:40.000Z (over 4 years ago)
- Last Synced: 2024-11-06T08:43:01.376Z (about 2 months ago)
- Language: TypeScript
- Homepage:
- Size: 31.3 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# meta-exporter
## Monitor many endpoints from one public URLBuilding off the initial monitoring backend build laid out in [part
1](https://www.balena.io/blog/monitoring-the-edge-with-prometheus-pt-1/), this example extends our monitoring stack to
include multiple on-device exporters, all aggregated in a way that makes scraping via public URL convenient and easy.This example project deploys a simple frontend exporter aggregator called the `meta-exporter`, which accepts a list of
URLs to scrape on `localhost`. Each URL can be passed as a comma-separated environment variable called `SCRAPE_URLS`.
These URL fragments should be structured like so: `{{port}}/{{path}}`. The `meta-exporter will in turn scrape each
listed exporter and return any data it receives. It will also return it's own scraping metadata as part of the scrape.This project includes some examples like `node-exporter` for machine metrics, as well as `blackbox-exporter` for
arbitrary service monitoring. Those examples are located in the [examples](./examples) folder and can be modified to
suit your needs. As written, the `blackbox-exporter` is configured to make a simple request against balenaCloud. You can
use the relevant `docker-compose.yml` stanzas and drop them into your own project as you see fit.