1
00:00:00,180 --> 00:00:02,670
OK, so now let's create our first data source.

2
00:00:02,820 --> 00:00:06,240
The first task is going to be the test data DB data source.

3
00:00:06,390 --> 00:00:10,620
The purpose of this data source is for learning about total fake data.

4
00:00:10,890 --> 00:00:17,550
OK, so one point about Bafana Bafana allows you to query, visualize, alert on and understand your

5
00:00:17,550 --> 00:00:19,440
metrics no matter where they are stored.

6
00:00:19,620 --> 00:00:24,000
OK, so stored, OK, data is not stored in Crafar.

7
00:00:24,060 --> 00:00:31,440
Instead, you create data sources in your Fatah, which acts like query adapters, which query data

8
00:00:31,440 --> 00:00:35,250
that exists in the underlying system where the data is stored.

9
00:00:35,280 --> 00:00:42,360
For example, an SQL server via another interface that can read log files via Prometheus, which can

10
00:00:42,360 --> 00:00:45,970
raid many other types of data stored in various other systems.

11
00:00:45,990 --> 00:00:51,270
Some of the Blocks DB signed with Xbox and lasting search, so the data that you're querying is still

12
00:00:51,270 --> 00:00:54,950
stored in the underlying system, no matter what that is.

13
00:00:54,960 --> 00:01:00,120
But in Gryffindor, you create things called data sources, which are query adapters that will request

14
00:01:00,120 --> 00:01:03,280
data from the underlying system, whatever that is.

15
00:01:03,300 --> 00:01:08,640
So the first data source will create in Gravano is the test DB data source, and this is all just fake

16
00:01:08,640 --> 00:01:10,920
data that is created randomly in real time.

17
00:01:11,070 --> 00:01:16,890
OK, so back into Safana on this menu, on the left here, down the left, this gear icon configuration

18
00:01:16,890 --> 00:01:19,500
data sources and data source.

19
00:01:19,950 --> 00:01:27,360
And if we scroll all the way to the bottom, select test data DB side, press that whole square.

20
00:01:27,390 --> 00:01:30,710
You can rename it to anything you like, but that name is perfect.

21
00:01:30,720 --> 00:01:37,410
We can save and test and this data source updated data sources working excellent here in the dashboards

22
00:01:37,410 --> 00:01:43,520
section, we get a default dashboard that we can import, so we'll import that OK.

23
00:01:43,530 --> 00:01:50,010
And in setup, we can visit the actual GitHub repository where the source code is stored if you want.

24
00:01:50,610 --> 00:01:52,110
And that's what it looks like.

25
00:01:52,970 --> 00:01:53,790
But we don't need that.

26
00:01:53,800 --> 00:01:54,900
You can look at that if you want to.

27
00:01:54,960 --> 00:02:01,680
OK, so that data sources now set up, if we now go to that icon, their dashboards manage down here.

28
00:02:01,710 --> 00:02:04,290
There's a new one simple streaming example.

29
00:02:04,290 --> 00:02:06,060
We can click that to view it.

30
00:02:06,180 --> 00:02:09,750
OK, so this is the test data DB data source.

31
00:02:09,750 --> 00:02:13,340
Just a very simple dashboard that we can experiment with.

32
00:02:13,350 --> 00:02:16,470
You can quickly just press the buttons on it to see what they do if you like.

33
00:02:16,470 --> 00:02:19,750
It doesn't matter if you break anything, we can always fix it up.

34
00:02:19,800 --> 00: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

35
00:02:25,920 --> 00:02:26,460
dashboard.

36
00:02:26,460 --> 00:02:28,850
So let's say I did want set dashboard.

37
00:02:28,860 --> 00:02:29,390
I can press.

38
00:02:29,400 --> 00: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

39
00:02:35,640 --> 00:02:39,120
or overwriting the existing let's just say I overwrite existing dashboard.

40
00:02:39,210 --> 00:02:44,520
OK, so the dashboard is saved and it's been overwritten as a matter if we go back to dashboards harm

41
00:02:44,520 --> 00:02:49,680
down the bottom here, it shows my most recently viewed dashboard and that's how it was when I saved

42
00:02:49,680 --> 00:02:49,850
it.

43
00:02:49,860 --> 00: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

44
00:02:54,270 --> 00:02:54,720
could go.

45
00:02:54,780 --> 00:03:01,470
Configuration data sources go back into that dashboards and press re-import, and that will put it back

46
00:03:01,470 --> 00:03:03,060
to the way it was at the beginning.

47
00:03:03,060 --> 00:03:05,310
So if you break the dashboard, it doesn't matter.

48
00:03:05,370 --> 00:03:05,760
Excellent.

49
00:03:05,790 --> 00:03:11,280
So going back to dashboard time now because I've recently viewed a dashboard is showing up down here.

50
00:03:11,280 --> 00:03:15,740
So simple streaming example that's back to the way it was when I first viewed it the first time.

51
00:03:15,750 --> 00:03:16,170
So excellent.

52
00:03:16,170 --> 00:03:21,060
So feel free to just press the buttons, but it doesn't really matter will go into the more details

53
00:03:21,060 --> 00:03:22,900
as we progress the next few videos.

54
00:03:22,920 --> 00:03:23,370
Excellent.

