以 Spring Boot 3.5 + Micrometer 为基础,整理一次应用层 Metrics 埋点实践:自动埋点覆盖范围、@Observed 注解用法、高低基数字段设计、手动 Observation API,以及与 Prometheus 和 OTel 的关系。
Posts for: #metrics
postgresql 在 prometheus stack 中没有采集到 metrics 的排查
我在 homelab 的 k8s 集群中使用 helm 部署了 postgresql,但是 prometheus stack 没有采集到 postgresql 的指标数据。怎么排查这个问题呢?