prometheus的remote write功能
处理逻辑prometheus配置了remote write的目标地址后,它会从WAL读取数据,然后把采样数据写入各分片的内存队列,最后发起向远程目标地址的请求。数据流的逻辑大致如下: |--> queue (shard_1) --> remote endpointWAL --|--> queue (shard_...) --> remote endpoint |--> queue (shard_n) --> remote end









