Setting up Kubernetes Alerts - some k8 metrics missing

I'm on Elastic 8.13.4, using the kubernetes integration to collect the metrics. I'm creating a series alerts equivalent to these prometheus kubernetes alerts: Awesome Prometheus alerts | Collection of alerting rules and I've had to find the equivalent metric on the elastic side. However, I have found a number of metrics that I can't find in any of the data.

Some of these metrics are:
kube_deployment_status_observed_generation,
kube_deployment_metadata_generation,
kube_statefulset_status_current_revision, kube_statefulset_status_update_revision,
kube_daemonset_status_number_misscheduled,
kube_job_spec_completions,
kube_job_status_succeeded,
kube_job_status_failed,
rest_client_requests_total

I can see references to these metrics in a elastic beats file but I don't know if this means that beats is collecting these or not.

I need some help on where to confirm / configure to get the metrics collected and stored in the index.

Appreciate any help.

Hi @djarami726

Assuming you are running KSM... I think the _ are replaced with dots... I did not find all but I see most. And of course they will not show up if you are not generating them

Example

Thank you for response. I was able to find the two that you mentioned above, but there are others that don't seem to be coming through the pipeline and I've been able that they are accessable from the kubernetes side.

Yes, I did look for them with the . instead of the _ and all kinds of similarity searching too.

Here is a list of the metrics I wasn't able to find:
kube_deployment_status_observed_generation
kube_deployment_metadata_generation
kube_statefulset_status_current_revision
kube_statefulset_status_update_revision
kube_daemonset_status_number_misscheduled
kube_job_spec_completions
kube_job_status_succeeded
kube_job_status_failed
rest_client_requests_total
apiserver_client_certificate_expiration_seconds_count

Thanks for your help