How to Create and Work with Variables | Grafana

preview_player
Показать описание
Links:
Variables
List of Global Variables

Description:
Learn what are Grafana variables, which ones are available, how to create them and much more!

In this video, Grafana Developer Advocate Leandro Melendez describes the variables in the following steps:
- What are dashboard variables
- Which variable types are there
- How to create variables
- Example creating a variable

To learn more follow along the docs here:

----------
👍 Found this video useful? Be sure to give it a thumbs up and subscribe to our channel for more helpful Grafana tutorial videos.

📱 Follow us for the latest and greatest on all things Grafana and our other OSS projects.

#Grafana #observability

TIMESTAMPS:
00:00 Do you need to switch? Variables!
00:45 Introduction to Variables
01:26 Variable types
01:46 Query
02:00 Custom
02:12 Text box
02:26 Constant
02:40 Data source
02:54 Interval
03:12 Ad hoc filter
03:32 Global
03:57 Chained
04:19 How to create Variables
05:43 Example
06:43 Finishing up
Рекомендации по теме
Комментарии
Автор

I appreciate the videos, but would be nice if some of them would dive deeper. I struggle to this day to use nested Variables and I'm pretty and how to reference Query elements in the dashboard views, like tables and graphs, for example.

RudolfAW
Автор

Suggestion: increase the detail of the explanations, dive deeper, stay calmer, reduce the entertainment clutter: waving of hands, the disturbing 80's gaming sounds and the background music.

axelholene
Автор

i'm trying to use the password element in the business forms to create a login function for the user that will return data that is filtered for that user. can i use variables to store the username as a variable and then use the variable in a query? how will i store, and reference a variable in a query though?

lovemeekness
Автор

Regarding non labeled fields- when choosing adhoc filter as a variable for the dashboard, i don't see them in the list. Only labeled one. Is there a way to have adhoc filters to all fields?

avrl
Автор

There's an issue in one of the example. It should be ${names} not ${name]

aubrya
Автор

Hello, I'm interested in creating custom variables for my project. Specifically, I'd like to incorporate a date picker as a variable. I'm planning to develop a panel plugin with this feature. Is there a method to integrate it into the type dropdown within the variable section and display the date picker

Shaktish-kumar
Автор

I am using the infinity plugin to hit a URL, that returns a JSON. I would like to extract one of the fields in JSON, and insert it into another URL on a click event. Click event will display a detail table of the parent record.

VYPanasonic
Автор

how to use the ad-hoc filters in a query please tell me
I'm looking for it for quite a while now but can't find it

mohitparwani
Автор

Should I move to code mode for variable mapping for a DB sourced dashboard ? What I need is simply showing date range filter I use in query builder to end users. When I choose between option I can select a date range, but I would like to leave it to dashboard end user (in public view mode). I can do it by coding, but I'm curious if there's any way to map variables to query builder params.

Автор

These videos go into exactly as much depth as to not be useful at all.

After the intro I thought, maybe I'll have a good idea how to make easily parameterizable template dashboards for different OSes/exporters, but after watching to the end, I still don't know if that's even possible… :/

franknord
Автор

Does anybody in the US use this software?

garypaduana
Автор

Stop the zoom-cuts! It's almost giving me a seizure. It's unbelievably distracting!

erlandodk
Автор

This is the first functionality I've attempted. Not only is this video useless and too brief but the UI/UX of your tool is horrid. It's been downhill since this video.

azy