Coder Social home page Coder Social logo

mjzlotr / cloudeye-exporter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from akyriako/cloudeye-exporter

0.0 0.0 0.0 67.59 MB

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: Apache License 2.0

Shell 1.14% Go 98.42% Smarty 0.45%

cloudeye-exporter's Introduction

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 http://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.

cloudeye-exporter's People

Contributors

akyriako avatar zhongjun2 avatar kunfenghe avatar vincentlyj avatar glovethu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.