You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tried to explore kubelet metrics (introduced in #199) with an in-cluster deployment. Tried with the provide test script ./test/kwokctl/kwokctl_metric_test.sh as well which resulted in the same error message:
{"time":"2023-08-08T11:57:31.228654753Z","level":"INFO","source":{"function":"sigs.k8s.io/kwok/pkg/kwok/cmd.runE","file":"/workspace/pkg/kwok/cmd/root.go","line":130},"msg":"Watch all nodes"}
{"time":"2023-08-08T11:57:31.988402793Z","level":"ERROR","source":{"function":"main.main","file":"/workspace/cmd/kwok/main.go","line":50},"msg":"Execute exit","err":"failed to install metrics: failed to create metrics update handler: failed to initialize metrics update handl
er: failed to compile metric \"fake-node\": failed to compile metric expression: ERROR: :1:23: undeclared reference to 'StartedContainersTotal' (in container '')\n | StartedContainersTotal( node.metadata.name )\n | ......................^"}
What did you expect to happen?
Metric is registered successfully.
Metric can be scraped.
How can we reproduce it (as minimally and precisely as possible)?
./test/kwokctl/kwokctl_metric_test.sh v1.27.4
Anything else we need to know?
No response
Kwok version
$ kwok --versionkwok version v0.3.0 go1.20.5 (linux/amd64)
$ kwokctl --versionkwokctl version v0.3.0 go1.20.5 (linux/amd64)
OS version
$ cat /etc/os-releaseArch Linux
The text was updated successfully, but these errors were encountered:
How to use it?
What happened?
Tried to explore kubelet metrics (introduced in #199) with an in-cluster deployment. Tried with the provide test script
./test/kwokctl/kwokctl_metric_test.sh
as well which resulted in the same error message:What did you expect to happen?
How can we reproduce it (as minimally and precisely as possible)?
Anything else we need to know?
No response
Kwok version
OS version
The text was updated successfully, but these errors were encountered: