aliyun-exporter icon indicating copy to clipboard operation
aliyun-exporter copied to clipboard

RDS采集数据时某些库没有数据

Open infamt opened this issue 5 years ago • 2 comments

Rds 数据库采集指标的时候,会频繁出现采集不到数据的情况,导致图表出现断层,这种情况出现在有压力的主库(六个库,有两个主库频繁出现采集不到数据,其他四个库间隔很久才会出现一次),请问有解决的方法吗?

infamt avatar May 07 '19 02:05 infamt

已知问题, 云监控 API 的响应中偶尔会缺失部分实例的数据(通常发生在整点)

workaround:

  • 将 Prometheus 中的 scrape_interval 从 60s 调整到 30s
  • 将 Grafana 图表的 null 处理调整为 "connected"

aylei avatar May 07 '19 02:05 aylei

image 这是主库的,缺失的部分有时候会达到四分钟,scrape_interval 是 30s,如果使用 connceted 会不会影响数据的精确度? image 这是从库的,很少会缺失数据。

infamt avatar May 07 '19 02:05 infamt