Giter VIP home page Giter VIP logo

minio-exporter's Introduction

MINIO EXPORTER

A Prometheus exporter for Minio cloud storage server

Compatibility

minio-exporter version Minio version
v0.1.0 <= RELEASE.2018-01-02T23-07-00Z
v0.2.0 == RELEASE.2018-01-18T20-33-21Z

Build and launch the exporter as following.

make
./minio_exporter [flags]

Flags

./minio_exporter --help
Flag Description Default
version Print version number and leave
web.listen-address The address to listen on to expose metrics. :9290
web.telemetry-path The listening path for metrics. /metrics
minio.server The URL of the minio server. Use HTTPS if Minio accepts secure connections only. http://localhost:9000
minio.access-key The value of the Minio access key. It is required in order to connect to the server ""
minio.access-secret The calue of the Minio access secret. It is required in order to connect to the server ""
minio.bucket-stats Collect statistics about the buckets and files in buckets. It requires more computation, use it carefully in case of large buckets. false
./minio_exporter -minio.server another-host:9000 -minio.access-key "login_name" -minio.access-secret "login_password"

Run with Docker

You can execute the exporter using the Docker image.

docker pull joepll/minio-exporter
docker run -p 9290:9290 joepll/minio-exporter -minio.server "minio.host:9000" -minio.access-key "login_name" -minio.access-secret "login_secret"

The same result can be achieved with Enviroment variables.

  • LISTEN_ADDRESS: is the exporter address, as the option web.listen-address
  • METRIC_PATH: the telemetry path. It corresponds to web.telemetry-path
  • MINIO_URL: the URL of the Minio server, as minio.server
  • MINIO_ACCESS_KEY: the Minio access key (minio.access-key)
  • MINIO_ACCESS_SECRET: the Minio access secret (minio.access-secret)
docker run \
       -p 9290:9290 \
       -e "MINIO_URL=http://host.local:9000" \
       -e "MINIO_ACCESS_KEY=loginname" \
       -e "MINIO_ACCESS_SECRET=password" \
       joepll/minio-exporter

Exported metrics

Metric Description Default
minio_collector_success Whether or not the collector succeeded true
minio_collector_duration_seconds Duration in second spent in collecting metrics true
minio_uptime Server uptime in seconds true
minio_conn_total_input_bytes The number of total bytes received in input from the server true
minio_conn_total_output_bytes The number of total bytes transmitted by the server true
minio_storage_total_disk_space The number of bytes of the total storage available in Minio true
minio_storage_free_disk_space The remaining disk space in bytes true
minio_storage_online_disks Count containing the available number of disks true
minio_offline_disks The number of disks not reachable by the servers true
minio_read_quorum Minio read quorum true
minio_write_quorum Minio write quorum true
minio_storage_type The type of storaged used by Minio. It can be 1 = FS or 2 = Erasure true
minio_buckets_object_number The number of objects for each bucket. The bucket name is expressed in a label false
minio_objects_total_size The total size of all the objects per bucket. false
minio_max_object_size The biggest element in size into the bucket false
minio_incomplete_uploads_number The number of incomplete updloads false
minio_incomplete_uploads_total_size Total size in bytes of all the objects incomplete upload per bucket false

minio-exporter's People

Contributors

joe-pll avatar stefanmonkey avatar

Watchers

 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.