lapee79's Tech Blog

lapee79의 기술 지식 창고.

Monitoring HTTP using Blackbox exporter

Blackbox exporter can monitor the external services over HTTP, HTTPS, DNS, TCP, ICMP on Prometheus. In this post, I’ll show you how to monitor HTTP/HTTPS using Blackbox exporter. Blackbox exporter is going to be running on Kubernetes. Environment Before you begin, you need to have these: Kubernetes Prometheus operator Blackbox exporter configuration Write the Blackbox configuration file as ConfigMap to configure http module for monitoring web services. Continue reading

Loki - Kubernetes logging

Loki is a Prometheus-inspired logging service for cloud native infrastructure. What is Loki? Open sourced by Grafana Labs during KubeCon Seattle 2018, Loki is a logging backend optimized for users running Prometheus and Kubernetes with great logs search and visualization in Grafana 6.0. Grafana Loki is a set of components, that can be composed into a fully featured logging stack. It builds around the idea of treating a single log line as-is. Continue reading

Alerts of the Prometheus Alertmanager with MS Teams

Prometheus alerting through Alertmanager can be configured to send messages to Email, SMS or messangers. My company uses Microsoft Teams as team messanger. Alertmanager supports Email, HipChat, PagerDuty, Slack etc. natively except Microsoft Teams. So it needs to be used Webhook to send a third-party tool that sends messages to Microsoft Teams. This post assumes that you are using the Prometheus operator for monitoring your Kubernetes cluster. We’re going to know how to send Prometheus alerts to Microsoft Teams. Continue reading