Skip to content

Huang Shiyang

Shawn's TechBlog

Category: prometheus

nginx, prometheus

用Prometheus细化Nginx监控

Huang Shiyang October 10, 2018

国内用Nginx的比较多,Nginx的监控比较老的方案可能是通过跑脚本定期收集nginx的status模块的数据,或者监控nginx的日志;后来阿里的tengine在国内开始流行,于是诞生了很多不错的lua模块;但是这些监控方案在有新的监控需求的时候,可能就需要再修改脚本或者更改nginx... Read More | Share it now!

prometheus

PromQL Functions

Huang Shiyang October 9, 2018

https://prometheus.io/docs/prometheus/latest/querying/functions/ Some functions have default arguments, e.g. year(v=vector(time()) instant-vector). This means that there is one argument v which is an instant vector, which if not provided it will... Read More | Share it now!

prometheus

PromQL Operators

Huang Shiyang October 9, 2018

https://prometheus.io/docs/prometheus/latest/querying/operators/ Binary operators Prometheus’s query language supports basic logical and arithmetic operators. For operations between two instant vectors, the matching behavior can be... Read More | Share it now!

prometheus

PromQL Basic

Huang Shiyang October 9, 2018

https://prometheus.io/docs/prometheus/latest/querying/basics/ Prometheus provides a functional expression language that lets the user select and aggregate time series data in real time. The result of an expression can either be shown as a graph, viewed... Read More | Share it now!

prometheus

Prometheus 中 alertmanager报警规则详解

Huang Shiyang October 8, 2018

这篇文章介绍prometheus和alertmanager的报警和通知规则,prometheus的配置文件名为prometheus.yml,alertmanager的配置文件名为alertmanager.yml 报警:指prometheus将监测到的异常事件发送给alertmanager,而不是指发送邮件通知 通知:指alertmanager发送异常事件的通知(邮件、webhook等) Gmail... Read More | Share it now!

prometheus, redis

Redis Metrics Exporter

Huang Shiyang October 8, 2018October 8, 2018

GIT: https://github.com/oliver006/redis_exporter Prometheus exporter for Redis metrics. Supports Redis 2.x, 3.x and 4.x Building, configuring, and running Locally build and run it: $ go get github.com/oliver006/redis_exporter $ cd... Read More | Share it now!

prometheus

Alertmanager Configuration

Huang Shiyang October 8, 2018

CONFIGURATION Configuration... Read More | Share it now!

prometheus

Prometheus configuration

Huang Shiyang October 8, 2018

CONFIGURATION Prometheus is configured via command-line flags and a configuration file. While the command-line flags configure immutable system parameters (such as storage locations, amount of data to keep on disk and in memory, etc.), the... Read More | Share it now!

prometheus

Alertmanager

Huang Shiyang October 8, 2018

GIT: https://github.com/prometheus/alertmanager Alertmanager     The Alertmanager handles alerts sent by client applications such as the Prometheus server. It takes care of deduplicating, grouping, and routing them to the correct receiver... Read More | Share it now!

prometheus

Prometheus python client sample server

Huang Shiyang October 5, 2018

Flask:   from flask import Response, Flask, request import prometheus_client from prometheus_client.core import CollectorRegistry from prometheus_client import Summary, Counter, Histogram, Gauge import random, time # Create my app app =... Read More | Share it now!

  • 1
  • 2
  • >

Search

Tags

angularjs avro aws build cassandra centos command docker git github google cloud hadoop hive hortonworks hostname install cluster iptables jar java javascript json kafka kerberos kubernetes linux mac mapr mapreduce mongodb mysql nginx nodejs npm Prometheus python RabbitMQ raspberry pi redis schema shell ssl time ubuntu vi yum

Categories

  • 3d printer
  • Android
  • AngularJS
  • ansible
  • avro
  • AWS
  • C++
  • cassandra
  • CICD
  • Cloud
  • Database
  • Dataguise
  • Django
  • Docker
  • EC2
  • elasticsearch
  • express
  • Game
  • github
  • golang
  • Google Cloud
  • Google Map
  • Hadoop
  • helm
  • hexo
  • Hive
  • IOS
  • Java
  • Javascript
  • jekyll
  • jenkins
  • Kafka
  • kubernetes
  • linux
  • Log
  • Mac
  • Maven
  • Mongodb
  • MySQL
  • networking
  • nginx
  • nifi
  • Nodejs
  • Photoshop
  • PHP
  • Pig
  • prometheus
  • Python
  • RabbitMQ
  • raspberry pi
  • redis
  • Scala
  • Schema Registry
  • sublime
  • tenserflow
  • terraform
  • testing
  • TFS
  • Uncategorized
  • website
  • windows
  • 杂篇
January 2021
M T W T F S S
 123
45678910
11121314151617
18192021222324
25262728293031
« Dec    

Recent Posts

  • How to trigger a Kubernetes cronjob manually
  • python终止线程
  • python2 python3 hash() function
  • htop
  • Fakeapp

Archives

  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • December 2019
  • November 2019
  • October 2019
  • September 2019
  • August 2019
  • July 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • February 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018
  • April 2018
  • March 2018
  • February 2018
  • January 2018
  • December 2017
  • November 2017
  • October 2017
  • September 2017
  • August 2017
  • July 2017
  • May 2017
  • April 2017
  • March 2017
  • February 2017
  • January 2017
  • December 2016
  • October 2016
  • September 2016
  • August 2016
  • July 2016
  • June 2016
  • May 2016
  • April 2016
  • March 2016
  • February 2016
  • January 2016
  • December 2015
  • November 2015
  • October 2015
  • September 2015
  • August 2015
  • July 2015
  • June 2015
  • May 2015
  • April 2015
  • March 2015

Count per Day

  • 601014Total reads:
  • 402169Total visitors:
  • 91Visitors today:
  • 0Visitors currently online:

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Proudly powered by WordPress | Theme: Amadeus by Themeisle.