Moving forward majority of the data points that we will work with and the data we send to graphite will be based on an imaginary company called the shoe hop.
You can think of this of a company of a store which sells shoes.
This company or store has three types of shoes.
They are low fares boots and high heels.
When we want to show how many low fares or boots or high heads we have sold.
We are going to use a bucket for each type of shoes and that bucket or data Graham is gonna be a count data bucket so for loafers for example it's going to be shoe hop that sets that low fares and for boots it's going to be shoe hop that saves dot boots from when we sell shoes.
We have several types of payments it can be either paid by cash by a credit card or by PayPal and we can also have refunds for example when someone returns their shoe that that they just bought to the store.
We have to refund the money.
So for that we are going to use a gauge data point and the bucket name is shoe hop that refund but for the payments they will be shoe hop the payments and then followed by the payment type.
For example cash card or paper.
Now the shoe hub is a bigger company.
It grows and then they will have shoe have Australia shoe hub USA and shoe hop India.
So again each country has their payments and sales as well as refunds.
For example in Australia we will have shoe hub dot a you that payments Dot card for card payments and also for example in the U.S.
for cash payments we will have shoe hop dot U.S.
that payments that cash.
So moving forward when we want to send data to graphite we are going to walk based on this imaginary company to make life easier for you I have created a program in that core that you can use.
Let me show you.
This is the github repository of the issue hub global program that I just mentioned.
This is a and core application.
That means that this is a cross platform program so you can use it basically on Windows Mac and Linux.
If you don't want to get involved in compiling this program you can go to release folder in GitHub and download the zip file that matches the type of your operating system on packet and just use it.
All these packages include 64 bit of the application if you want a 32 bit version then you need to compile the code on the read me of the github repository.
I have explained that how you can compile the code and everything.
So when you run the program it will ask for you that where your stats the ease you have to make sure that you only enter IP address and not the DNS name and also you have to mention how many data points you want and then this program will just dump a lot of data points in the limit of a one to the number you specify into the stats.
And then it starts C.
it passes it to graph.
So let's go to the next lecture and have a look at graph on.
0 Comments