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
A new metric was introduced that is of the type “Info”.
After this was deployed to kube-state-metrics Prometheus was able to scrape this and all worked perfect.
The only problem is that it seems to break meticbeat.
When looking in the logs, we see the following: decoding of metric family failed: text format parsing error in line 13966: unknown metric type "info".
Is this a case of missing functionality or miss configuration?
Many thanks!
Kind regards,
Morné Kruger
The content you are editing has changed. Please copy your edits and refresh the page.
I've tested it and on stack and metricbeat version 8.6.2 I indeed can see this error:
{"log.level":"error","@timestamp":"2023-09-13T12:42:57.132Z","log.logger":"kubernetes.state_pod","log.origin":{"file.name":"kubernetes/state_metricset.go","file.line":97},"message":"decoding of metric family failed: text format parsing error in line 1693: unknown metric type \"info\"","service.name":"metricbeat","ecs.version":"1.6.0"}
In version 8.7 were introduced textparser in prometheus module helper library. I've tested 8.7.1 version and I am not getting the error above, all kubernetes metrics are available.
Alternatively, I think the better option would be to run 2 kube-state-metrics. One for all standard metrics and another one for custom resource metrics only with --custom-resource-state-only=true flag.
Hi there,
I am running metricbeat:8.6.1 and prometheus:2.43.1 on AKS 1.25.6
Both of these are scraping metrics from kube-state-metrics:2.8.2
Because of an edge case we were forced to make use of the Custom Resource State Metrics functionality within kube-state-metrics as described here:
https://github.com/kubernetes/kube-state-metrics/blob/main/docs/customresourcestate-metrics.md
A new metric was introduced that is of the type “Info”.
After this was deployed to kube-state-metrics Prometheus was able to scrape this and all worked perfect.
The only problem is that it seems to break meticbeat.
When looking in the logs, we see the following:
decoding of metric family failed: text format parsing error in line 13966: unknown metric type "info".
Is this a case of missing functionality or miss configuration?
Many thanks!
Kind regards,
Morné Kruger
Tasks
The text was updated successfully, but these errors were encountered: