Git Product home page Git Product logo

Comments (9)

LeaveMyYard avatar LeaveMyYard commented on August 23, 2024

Hey, @lindaorny!
This seems to be a common issue for some prometheus installations and we are trying to fix it here: #12
Could you check if that branch is working for you?

Also, none is expected, as simple strategy proposes not to place limits on CPU by default

from krr.

lindaorny avatar lindaorny commented on August 23, 2024

@LeaveMyYard I have changed branch and the CPU metrics worked for me! However, the Memory Requests and Limits are still shown as question mark.
mysql_krr_image2

from krr.

muhammad-asn avatar muhammad-asn commented on August 23, 2024

I used the fix-CPU-metric branch and still show the same CPU Requests --> none.
My kubernetes version is 1.24.6 in on-premise environment.

from krr.

muhammad-asn avatar muhammad-asn commented on August 23, 2024

I used the fix-CPU-metric branch and still show the same CPU Requests --> none. My kubernetes version is 1.24.6 in on-premise environment.

Sorry just check my prometheus query and shows the labels in our workload is different from the cpu_metric.py and memory_metric.py.

from krr.

aantn avatar aantn commented on August 23, 2024

@muhammad-asn can you share your labels? Perhaps it's possible to support?

from krr.

muhammad-asn avatar muhammad-asn commented on August 23, 2024

@aantn I think it's invalid case from my side. I try with native cadvisor (not robusta) installation and by default it uses (example: container_label_io_kubernetes_pod_name) as the labels so need to do relabeling from the prometheus side.

Based on this label:
google/cadvisor#3162

Sorry for the previous wrong link.

from krr.

lindaorny avatar lindaorny commented on August 23, 2024

Hey, @lindaorny! This seems to be a common issue for some prometheus installations and we are trying to fix it here: #12 Could you check if that branch is working for you?

Also, none is expected, as simple strategy proposes not to place limits on CPU by default

Seems the memory requests and limits are still returning none.

from krr.

lindaorny avatar lindaorny commented on August 23, 2024

Hey, @lindaorny! This seems to be a common issue for some prometheus installations and we are trying to fix it here: #12 Could you check if that branch is working for you?
Also, none is expected, as simple strategy proposes not to place limits on CPU by default

Seems the memory requests and limits are still returning none.

Can show the memory limit and request now! Thank you so much!

from krr.

aantn avatar aantn commented on August 23, 2024

@aantn I think it's invalid case from my side. I try with native cadvisor (not robusta) installation and by default it uses (example: container_label_io_kubernetes_pod_name) as the labels so need to do relabeling from the prometheus side.

Got it, thanks. If you find an easy solution, please share here so we can document it for others.

from krr.

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.