Coder Social home page Coder Social logo

Generate prometheus metrics about nova HOT 8 OPEN

fairwindsops avatar fairwindsops commented on May 27, 2024 3
Generate prometheus metrics

from nova.

Comments (8)

IDerr avatar IDerr commented on May 27, 2024 3

Hello guys,

we have created an exporter with this exact same purpose: https://github.com/LeRaymy/helm-deprecated-exporter

We use nova to create a config map with all the infos, and an exporter to parse all the infos

Really an alpha project, but working for our needs :) (Feel free to test and report us any issues! )

from nova.

Grounz avatar Grounz commented on May 27, 2024 1

Thanks to you, and thanks for this amazing tools :p

@rbren @sudermanjr Oh ok, if it's out of scope, Maybe use push gateway method it's possible and less complicated ?

Now, i don't know any prometheus exporter of helm chart status (version and deprecated) this idea seems to me very good for SRE teams. In big K8S cluster it's difficult to follow chart update state.

Maybe we can create nova_exporter which use nova go package and exposed metrics or push it to push gateway.
what do you think about that ?

from nova.

sudermanjr avatar sudermanjr commented on May 27, 2024

@Grounz thanks for the request!

Nova doesn't run as a long-lived process, so I'm not sure how to do this without adding a very large amount of code to turn Nova into a daemon of some kind. It's probably possible, but in my mind doesn't line up with the current workflow of Nova. Would it be better to maybe add prometheus push support and run it as a cronjob?

Another option would be to have a separate wrapper and prom exporter for it, but that seems a heavy lift too. @makoscafee @rbren curious what your thought are here since you're the codeowners :-D

from nova.

rbren avatar rbren commented on May 27, 2024

Agreed - definitely a big lift to get something log lived in the cluster.

IMO it's probably out of scope for this project, but I'm open to it.

Maybe we leave this ticket open, and see if other folks feel strongly about this

from nova.

sudermanjr avatar sudermanjr commented on May 27, 2024

I think a separate exporter could work, but also likely outside the scope of this repo. If someone wanted to create that separately I think it might work. I don't think we have tested the external usability of the Nova packages, so there might be issues with that. A wrapper that shells out could be functional as well.

I am with @rbren, I think we should leave this open and see if it gets additional votes or interest.

from nova.

Gui13 avatar Gui13 commented on May 27, 2024

I want that! But I cannot reopen :/

from nova.

Gui13 avatar Gui13 commented on May 27, 2024

There's also the possibility that nova creates ressources of reports (using a specific CRD) on the Kubernetes etcd, and then have a micro service retrieving the last CRD to expose it as prometheus metrics.

It might be simpler.

from nova.

Gui13 avatar Gui13 commented on May 27, 2024

That's great! I'll give it a try!

I used nova as a CLI to do exactly that!

from nova.

Related Issues (20)

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.