Giter Site home page Giter Site logo

openstack_service_exporter's Introduction

Prometheus OpenStack Service Exporter

Exports service states of various OpenStack Services for Prometheus.

Currently implemented equivalents:

  • openstack volume service list
  • openstack compute service list
  • openstack network agent list

You need to pass OpenStack auth environment variables (see openrc).

OS_AUTH_URL
OS_USERNAME
OS_USERID
OS_PASSWORD
OS_TENANT_ID
OS_TENANT_NAME
OS_DOMAIN_ID
OS_DOMAIN_NAME

Note: There is no OS_PROJECT_NAME or OS_PROJECT_ID available in Gopherclouds env parsing. Use OS_TENANT_NAME or OS_TENANT_ID.

Format

# HELP openstack_service_blockstorage_enabled Admin status of blockstorage services
# TYPE openstack_service_blockstorage_enabled gauge
openstack_service_blockstorage_enabled{binary="cinder-scheduler",service_host="DE-ES-001-03-09-01-1",zone="nova"} 1
# HELP openstack_service_blockstorage_up Status of blockstorage services
# TYPE openstack_service_blockstorage_up gauge
openstack_service_blockstorage_up{binary="cinder-scheduler",service_host="DE-ES-001-03-09-01-1",zone="nova"} 1

# HELP openstack_service_compute_enabled Admin status of compute services
# TYPE openstack_service_compute_enabled gauge
openstack_service_compute_enabled{binary="nova-compute",id="10",service_host="DE-IX-001-02-02-09-2",zone="ix1"} 1
# HELP openstack_service_compute_up Status of compute services
# TYPE openstack_service_compute_up gauge
openstack_service_compute_up{binary="nova-compute",id="10",service_host="DE-IX-001-02-02-09-2",zone="ix1"} 1

# HELP openstack_service_network_enabled State of network agents
# TYPE openstack_service_network_enabled gauge
openstack_service_network_enabled{agent_type="Open vSwitch agent",binary="neutron-openvswitch-agent",id="f218ea43-92db-4f2b-b8a6-5a9a161f264e",service_host="DE-IX-001-02-02-13-6",topic="N/A",zone=""} 1
# HELP openstack_service_network_up State of network agents
# TYPE openstack_service_network_up gauge
openstack_service_network_up{agent_type="Open vSwitch agent",binary="neutron-openvswitch-agent",id="f218ea43-92db-4f2b-b8a6-5a9a161f264e",service_host="DE-IX-001-02-02-13-6",topic="N/A",zone=""} 1

openstack_service_exporter's People

Contributors

chrigl avatar

Stargazers

 avatar Simon Pasquier avatar

Watchers

Jan Walzer avatar James Cloos avatar  avatar Guido Nickels 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.