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
My goal is to monitor the state of CRD (SUCCESS or ERROR),collecting some metrics and push them to prometheus.I already configured kube-state-metrics like below:
however I get the error: 1 discovery.go:210] "failed to update custom resource stores" err="failed to create metrics factory for businessconfig.oa-software.com_v1_BusinessConfigDefinition: businessconfig_state: compiling metric: unknown metric type "
Since status.state is a string and Gauge works only with numeric data,I don't know how to proper handle this?Any help or idea is more then welcome
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In my AKS setup I'm using some CRD like this:
My goal is to monitor the state of CRD (SUCCESS or ERROR),collecting some metrics and push them to prometheus.I already configured kube-state-metrics like below:
however I get the error:
1 discovery.go:210] "failed to update custom resource stores" err="failed to create metrics factory for businessconfig.oa-software.com_v1_BusinessConfigDefinition: businessconfig_state: compiling metric: unknown metric type "
Since status.state is a string and Gauge works only with numeric data,I don't know how to proper handle this?Any help or idea is more then welcome
Beta Was this translation helpful? Give feedback.
All reactions