XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. jmara
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 9
    • Groups 0

    jmara

    @jmara

    3
    Reputation
    8
    Profile views
    9
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online
    Website www.krankikom.de
    Location Germany

    jmara Unfollow Follow

    Best posts made by jmara

    • RE: Prometheus SD through REST API

      @olivierlambert Uh very nice 🙂 now I got something to play with in the evening 🙂 I'll let you know once I've created a PoC

      posted in REST API
      jmaraJ
      jmara
    • Prometheus SD through REST API

      Hi,

      I was wondering if we could get a REST API Endpoint to discover vms via the prometheus build-in http_sd?

      As a starting point it would be nice the get the ips and pool association of vms through the /vms call so that it would be possible to write a wrapper script to match the http_sd format.

      Or is this possible and I haven't found the correct fields yet? 🙂

      Cheers,
      Jan

      posted in REST API
      jmaraJ
      jmara

    Latest posts made by jmara

    • RE: Xen Orchestra Container Storage Interface (CSI) for Kubernetes

      Great stuff, looking forward and will try the CSI in the next couple of weeks 🙂

      @bvitnik There is an old CSI for xcp-ng (5 years old) which directly talks to the Xen-API, but I'd rather have a middleware which as @olivierlambert already stated has ACL's and security build-in.
      Eventually you will end up in a broken xen cluster because you have a k8s node with cluster wide privileges to the XenAPI.

      @olivierlambert Is there any loose roadmap for the CSI? 🙂

      Cheers,
      Jan

      posted in Infrastructure as Code
      jmaraJ
      jmara
    • RE: Prometheus SD through REST API

      @olivierlambert Uh very nice 🙂 now I got something to play with in the evening 🙂 I'll let you know once I've created a PoC

      posted in REST API
      jmaraJ
      jmara
    • RE: Prometheus SD through REST API

      @olivierlambert As said, I would be a starting point if the fields of the /vms call will be extended to include ipaddesses, pool_name/id and maybe host_affinity

      posted in REST API
      jmaraJ
      jmara
    • RE: Prometheus SD through REST API

      @olivierlambert sure its a new service discovery plugin in the prometheus core which scrapes http endpoints:
      https://prometheus.io/docs/prometheus/latest/http_sd/

      It requires this json format:

      [
        {
          "targets": [ "<host>", ... ],
          "labels": {
            "<labelname>": "<labelvalue>", ...
          }
        },
        ...
      ]
      
      posted in REST API
      jmaraJ
      jmara
    • Prometheus SD through REST API

      Hi,

      I was wondering if we could get a REST API Endpoint to discover vms via the prometheus build-in http_sd?

      As a starting point it would be nice the get the ips and pool association of vms through the /vms call so that it would be possible to write a wrapper script to match the http_sd format.

      Or is this possible and I haven't found the correct fields yet? 🙂

      Cheers,
      Jan

      posted in REST API
      jmaraJ
      jmara
    • RE: vCPU overcommitment stats

      @olivierlambert ah good to know 😄 thats fine I'll take a look at the metrics maybe I'll write a small rrd stats pusher script as an interim solution for my usecase 🙂 until XO6 is available.

      Thanks for letting me know 🙂

      posted in Compute
      jmaraJ
      jmara
    • RE: vCPU overcommitment stats

      @olivierlambert I'll check later this afternoon, as the loads keeps increasing through the day and let you know if the counter moves.

      Should I file a feature request for XOA as support ticket to get the counter into the stats section? Might be an interesting counter for others as well.

      posted in Compute
      jmaraJ
      jmara
    • RE: vCPU overcommitment stats

      @olivierlambert yeah i thought so too 😄 is there any way to visualize this in XOA/netdata?

      posted in Compute
      jmaraJ
      jmara
    • vCPU overcommitment stats

      Hi,

      I'm trying to get some metrics and info about CPU overcommitment and if there are hosts in my cluster which are fairly unbalanced (not in a configuration kind of way, but where vms fighting to get CPU time).

      I've read that other Hypervisors show this kind of data as "CPU ready" counter and that the Xen equivalent should be "runstate_full_contention" (Fraction of time that all vCPUs are runnable (that is, waiting for CPU)). Sadly this counter does not seem to move in my xen center and the netdata plugin does not track the value.

      Does anyone have more info around that topic? 🙂

      Cheers,
      Jan

      posted in Compute
      jmaraJ
      jmara