-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Documentation and environment variables
- Loading branch information
Showing
6 changed files
with
90 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# 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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# cloudian-exporter | ||
|
||
![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square) | ||
|
||
A Helm chart for cloudian-exporter | ||
|
||
**Homepage:** <https://github.com/dodevops/cloudian-exporter> | ||
|
||
## Source Code | ||
|
||
* <https://github.com/dodevops/cloudian-exporter> | ||
|
||
## Values | ||
|
||
| Key | Type | Default | Description | | ||
|-----|------|---------|-------------| | ||
| configuration.cloudian.authSecret.name | string | `""` | name that holds the cmc credentials | | ||
| configuration.cloudian.authSecret.passwordKey | string | `"password"` | secret key that holds the password | | ||
| configuration.cloudian.authSecret.usernameKey | string | `"username"` | secret key that holds the username | | ||
| configuration.cloudian.url | string | `""` | url to the cloudian cmc REST api | | ||
| configuration.exporter.loglevel | string | `""` | exporter log level | | ||
| configuration.exporter.refresh | int | `5` | refresh interval for cloudian metrics | | ||
|
||
---------------------------------------------- | ||
Autogenerated from chart metadata using [helm-docs v1.14.0](https://github.com/norwoodj/helm-docs/releases/v1.14.0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters