<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/"><channel><title>Prometheus on Shaowen Chen's Website</title><link>https://www.chenshaowen.com/en/tags/prometheus/</link><description>Recent content in Prometheus on Shaowen Chen's Website</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>&amp;copy;2016 - {year}, All Rights Reserved.</copyright><lastBuildDate>Sat, 11 Jul 2026 00:00:00 +0000</lastBuildDate><sy:updatePeriod>weekly</sy:updatePeriod><atom:link href="https://www.chenshaowen.com/en/tags/prometheus/atom.xml" rel="self" type="application/rss+xml"/><item><title>Deploying VictoriaMetrics in Containers</title><link>https://www.chenshaowen.com/en/blog/container-deploy-victoriametrics.html</link><pubDate>Sat, 11 Jul 2026 00:00:00 +0000</pubDate><atom:modified>Sat, 11 Jul 2026 00:00:00 +0000</atom:modified><guid>https://www.chenshaowen.com/en/blog/container-deploy-victoriametrics.html</guid><description>VictoriaMetrics (VM for short) is a time-series database compatible with the Prometheus ecosystem. It uses fewer resources than Prometheus and comes in both single-node and cluster editions. The single-node edition can directly replace Prometheus storage; the cluster edition splits reads, writes, and storage across vmstorage / vminsert / vmselect, giving it stronger horizontal scaling.</description><dc:creator>微信公众号</dc:creator><category>Middleware</category><category>Containers</category><category>VictoriaMetrics</category><category>Prometheus</category><category>Monitoring</category><category>Operations</category></item><item><title>Deploying ClickHouse in Containers</title><link>https://www.chenshaowen.com/en/blog/container-deploy-clickhouse.html</link><pubDate>Wed, 11 Feb 2026 00:00:00 +0000</pubDate><atom:modified>Wed, 11 Feb 2026 00:00:00 +0000</atom:modified><guid>https://www.chenshaowen.com/en/blog/container-deploy-clickhouse.html</guid><description>1. ClickHouse Single Node 1.1 Configure Environment Variables 1 2 3 4 5 6 7 8 export CONTAINER_CLI=nerdctl export IMAGE=clickhouse/clickhouse-server:24 export CLICKHOUSE_INSTANCE_NAME=clickhouse export CH_DATA=/data/ops/clickhouse/$CLICKHOUSE_INSTANCE_NAME export CLICKHOUSE_PORT=9000 export CLICKHOUSE_PROMETHEUS_PORT=9363 export CLICKHOUSE_USER=default export CLICKHOUSE_PASSWORD=xxxxxx 1.2 Generate the Configuration Files 1 2 3 4 5 6 7 8 9 10 11 12 13</description><dc:creator>微信公众号</dc:creator><category>Middleware</category><category>Containers</category><category>ClickHouse</category><category>Prometheus</category><category>Monitoring</category><category>Operations</category></item><item><title>Common Prometheus Alerting Queries for Various Resources</title><link>https://www.chenshaowen.com/en/blog/some-common-promql-for-alarming.html</link><pubDate>Sun, 21 Aug 2022 11:22:55 +0000</pubDate><atom:modified>Sun, 21 Aug 2022 11:22:55 +0000</atom:modified><guid>https://www.chenshaowen.com/en/blog/some-common-promql-for-alarming.html</guid><description>Hosts Host memory usage exceeds threshold 1 - node_memory_MemAvailable_bytes{mode!=&amp;quot;idle&amp;quot;} / node_memory_MemTotal_bytes
Threshold: 0.9
Host CPU usage exceeds threshold 1 - avg(irate(node_cpu_seconds_total{mode=&amp;quot;idle&amp;quot;}[5m])) by (host_name)
Threshold: 0.85
Host disk usage exceeds threshold 1 - avg without (fstype)(node_filesystem_free_bytes{fstype!='rootfs',mountpoint!~'/(run|var|snap).*'} / node_filesystem_size_bytes{fstype!='rootfs',mountpoint!~'/(run|var|snap).*'})
Threshold: 0.8
Windows Windows host memory usage exceeds threshold 1 - 1 * windows_os_physical_memory_free_bytes{job=&amp;quot;windows_exporter&amp;quot;,mode!</description><dc:creator>微信公众号</dc:creator><category>Prometheus</category><category>Alerting</category><category>Monitoring</category><category>Operations</category><category>PromQL</category></item><item><title>Using Blackbox Exporter to Test Network Connectivity</title><link>https://www.chenshaowen.com/en/blog/using-blackbox-exporter-to-test-network.html</link><pubDate>Sat, 25 Jun 2022 00:00:00 +0000</pubDate><atom:modified>Sat, 25 Jun 2022 00:00:00 +0000</atom:modified><guid>https://www.chenshaowen.com/en/blog/using-blackbox-exporter-to-test-network.html</guid><description>If you need to monitor the network status between two hosts, or between a host and an external service, then the Blackbox Exporter mentioned in this article is worth a try.
1. Installing Blackbox 1.1 Deploying on a Host Download the binary package 1 2 3 4 5 wget https://github.</description><dc:creator>微信公众号</dc:creator><category>Prometheus</category><category>Monitoring</category><category>Probing</category><category>Operations</category><category>Learning</category><category>Network</category><category>Blackbox Exporter</category><category>Availability</category></item><item><title>How to collect labels and annotations of Kubernetes objects</title><link>https://www.chenshaowen.com/en/blog/how-to-collect-labels-and-annotations-of-kubernetes-objects.html</link><pubDate>Thu, 02 Jun 2022 01:00:00 +0000</pubDate><atom:modified>Thu, 02 Jun 2022 01:00:00 +0000</atom:modified><guid>https://www.chenshaowen.com/en/blog/how-to-collect-labels-and-annotations-of-kubernetes-objects.html</guid><description>1. Why kube-status-metrics is needed Kubernetes monitoring mainly focuses on two kinds of metrics:
Basic performance metrics CPU, memory, disk, network, and so on. These can be collected by deploying node-exporter as a DaemonSet and having Prometheus scrape the relevant metrics.
Resource object metrics The replica count of a Deployment, the running state of a Pod, and so on.</description><dc:creator>微信公众号</dc:creator><category>Kubernetes</category><category>Monitoring</category><category>Metrics</category><category>Collection</category><category>Prometheus</category><category>Operations</category><category>Learning</category><category>Observability</category><category>kube-status-metrics</category></item><item><title>Managing Data from Multiple Prometheus Instances Centrally with Thanos</title><link>https://www.chenshaowen.com/en/blog/manage-multiple-prometheus-using-thanos.html</link><pubDate>Tue, 22 Mar 2022 00:00:00 +0000</pubDate><atom:modified>Tue, 22 Mar 2022 00:00:00 +0000</atom:modified><guid>https://www.chenshaowen.com/en/blog/manage-multiple-prometheus-using-thanos.html</guid><description>1. Layering of Monitoring As shown above, when building a monitoring system, two strategies are used: Layered monitoring. The benefit of separating IaaS, MySQL middleware, and App layer monitoring is that the systems have high availability and fault tolerance between them. When App layer monitoring stops working, IaaS layer monitoring</description><dc:creator>微信公众号</dc:creator><category>Thanos</category><category>Prometheus</category><category>Monitoring</category><category>Storage</category><category>Kubernetes</category><category>Operations</category></item><item><title>Prometheus and Grafana: Building Kubernetes Monitoring</title><link>https://www.chenshaowen.com/en/blog/the-monitor-of-kubernetes-using-prometheus-grafana.html</link><pubDate>Fri, 03 Sep 2021 00:00:00 +0000</pubDate><atom:modified>Fri, 03 Sep 2021 00:00:00 +0000</atom:modified><guid>https://www.chenshaowen.com/en/blog/the-monitor-of-kubernetes-using-prometheus-grafana.html</guid><description>The Prometheus community moves so fast that some of the documents I wrote earlier have become outdated. I&amp;rsquo;ve recently started paying attention to observability again, filling in some of the gaps in my operations knowledge.
1. Terminology Grafana A visualization tool that provides a variety of visualization panels and supports many data sources, including Prometheus, OpenTSDB, MySQL, and others.</description><dc:creator>微信公众号</dc:creator><category>Prometheus</category><category>Grafana</category><category>Kubernetes</category><category>Monitoring</category><category>Operations</category><category>Observability</category></item></channel></rss>