Skip to content

A custom Prometheus exporter to obtain metric data from Cloud Eye Service of Open Telekom Cloud, convert them in Prometheus format and publish an endpoint so they are periodically scraped by Prometheus.

License

Notifications You must be signed in to change notification settings

akyriako/cloudeye-exporter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cloudeye-exporter

A custom Prometheus exporter that collects metrics from Open Telekom Cloud CloudEye service.

Usage

 ./cloudeye-exporter  -config=clouds.yml -debug 

The default port is 8087, default config file location is ./clouds.yml. If you want to enable debug mode and have more verbose logging use the flag -debug. After you run the exporter you can open https://localhost:8087/metrics?services=SYS.VPC,SYS.ELB in your browser and observe the exported metrics.

Help

Usage of ./cloudeye-exporter:
  -config string
        path to the cloud configuration file (default "./clouds.yml")
  -debug 
        provide extensive logging for debug purposes.
 

Example of config file(clouds.yml)

The respective auth_url endpoints per region can be get found at Identity and Access Management (IAM) endpoint list.

global:
  prefix: "opentelekomcloud"
  scrape_batch_size: 10

auth:
  auth_url: "https://iam.eu-XX.otc.t-systems.com/v3"
  project_name: "{project_name}"
  access_key: "{access_key}"
  secret_key: "{secret_key}"
  region: "{region}"

CCE Installation

Consult the instructions in README.md.

About

A custom Prometheus exporter to obtain metric data from Cloud Eye Service of Open Telekom Cloud, convert them in Prometheus format and publish an endpoint so they are periodically scraped by Prometheus.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 84.6%
  • Smarty 13.6%
  • Shell 1.8%