2篇 prometheus related articles

Update prometheus version in microk8s

Shows prometheus-community helm repo was already present.

microk8s helm3 repo list

Update chart repo

microk8s helm3 repo update

Search kube-prometheus-stack version

microk8s helm3 search repo prometheus-community/kube-prometheus-stack

Update kube-prometheus-stack with specific version

microk8s helm3 upgrade -n observability kube-prom-stack prometheus-community/kube-prometheus-stack --version 55.7.0 --install
More ~

prometheus中gauge和summary的区别是什么

Gauge

  • 定义: Gauge 是一个时间序列度量标准,其值可以随着时间的推移而增加或减少。
  • 特点:
    • Gauge 的值可以为正、负或零。
    • Gauge 的值可以随时间变化。
    • Gauge 的值可以被应用程序主动设置。
  • 使用场景:
    • 跟踪应用程序消耗的内存量。
    • 跟踪应用程序的并发连接数。
    • 跟踪应用程序的请求数量。
More ~