WEBVTT

00:00.180 --> 00:02.670
OK, so now let's create our first data source.

00:02.820 --> 00:06.240
The first task is going to be the test data DB data source.

00:06.390 --> 00:10.620
The purpose of this data source is for learning about total fake data.

00:10.890 --> 00:17.550
OK, so one point about Bafana Bafana allows you to query, visualize, alert on and understand your

00:17.550 --> 00:19.440
metrics no matter where they are stored.

00:19.620 --> 00:24.000
OK, so stored, OK, data is not stored in Crafar.

00:24.060 --> 00:31.440
Instead, you create data sources in your Fatah, which acts like query adapters, which query data

00:31.440 --> 00:35.250
that exists in the underlying system where the data is stored.

00:35.280 --> 00:42.360
For example, an SQL server via another interface that can read log files via Prometheus, which can

00:42.360 --> 00:45.970
raid many other types of data stored in various other systems.

00:45.990 --> 00:51.270
Some of the Blocks DB signed with Xbox and lasting search, so the data that you're querying is still

00:51.270 --> 00:54.950
stored in the underlying system, no matter what that is.

00:54.960 --> 01:00.120
But in Gryffindor, you create things called data sources, which are query adapters that will request

01:00.120 --> 01:03.280
data from the underlying system, whatever that is.

01:03.300 --> 01:08.640
So the first data source will create in Gravano is the test DB data source, and this is all just fake

01:08.640 --> 01:10.920
data that is created randomly in real time.

01:11.070 --> 01:16.890
OK, so back into Safana on this menu, on the left here, down the left, this gear icon configuration

01:16.890 --> 01:19.500
data sources and data source.

01:19.950 --> 01:27.360
And if we scroll all the way to the bottom, select test data DB side, press that whole square.

01:27.390 --> 01:30.710
You can rename it to anything you like, but that name is perfect.

01:30.720 --> 01:37.410
We can save and test and this data source updated data sources working excellent here in the dashboards

01:37.410 --> 01:43.520
section, we get a default dashboard that we can import, so we'll import that OK.

01:43.530 --> 01:50.010
And in setup, we can visit the actual GitHub repository where the source code is stored if you want.

01:50.610 --> 01:52.110
And that's what it looks like.

01:52.970 --> 01:53.790
But we don't need that.

01:53.800 --> 01:54.900
You can look at that if you want to.

01:54.960 --> 02:01.680
OK, so that data sources now set up, if we now go to that icon, their dashboards manage down here.

02:01.710 --> 02:04.290
There's a new one simple streaming example.

02:04.290 --> 02:06.060
We can click that to view it.

02:06.180 --> 02:09.750
OK, so this is the test data DB data source.

02:09.750 --> 02:13.340
Just a very simple dashboard that we can experiment with.

02:13.350 --> 02:16.470
You can quickly just press the buttons on it to see what they do if you like.

02:16.470 --> 02:19.750
It doesn't matter if you break anything, we can always fix it up.

02:19.800 --> 02:25.920
So, for example, if I move things around and I try to exit, you will ask me if I want to say the

02:25.920 --> 02:26.460
dashboard.

02:26.460 --> 02:28.850
So let's say I did want set dashboard.

02:28.860 --> 02:29.390
I can press.

02:29.400 --> 02:35.640
Yes, I can add my notes if I want press save and I can choose whether I'm saving as a new dashboard

02:35.640 --> 02:39.120
or overwriting the existing let's just say I overwrite existing dashboard.

02:39.210 --> 02:44.520
OK, so the dashboard is saved and it's been overwritten as a matter if we go back to dashboards harm

02:44.520 --> 02:49.680
down the bottom here, it shows my most recently viewed dashboard and that's how it was when I saved

02:49.680 --> 02:49.850
it.

02:49.860 --> 02:54.270
But if I decided I didn't like it that way and I wanted to go back to the way it was originally, I

02:54.270 --> 02:54.720
could go.

02:54.780 --> 03:01.470
Configuration data sources go back into that dashboards and press re-import, and that will put it back

03:01.470 --> 03:03.060
to the way it was at the beginning.

03:03.060 --> 03:05.310
So if you break the dashboard, it doesn't matter.

03:05.370 --> 03:05.760
Excellent.

03:05.790 --> 03:11.280
So going back to dashboard time now because I've recently viewed a dashboard is showing up down here.

03:11.280 --> 03:15.740
So simple streaming example that's back to the way it was when I first viewed it the first time.

03:15.750 --> 03:16.170
So excellent.

03:16.170 --> 03:21.060
So feel free to just press the buttons, but it doesn't really matter will go into the more details

03:21.060 --> 03:22.900
as we progress the next few videos.

03:22.920 --> 03:23.370
Excellent.
