Code Monkey home page Code Monkey logo

Comments (8)

larsha avatar larsha commented on August 10, 2024 1

Same issue here, still a problem? Seems I can't access any resources. Always Error from server (InternalError): Internal error occurred: unable to list matching resources

from prometheus-adapter.

flunderveiko avatar flunderveiko commented on August 10, 2024

i have some namespace prefixed metrics and cannot access them, same error.

{ "name": "namespaces/node_memory_PageTables_bytes", "singularName": "", "namespaced": false, "kind": "MetricValueList", "verbs": [ "get" ] }

from prometheus-adapter.

swatisehgal avatar swatisehgal commented on August 10, 2024

I am facing the same issue. Did you make any progress on this?

from prometheus-adapter.

swatisehgal avatar swatisehgal commented on August 10, 2024

can you guys please share the adapter config you are using to expose node metrics? I am getting the following error: server could not find the metric node_memory_Active_file for nodes

from prometheus-adapter.

DirectXMan12 avatar DirectXMan12 commented on August 10, 2024

Can you please post logs from the adapter (at high verbosity) and see if you find any related messages? Thanks!

from prometheus-adapter.

YaoZengzeng avatar YaoZengzeng commented on August 10, 2024

Namespace metic is special, we should get it like :

kubectl get --raw /apis/custom.metrics.k8s.io/v1beta1/namespaces/*/metrics/kube_pod_info

As for node metric, according to my test, it's ok to get it with the latest adapter code.

However there are very few node metrics with default config, because metrics from node exporter will not be labeled with node=XXX and the metrics' name usually begin with node_

If we want to get more node metrics, may be we could try to get metrics begin with node_ and override the instance to node.

@DirectXMan12 WDYT?

from prometheus-adapter.

s-urbaniak avatar s-urbaniak commented on August 10, 2024

I guess this is covered by #193, now present in the FAQ section.

from prometheus-adapter.

Rich-yi avatar Rich-yi commented on August 10, 2024

有有效的解决办法了吗

from prometheus-adapter.

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.