https://github.com/dodevops/cloudian-exporter
Cloudian S3 bucket metrics exporter
https://github.com/dodevops/cloudian-exporter
Last synced: 2 months ago
JSON representation
Cloudian S3 bucket metrics exporter
- Host: GitHub
- URL: https://github.com/dodevops/cloudian-exporter
- Owner: dodevops
- License: mit
- Created: 2024-10-30T12:18:42.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-04T07:43:34.000Z (over 1 year ago)
- Last Synced: 2025-12-26T02:29:23.827Z (6 months ago)
- Language: Go
- Size: 24.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cloudian metrics exporter
This Prometheus exporter provides a metrics endpoint with metrics from a [Cloudian](https://cloudian.com/) installation.
**Note**: This is not affiliated in any way with Cloudian and Cloudian does not offer support for this.
## Configuration
The exporter requires the following configuration using environment variables:
* CLOUDIAN_URL: Cloudian CMC REST api base URL (e.g. https://cmc.company.com:19443)
* CLOUDIAN_USERNAME: REST api username (usually sysadmin)
* CLOUDIAN_PASSWORD: REST api password
* EXPORTER_REFRESH: Interval (in minutes) in which the metric values are updated [5]
* EXPORTER_LOGLEVEL: Loglevel to use [info]
* EXPORTER_LISTEN: Port to listen to [8080]
## Usage
Aside from building the go binary and running it, a container is available as well. Run it using e.g.:
docker run --rm -it -P -e CLOUDIAN_URL=... -e CLOUDIAN_USERNAME=... -e CLOUDIAN_PASSWORD=... ghcr.io/dodevops/cloudian-exporter:main
## Exported metrics
* cloudian_bucket_size: Size of a bucket in Cloudian in bytes
* Labels available
* group_id: Group in Cloudian
* user_id: User holding the bucket
* bucket: Bucket name