Giter VIP home page Giter VIP logo

scaleway_exporter's Introduction

Scaleway Exporter

Prometheus exporter for various metrics about your Scaleway Elements loadbalancers and managed databases, written in Go.

How to

$ export SCALEWAY_ACCESS_KEY=<access key goes here>
$ export SCALEWAY_SECRET_KEY=<secret key goes here>
$ ./scaleway_exporter
level=info ts=2022-07-19T13:25:40.352520863Z caller=main.go:83 msg="Scaleway Region is set to ALL"
level=info ts=2022-07-19T13:25:40.352550422Z caller=main.go:89 msg="starting scaleway_exporter" version= revision= buildDate= goVersion=go1.18.3
level=info ts=2022-07-19T13:25:40.352691527Z caller=main.go:145 msg=listening addr=:9503

By default, all the collectors are enabled (buckets, databases, loadbalancer, redis) over all Scaleway regions and zones. If needed, you can disable certain collections by adding the disable-bucket-collector, disable-database-collector, disable-redis-collector or disable-loadbalancer-collector flags to the command line. You can also limit the scraped region by setting the environment variable SCALEWAY_REGION=fr-par and the zone with the environment variable SCALEWAY_ZONE=fr-par-1 for instance.

TODO

  • Add more documentation
  • Example prometheus rules
  • Example grafana dashboard
  • Proper CI
  • Cross Region metrics pulling
  • More metrics ? (Container Registry size is available)
  • Ability to filter the kind of product (only database for example)
  • Register a new default port as it's using one from another Scaleway Exporter ? (see prometheus documentation)

Acknowledgements

This exporter is heavily inspired by the one for DigitalOcean

scaleway_exporter's People

Contributors

tdelmas avatar yoannma avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

scaleway_exporter's Issues

Support S3 ONEZONE_IA metrics

Scaleway recently launched a new storage class for s3 called "ONEZONA_IA" therefore it would be amazing if t he exporter could support it.

Feature request: export orphan/unattached resources

It would be nice to export the number of unattached resources in a scaleway project.

Eg:

  • unattached block storage
  • unattached IP
  • LB with no healthy backend
  • etc...

Labels:

  • project
  • resource type
  • optional: concat tags (eg: ["production", "api"] would become tags="production,api"

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.