Most things that you did manually can be automated!

Goal

My new task is to take a screenshot of Kibana dashboard at some point of time and email that captured screenshot to business users.

What

Kibana — Kibana is the open-source analytics & monitoring solution for every database.

Puppeteer — Puppeteer is a Node library that I used for scraping data.

How

Challenges:

  1. Allow ignore-certificate-errors [for invalid/unknown/self signed SSL certificates]

This is actually very exciting stuff explained in the simple 4 step process:

  • Login Kibana
  • Open the dashboard and wait for Navigation [wait until network idle]
  • Take full page screenshot in high-quality jpeg images.
  • return appropriate response and close pptr

Sounds cool!

Working code is available here -> https://github.com/hariom282538/kibana_dashboard_screenshot


True story: Epic Advice From An Amazing Lady

‘Some guys don’t have a social circle’

That’s what my co-worker told me after tossing around the idea of “dating app”

I am 27 and have a nonexistent social circle.

I would describe myself as intuitive, genuine and easygoing. I am a fast learner, an abstract thinker and very resilient…


From Zero to Hero

Centralized logging is an essential component of any production-grade infrastructure. Analyzing log data can help in debugging issues with your deployed applications and services, such as determining the reason for service termination or application crash.

Let’s design one POC for a quick setup.

Components

Architecture


Most things that you did manually can be automated!

Goal

My new task is to take a screenshot of Grafana dashboard at some point of time and email that captured screenshot to business users.

What

Grafana — Grafana is the open-source analytics & monitoring solution for every database.

Puppeteer — Puppeteer is a Node library that I used for scraping data.

How

Challenges:

  1. Allow ignore-certificate-errors [for invalid/unknown/self signed SSL certificates]

This is actually very exciting stuff explained in the simple 4 step process:

  • Login Grafana
  • Open the dashboard and wait for Navigation [wait until network idle]
  • Take full page screenshot in high-quality jpeg images.
  • return appropriate response and close pptr

Sounds cool!

Working code is available here -> https://github.com/hariom282538/grafana_dashboard_screenshot


Most things that you did manually can be automated!

Goal

My new task is to capture a screenshot of QlickSense dashboard if data[basically KPI values] is within limits at some point of time and email that captured screenshot to business users.

What

QlickSense — A free data visualization and discovery tool that lets you analyze data quickly and make business decisions fast.

Puppeteer — Puppeteer is a Node library that I used for scraping data.

How

Challenges:

  1. Allow ignore-certificate-errors [for invalid/unknown/self signed SSL certificates]
  2. Dynamic Scraping [to get all KPI keys(title) and values(data/text) from dashboard]

This is actually very exciting stuff explained in the simple 4 step process:

  • Login
  • Open dashboard[wait until network idle]
  • Start scraping and make JSON
  • Take a screenshot and close pptr

Sounds cool!

Working code is available here -> https://github.com/hariom282538/qlicksense_dynamic_scraper


Bitbucket as a Git Provider for GitOps

Jenkins X is a CI / CD platform for Kubernetes.

https://jenkins-x.io/

We’re going to:

1. Install aws-cli
2. Install kubectl
3. Enabling kubectl bash autocompletion
4. Setup cluster access using kubeconfig (Local/Cloud)
5. Install KOPS
6. Exporting env variables
7. Install JX
8. Setup your environment
9. Cluster State storage
10. Cluster…


Setting up a jupyter-lab server as service || Reverse-proxied with Nginx

JupyterLab is the next-generation web-based user interface for Project Jupyter.

We’re going to:
1. Install Jupyter-Lab
2. Install NodeJS and NPM
3. Install Jupyter as a Service
4. Install Nginx for Proxy

1–4 steps automated and scripts available here — https://github.com/hariom282538/JupyterLabSetup


Untold Friendship with Strangers

credits: https://in.pinterest.com/pin/266205027949322236/

we are not friends…
we’ve never invited each other for dinner
or exchanged gifts,
or made plans to catch the first day first shows
we’re not even connected on Facebook,
nor do we make each other laugh on snapchat
we are poles apart…
but in the endeavour, in resolve…
we’re quite alike
strangers in real life…
but when we meet,
there’s an unspoken bond,
a trust that is deeply felt,
and holding hands a new sky opens up.
strangers…

yet closer than friends


From Zero to Hero

Prerequisites

To follow this tutorial, you will need the following:

How to install and use docker?

Image building

We are going to build our image.

We are going to use three files:


Alvida!

One year and one month.
I am leaving with a small backpack of happiness and laughter, one way ticket to my home and some pretty huge dreams.

I spent time at a beautiful CP to explore various yummy food joints.

We discovered different stages and changes of our emotions…

Hariom Vashisth

Full Stack Developer || DevOps Engineer || AWS || GCP || Docker || Kubernetes • Now @airtel • Prev @exzeo @SocialCops @itc • RT's NOT Endorsements • 🇮🇳

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store