Explore your Prometheus data in Grafana David Kaltschmidt - - PowerPoint PPT Presentation

explore your prometheus data in grafana
SMART_READER_LITE
LIVE PREVIEW

Explore your Prometheus data in Grafana David Kaltschmidt - - PowerPoint PPT Presentation

Explore your Prometheus data in Grafana David Kaltschmidt @davkals PromCon 2018 Im not Carl Carl is having a great time on parental leave Im David All things UX at Grafana Labs If you click and are stuck, reach out to me.


slide-1
SLIDE 1

Explore your Prometheus data in Grafana

David Kaltschmidt @davkals PromCon 2018

slide-2
SLIDE 2

I’m not Carl

Carl is having a great time on parental leave

slide-3
SLIDE 3

I’m David

All things UX at Grafana Labs If you click and are stuck, reach out to me. david@grafana.com Twitter: @davkals

slide-4
SLIDE 4

Grafana

From Dashboarding solution To Observability platform

slide-5
SLIDE 5

Instant query

queries only the last datapoint best displayed in table panel

slide-6
SLIDE 6

Table row merge on labels

slide-7
SLIDE 7

Step alignment

“Jumpy” rate graphs Align start/end parameters to step

slide-8
SLIDE 8

Heatmap panel

released in 5.1 Query: rate(foo_metric_bucket[10m]) Legend format: {{le}} Format as: Heatmap

slide-9
SLIDE 9

Variable expansion in template variables

Summer intern project (Tobias, tak!!) New built-in variable: $__range Dashboard-range-based variables

slide-10
SLIDE 10

Template variable expansion

slide-11
SLIDE 11

Use range-based template variables in queries

slide-12
SLIDE 12

Provisioning API

Define data sources and dashboards in files Auto-reload on change Allows version control of files http://docs.grafana.org/administration/provisioning/

slide-13
SLIDE 13

Grafana is now fully CI’ed

Test new features that are in master: docker run -d --name=grafana -p 3000:3000 grafana/grafana:latest https://hub.docker.com/r/grafana/grafana/

slide-14
SLIDE 14

Prometheus adoption

slide-15
SLIDE 15

2.8K

2016

36K

PromCon

slide-16
SLIDE 16

2.8K

16K

2016 2017

36K 92K

PromCon

slide-17
SLIDE 17

2.8K

16K ?K

2016 2017 2018

36K 92K 186K

PromCon

slide-18
SLIDE 18

2.8K

16K 54K

2016 2017 2018

36K 92K 186K

PromCon

slide-19
SLIDE 19

New: Explore UI (Alpha)

slide-20
SLIDE 20

Motivation

Dashboard UI is made for building dashboards, not query iteration. “I just want to quickly…”

slide-21
SLIDE 21

Motivation

  • nce panel is found, difficult to

interact with

  • verwhelming style and display
  • ptions
slide-22
SLIDE 22

Motivation

Incident response currently happens elsewhere!

User story: As an SRE, I want to investigate a certain aspect or incident of my infrastructure. I’m already looking at the right dashboard panel and have formed a hypothesis. From here I want to quickly run variations of the panel’s query to verify my hypothesis. The panel I started from should stay unaffected.

slide-23
SLIDE 23

Explore UI wireframes

rate(http_requests_total[5m])

GRAPH TABLE BOTH Last 1 hour, Refresh: 10s RUN

1 - rate(http_requests_total[5m])

. . .

rate(http_requests_total[5m]) 1 - rate(http_requests_total[5m]) 4.2s 3.2s rate(http_requests_total[5m])

GRAPH TABLE BOTH Last 1 hour, Refresh: 10s RUN

1 - rate(http_requests_total[5m])

. . .

rate(http_requests_total[5m]) 1 - rate(http_requests_total[5m]) 4.2s 3.2s

First tab Second tab 3rd tab My tab ╳

slide-24
SLIDE 24

Demo: http://localhost:3333/explore

slide-25
SLIDE 25

Enable Explore UI

Behind feature flag. To enable, edit Grafana config ini file [explore] enabled = true Set up a datasource that supports Explore, e.g., Prometheus. Will be released in 6.0

slide-26
SLIDE 26

What we’re working on

slide-27
SLIDE 27

Explore UI needs to be refined

still behind feature flag, feedback welcome: @davkals or david@grafana.com Prometheus metric metadata from HELP line in the exposition support for completion for foo_metric / on(|) group_left(|) bar_metric design doc for explore components for other datasources bring query field over to panel editor

slide-28
SLIDE 28

MultiStat panel https://github.com/grafana/grafana/pull/12620

slide-29
SLIDE 29

Dashboard management

Improve Grafana’s integration with Mixins (see Tom Wilkie’s talk) Git integration to save changes back Defaults for panel configs

slide-30
SLIDE 30

One more thing...

slide-31
SLIDE 31

Logging is coming to Grafana

slide-32
SLIDE 32

Tak for listening

UX feedback to david@grafana.com @davkals

slide-33
SLIDE 33

Tak for listening

UX feedback to david@grafana.com @davkals