Re: [prometheus-users] Re: Prometheus inner metrics can't be remote write

2022-04-19 Thread Yawhua Wong
Thanks a lot. my mistake. On Mon, Apr 18, 2022 at 8:19 PM Brian Candler wrote: > By "inner metrics" I guess you mean "internal metrics". These *are* > written to the remote storage. For example: I use VictoriaMetrics for > remote storage, and the "up" metrics *do* propagate there. > > So I thi

[prometheus-users] Re: Prometheus inner metrics can't be remote write

2022-04-18 Thread Brian Candler
By "inner metrics" I guess you mean "internal metrics". These *are* written to the remote storage. For example: I use VictoriaMetrics for remote storage, and the "up" metrics *do* propagate there. So I think your problem must be at the receiving side. You haven't specified what system it is

[prometheus-users] Re: Prometheus inner metrics can't be remote write

2022-04-18 Thread Yawhua Wong
Sorry for the 'screenshot images' and thanks for your reply. There are some inner metrics in Prometheus to expose targets status. Refer to this https://github.com/prometheus/prometheus/blob/ec3d02019e84d9d793d2e137891dd7ea6d19ea60/scrape/scrape.go#L1662 I can query on Prometheus, but no data

[prometheus-users] Re: Prometheus inner metrics can't be remote write

2022-04-18 Thread Brian Candler
(Please don't post screenshot images - they are hard to read, and impossible to copy-paste from) What are you trying to do? Your rewriting config says: 1. If the label name is "up", then keep the metric. 2. Otherwise, keep the metric. (This is the default if you reach the end of the ruleset) H