Git Product home page Git Product logo

Comments (2)

balbirthomas avatar balbirthomas commented on September 24, 2024
  1. While supporting "external targets" is not the primary goal of the Prometheus operator some provision for external targets could certainly be made. What type of external scrape targets and configurations do you find to be common use cases ?
  2. It is not clear why you need support for an "external target" (meaning not part of a charm) when you are trying to develop a charm that has a Prometheus metrics endpoint. If you have developed or are developing a HTTP Prometheus metrics end point why can you not just use a command line HTTP client such as wget or curl to check the "data exporting functionality" ? It is not clear to me what you mean by "Otherwise I have to write all of the code before I ever know if the data exporting works in the first place" ? What is this "all the code" that you refer to ? Is it the code of a your (scrape target) charm's event handler that handles the relation with the prometheus charm ? This code is mostly one function call add_endpoint(). If on the other hand it is the code that implements the /metrics endpoint, why can you not test this independently of your charm (such as using curl as mentioned) or any other way that is standard practice among developers of Prometheus metric endpoints ?

from prometheus-k8s-operator.

dstathis avatar dstathis commented on September 24, 2024

I discussed with @jlounder and it looks like this is best done through integrator charms which I had not considered.

from prometheus-k8s-operator.

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.