Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tchoupinax/s3-prometheus-exporter
A simple configurable S3 exporter metrics for prometheus. Useful to track your backups.
https://github.com/tchoupinax/s3-prometheus-exporter
metrics prometheus-exporter s3 s3-exporter
Last synced: about 1 month ago
JSON representation
A simple configurable S3 exporter metrics for prometheus. Useful to track your backups.
- Host: GitHub
- URL: https://github.com/tchoupinax/s3-prometheus-exporter
- Owner: Tchoupinax
- Created: 2022-04-17T21:13:20.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-10-24T00:39:15.000Z (3 months ago)
- Last Synced: 2024-10-24T14:54:56.345Z (3 months ago)
- Topics: metrics, prometheus-exporter, s3, s3-exporter
- Language: TypeScript
- Homepage:
- Size: 928 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
Awesome Lists containing this project
README
# s3-prometheus-exporter
## Docker
```
docker pull tchoupinax/s3-prometheus-exporter
```## Configuration
- `S3_ACCESS_KEY`:
- `S3_BUCKET_NAME`: The name of the bucket to watch
- `S3_ENDPOINT`:
- `PORT`: The port on which the server listens
- `S3_PREFIXES`: The prefix of files to watch. You can provide a list separataed by a comma. (e.g `prefix1,prefix2`)
- `S3_SECRET_KEY`:## Exemples
When you provide prefixes like `pg,git` you will receive metrics built like this
```
s3_files_count_git 12
s3_files_count_pg 13
```Also, there is a global metrics that will take care about all files, whatever their prefix are
```
s3_files_count_global 25
```