How do I export local logs and metrics to Grafana Cloud?

Hi, I have a local Loki/Prometheus/Grafana stack in an on-prem Kubernetes cluster. I want to switch to Grafana Cloud for storing logs and metrics.

How can I export my existing Loki logs and Prometheus metrics, and import them into Grafana Cloud please?


From left menu on Grafana Cloud

Then choose

Then maybe choose the Ship copies option to seed your prometheus, then switch it to be fed by other means afterwards

Additionally, rather than the hosted prometheus metrics integration, take a look at the documentation for the Kubernetes integration that uses the Grafana agent to ship cluster metrics and logs from you cluster.

This includes all of the resources to deploy, configs to send metrics/logs/events, and view them in premade dashboards.

Hope that helps!