Slide 7 of 8

How to send data?

Choosing the right method

The right method depends on what telemetry you have and what format it’s already in.

Decision tree for sending data to Grafana Cloud

Quick reference

Your current setupMethod to use
PrometheusPrometheus remote write
InfluxDBInfluxDB exporter → Prometheus
GraphiteTelegraf or OpenTelemetry
OpenTelemetry (metrics)OTLP to Mimir
OpenTelemetry (logs)OTLP to Loki
Any HTTP clientHTTP API to Loki

Script

Here’s how to choose the right method for your situation. The first question is: what type of telemetry do you need to store…metrics or logs?

For metrics, the method depends on what format your data is already in. If you’re running Prometheus, use Prometheus remote write…it’s native and straightforward. If you have InfluxDB metrics, you’ll use the InfluxDB exporter to convert them to Prometheus format. If you’re on Graphite, you can use either Telegraf or OpenTelemetry to bridge the gap. And if your applications already emit OpenTelemetry metrics, send them directly via OTLP.

For logs, you have two options. OpenTelemetry Protocol is the modern standard…use it if your applications or collectors already support OTLP. The HTTP API is a simple REST endpoint that works with any tool that can make HTTP requests.

The visual on this slide shows this decision flow. We’ll cover each option in detail in the following slides.