Professional Documents
Culture Documents
Assignment
Assignment
Assignment
https://youtu.be/GnWZsHjM5To
First Step
I will install podman
Output
pawan@pawan-Standard:~$ podman ps
OUTPUT
CONTAINER ID IMAGE COMMAND CREATED STATUS
PORTS NAMES
8262854f9f69 docker.io/grafana/grafana:latest 2 minutes ago Up 2 minutes ago
0.0.0.0:3000->3000/tcp grafanaserver
Then i will go inside the container and install google sheet -datasource
Please restart Grafana after installing plugins. Refer to Grafana documentation for
instructions if necessary.
bash-5.1$
After installation I will check it is working properly or not
Localhost:3000
Again it will restart.
#podman restart grafanaserver
Create google API (google sheet API) and enable google sheets API
To create the API key you need to google cloud .google.com. To create the API key , open
your browser type “console.cloud.google.com/home ”.
It will open a cloud console where you will google sheet API .But first you need to create a
project in google cloud.and if there is any error related to the restriction on your company
gmail id then you need to use your ansible account .so then you need to create project with
any name then click on credential and select API key and you we able to see api key.and if
you don't see any credential.then you need go with library option it will open search bar type
google sheet there.then you will get an option “enable” google sheet API. then clink on
credential option and select on create credential and select on API key . you need to
Configure google sheets as datasource in grafana
Now copy google sheet API key from the google cloud and paste the google sheet data
source API key . then click on save and test.
Then you can go with the explore option and there you need a spreadsheet id . so open your
google spreadsheet and go to share option and allow link to anyone and copy link but we
dont need whole link. We just need a spreadsheet id so we just copy the middle part of the
link (after d/ and before /edit) that is spreadsheet id .
Spreadsheet id = 1QuCzXoYxT5PQWoaQRavwWKJ6vEowW_l1SffDoRReQIQ
You will see whole data coming . and you can go with adding a new panel where you will
get more options for showing data in graphs .