<p>I have a cluster with 7 nodes and a lot of services, nodes, etc in the Google Cloud Platform. I'm trying to get some metrics with StackDriver Legacy, so in the Google Cloud Console -> StackDriver -> Metrics Explorer I have all the set of anthos metrics listed but when I try to create a chart based on that metrics it doesn't show the data, actually the only response that I get in the panel is <code>no data is available for the selected time frame</code> even changing the time frame and stuffs.</p>

<p>Is right to think that with anthos metrics I can retrieve information about my cronjobs, pods, services like failed initializations, jobs failures ? And if so, I can do it with StackDriver Legacy or I need to Update to StackDriver kubernetes Engine Monitoring ?</p>

<p>Anthos solution, includes what’s called <a href="https://cloud.google.com/gke-on-prem/docs/overview" rel="nofollow noreferrer">GKE-on prem</a>. I’d take a look at the instructions to use logging and <a href="https://cloud.google.com/gke-on-prem/docs/how-to/administration/logging-and-monitoring" rel="nofollow noreferrer">monitoring on GKE-on prem</a>. Stackdriver monitors GKE On-Prem clusters in a similar way as cloud-based GKE clusters.</p>

<p>However, there’s <a href="https://cloud.google.com/gke-on-prem/docs/concepts/logging-and-monitoring#logging_and_monitoring" rel="nofollow noreferrer">a note</a> where they say that currently, Stackdriver only collects cluster logs and system component metrics. The full Kubernetes Monitoring experience will be available in a future release.</p>

<p>You can also check that you’ve met all the <a href="https://cloud.google.com/gke-on-prem/docs/concepts/logging-and-monitoring#stackdriver_requirements." rel="nofollow noreferrer">configuration requirements</a>.</p>
