0
Grafana Cloud is a cloud hosted version of
Grafana,
Prometheus, and
Loki. The free tier makes it easy to try out the service and has enough capability to satisfy simple use cases. In this article we will explore how metrics based on sFlow streaming telemetry can be pushed into Grafana Cloud.
The diagram shows the elements of the solution.
Agents in host and network devices are configured to stream sFlow telemetry to an
sFlow-RT real-time analytics engine instance. The
Grafana Agent queries sFlow-RT's REST API for metrics and pushes them to Grafana Cloud.
docker run -p 8008:8008 -p 6343:6343/udp --name sflow-rt -d sflow/prometheus
Use Docker to run the pre-built
sflow/prometheus image which packages sFlow-RT with the
sflow-rt/prometheus application. Configure
sFlow agents to stream data to this instance.
Create a
Grafana Cloud account. Click on the
Agent button on the home page to get the configuration settings for the Grafana Agent.
Click on the Prometheus button to get the configuration to forward metrics from the Grafana Agent.
Enter a name and click on the
Create API key button to generate configuration settings that include a URL, username, and password that will be used in the Grafana Agent configuration.
server:
Continue reading