Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thibaut-gauvin/kie
testing develop custom prometheus-exporter
https://github.com/thibaut-gauvin/kie
Last synced: 8 days ago
JSON representation
testing develop custom prometheus-exporter
- Host: GitHub
- URL: https://github.com/thibaut-gauvin/kie
- Owner: Thibaut-gauvin
- License: other
- Created: 2024-03-18T01:24:36.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-11-02T09:04:48.000Z (14 days ago)
- Last Synced: 2024-11-02T10:17:07.371Z (14 days ago)
- Language: Go
- Homepage:
- Size: 96.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# KIE Kubernetes Image Exporter
## About
`kubernetes-image-exporter`, e.g. `kie` exports Prometheus metrics about image usage in your cluster.## Install
### Helm
```sh
git clone [email protected]:Thibaut-gauvin/kie.git
cd kie
helm upgrade -i kie -n default ./charts/kubernetes-image-exporter
helm test kie -n default
```## Usages
```sh
kie -h
Available Commands:
help Help about any command
serve Start kie server.
version print current kie versionFlags:
-h, --help help for kie
-l, --log-level string Log level. Can be any standard log-level ("info", "debug", etc...) (default "info")
``````sh
kie serve -h
Start kie server.Usage:
kie serve [flags]Flags:
-h, --help help for serve
-k, --kubeconfig string path to kubeconfig used to authenticate with cluster when your running kie locally. If not provided, use service-account from pod.
-p, --listen-port string the listening port that kie server will use. (default "9145")
-i, --refresh-interval int metrics values refresh interval in seconds. (default 30)Global Flags:
-l, --log-level string Log level. Can be any standard log-level ("info", "debug", etc...) (default "info")
```## Exported metrics
- `kie_cluster_images_running`
labels: `{"name", "tag", "digest", "pod"}`
type: `gauge`