[Part 2] How to setup alertmanager and send alerts ?

Introduction In PART - 1, We have successfully setup Prometheus and exporters. In this part, we are going to setup alertmanager and will send our first alert. Alertmanager is software that is maintained by the prometheus and it is written in Go. It takes care of deduplicating, grouping, and routing them to the correct receiver integration such as email, PagerDuty, or OpsGenie. It also takes care of silencing and inhibition of alerts. ...

October 23, 2019 · 7 min · Ashish Tiwari

[Part 1] How To Setup Prometheus And Exporters For Alerts And Monitoring?

As a developer, many times you would have worried, whether your services are up and running or not. Not only that, sometimes as an infrastructure guy you might be also worried about your server’s health too. What is the current RAM or disk utilization? or whether they are going to be fully occupied which in turn can completely bring the system down. These are just the basics and in fact there are tons of more such things which need to be monitored and fixed in everyday’s life. ...

September 22, 2019 · 7 min · Ashish Tiwari

What should be the value of max_gram and min_gram in Elasticsearch?

I was working on elasticsearch and the requirement was to implement like query “%text%” ( like mysql %like% ). We could use wildcard, regex or query string but those are slow. Hence i took decision to use ngram token filter for like query. It was quickly implemented on local and works exactly i want. The problem To know the actual behavior, I implemented the same on staging server. I found some problem while we start indexing on staging. ...

September 22, 2019 · 2 min · Ashish Tiwari