Meet the New Kid in the Sandbox - Integrating Visualization with Prometheus

eschabell 48 views 28 slides May 07, 2025
Slide 1
Slide 1 of 28
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28

About This Presentation

When you jump in the CNCF Sandbox you will meet the new kid, a visualization and dashboards project called Perses. This session will provide attendees with the basics to get started with integrating Prometheus, PromQL, and more with Perses. A journey will be taken from zero to beautiful visualizatio...


Slide Content

Meet the New Kid in the Sandbox Integrating Visualization with Prometheus Eric D. Schabell Director Evangelism, Chronosphere @schabell.org | @ericschabell{@fosstodon.org} Devoxx UK - 8 May, London

CNCF missing o11y visualization project Perses built specifically for Prometheus Fully open source == choice (Apache 2.0) Open specification for dashboards ‹#›

24 Jan 2021 - Initial commit Supporting extensible plugin architecture built for developers (DaC) Provide embeddable visualizations reusable components lightweight and reusable components GitOps friendly Kubernetes native specification multi-language support (CUE, Go) powerful CLI automation

CNCF Sandbox project Started discussing Sep 2023, submitted March 2024, review started second week in August… few days later… Welcome to the Sandbox!

IDE Perses DaC - Build Go SDK CUE SDK

Perses DaC - Flexible + CI/CD Diff retrieve original

KubeCon EU https://bit.ly/perses-dac

Embeddable visualizations https://bit.ly/perses-embed

The Perses API provides access to five operations for every resources (CRUD): http://localhost:8080/api/v1/projects Perses API

Command line (percli): $ ./percli login http://localhost:8080 Perses API $ ./percli get projects NAME | AGE ------------------+------ workshopproject | 21h $ ./percli delete dashboards MyFirstDashboard object "Dashboard" "MyFirstDashboard" has been deleted in the project "WorkshopProject" $ ./percli get --all datasources NAME | PROJECT | DATASOURCE TYPE | AGE -----------------------+-----------------+----------------------+------ prometheusbrowser | workshopproject | PrometheusDatasource | 21h prometheusdemo | workshopproject | PrometheusDatasource | 21h prometheusdemolocal | workshopproject | PrometheusDatasource | 21h $ ./percli describe datasource prometheusdemolocal kind: Datasource metadata: name: prometheusdemolocal createdAt: 2024-08-28T16:07:19.538000824Z updatedAt: 2024-08-28T16:07:19.538000824Z version: project: workshopproject spec: display: name: localhost:9090 default: false plugin: kind: PrometheusDatasource spec: directUrl: http://localhost:9090 $ . /percli apply -f support/ workshop-myfirstdashboard.json object "Dashboard" "MyFirstDashboard" has been applied in the project "WorkshopProject"

Perses - Stat Chart

Perses - Gauge Chart

Perses - Time Series Chart

Perses - Documentation Panel

Perses - Multi Gauge

Perses - Table

Perses - Bar chart

Perses - Tracing TraceQL query here…

Examples - OpenShift Console Tracing UI

Examples - OpenShift Console Tracing UI

Examples - Service Overview

Examples - Trace Explorer

Take it for a spin - demo.perses.dev

Augustin Husson (877) Antoine Thebaud (245) Steven Cobb (239) Guillaume Ladorme (150) Julie Pagano (102) Andreas Gerstmayr (70) Luke Tillman (68) Eunice Wong (67) Célian Garcia (69) Christine Donovan (66) The contributors Shan Aminzadeh (49) Gabriel Bernal (47) Nicolas Takashi (14) Colin Douch (13) Julius Volz (12) Alexander Belyakin (7) Ellen Wyllie (6), Eric D. Schabell (6), kamijin_fanta (6)

Building beautiful visualizations

Short link: bit.ly/perses-workshop

TODO: references Perses project Code repository - https://github.com/perses Community dashboards - https://github.com/perses/community-dashboards Project roadmap - https://github.com/perses/perses/blob/main/ROADMAP.md Slack Channel - cloud-native.slack.com ( #perses-dev ) Social media - X: PersesDev LinkedIn: PersesDev Demo sandbox - https://demo.perses.dev Perses workshop - https://bit.ly/perses-workshop Prometheus workshop - https://bit.ly/prom-workshop KubeCon EU 2025 - Limitless Possibilities, Consistent Design: Crafting Dashboards with Perses DaC PromCon 2024 - Meet the New Kid in the Sandbox: Integrating Visualization with Prometheus

Questions? Eric D. Schabell Director Evangelism, Chronosphere @schabell.org | @ericschabell{@fosstodon.org}