Giter VIP home page Giter VIP logo

openshift-state-metrics's Introduction

Overview

This repository has been heavily inspired by https://github.com/kubernetes/kube-state-metrics.

openshift-state-metrics expands upon kube-state-metrics by adding metrics for OpenShift specific resources.

How to use

$ oc apply -f ./manifests # It will be deployed to openshift-monitoring project

How to generate the manifests

You need make sure jsonnet-bundler and gojsontomal is installed, you can run this make target to install it:

$ make $(GOPATH)/bin/jb
$ make $(GOPATH)/bin/gojsontoyaml

And then you can generate the manifests by running:

$ make manifests

Documentation

Detailed documentation on the available metrics and usage can be found here: https://github.com/openshift/openshift-state-metrics/blob/master/docs/README.md

openshift-state-metrics's People

Stargazers

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

Watchers

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

openshift-state-metrics's Issues

Instrument resource watch failures

Currently there's no way to monitor if openshift-state-metrics is failing to start a watch on a specific resource type.

We should instrument this and add it as a metric on health metrics endpoints which defaults to port 81

No Release found

Hi Team, is there any plans for official releases?

Thanks,
Vikram

Routes: Status when backing service is deleted/not present

Currently if I create a route pointing to an SVC, and then delete the backing SVC, there is no change at all in any of the metrics related to the route.

From an alerting perspective, I would like to know if the route is 'healthy'.

ToDo:

  • Investigate how this is handled for Ingress in kube-state-metrics
  • Implement a status metric for routes

no matches for kind "ServiceMonitor" in

error: unable to recognize "manifests/openshift-state-metrics-service-monitor.yaml": no matches for kind "ServiceMonitor" in version "monitoring.coreos.com/v1"

Create manifest bundle

Use a Template file to bundle up all the manifests required, so that a user with cluster-admin can get started really quickly with an oc create -f bundle.yaml

OpenShift version requirements

Hi,
I don't find any info on which is the minimal version of OpenShift required for openshift-state-metrics.
Is it working with OpenShift 3.7?

Thanks

Use in versions 3.9

I would like to know, even if the different versions are indicated in the branches, if openshift-state-metrics is available in versions 3.9 and 3.11.

Expose Annotations Metrics

Similar to the openshift_deploymentconfig_labels metrics that exposes the labels for a given deployment config, we would like to expose annotation metrics. We use like to be able to use this to track usage of certain features like prometheus.io/scrape, prometheus.jvm.io/scrape, as well as some custom annotations that we use for Operators added to our environment.

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.