Skip to content

gnmic-prometheus

Introduction

This lab deploys a small cEOS-lab topology using containerlab and uses gNMIc to subscribe and collect telemetry states and output them into Prometheus and visualize the data in Grafana.

Prerequisite

  • github account

  • laptop or server with Docker and git installed

  • [arista.com] account to download cEOS-lab

cEOS-lab is autodownloaded using the arista.com token in either codespaces or the devcontainer examples.

Check for more details on the prerequisites on the Arista Community Labs QuickStart.

Lab Topology

topology

Running the lab

The lab can be run in multiple ways:

  • codespaces

  • locally using devcontainer (either on local PC/laptop or using Remote SSH to a server via vscode)

To run it in codespaces, please press the button below and follow:

Start :octicons-play-16: gNMIc-Prometheus-Grafana Lab :octicons-mark-github-24:{ .md-button .md-button--primary target=_blank}

After the lab is deployed, the containerlab topology will automatically start and Codespaces will send a notification and reveal the Open in Browser button where Grafana can be accessed.

grafana1

grafana2

grafana3

For more details and to run it in devcontainer please check the Arista Community Labs site.