Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Receive: fix
thanos_receive_write_{timeseries,samples}
stats
There are two path a data can be written to a receiver: through the HTTP or the gRPC endpoint, and `thanos_receive_write_{timeseries,samples}` only count the number of timeseries/samples received through the HTTP endpoint. So, there is no risk that a sample will be count twice, once as a remote write and once as a local write. On the other hand, we still need to account for the replication factor, and only count local writes is not enough as there might be no local writes at all (e.g. in RouterOnly mode).
- Loading branch information