Also, I have set the remote read to Prometheus_A, it only gets the default metrics too
chriest0827 在 2020年8月27日 星期四下午2:51:45 [UTC+8] 的信中寫道: > Hi Everyone, > > My Prometheus cannot get the customize metrics both in another Prometheus > or InfluxDB > > I have three servers : > > Prometheus_A > Prometheus_B > InfluxDB > > Prometheus_A was set the remote write to InfluxDB, and I can see > all metrics was written in the InfluxDB > > > SHOW MEASUREMENTS > name: measurements > name > ---- > ALERTS > ALERTS_FOR_STATE > A_item > Item2 > Item3 > Item4 > > however, when I was set the remote read in Prometheus_B, I only can get > some default metrics > > here is my code in Prometheus_B: > > remote_read: > #- url: " > http://InfluxDB:8086/api/v1/prom/read?db=prometheus&u=prometheus&p=prometheus > " > # - url: "http://Prometheus_A:9090/api/v1/read" > - url: "http://InfluxDB:8086/api/v1/prom/read?db=prometheus" > read_recent: true > > Am I missing the setting which I need to have? > -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/1c38a0a3-9d0e-4753-aa25-34fa73416181n%40googlegroups.com.

