Prevent number of remote write shards from going negative.
Prevent number of remote write shards from going negative.

This can happen in the situation where the system scales up the number of shards massively (to deal with some backlog), then scales it down again as the number of samples sent during the time period is less than the number received.

AlekSi/prometheus,yanghongkjxy/prometheus,Gouthamve/prometheus,brancz/prometheus,alileza/prometheus,GoogleCloudPlatform/prometheus,JavierZunzunegui/prometheus,alileza/prometheus,AlekSi/prometheus,alileza/prometheus,keegancsmith/prometheus,prometheus/prometheus,GoogleCloudPlatform/prometheus,amorken/prometheus,GoogleCloudPlatform/prometheus,Conorbro/prometheus,kangwoo/prometheus,AlekSi/prometheus,prometheus/prometheus,amorken/prometheus,Stackdriver/stackdriver-prometheus,brancz/prometheus,kangwoo/prometheus,Conorbro/prometheus,JavierZunzunegui/prometheus,keegancsmith/prometheus,Colstuwjx/prometheus,JavierZunzunegui/prometheus,Stackdriver/stackdriver-prometheus,yanghongkjxy/prometheus,Gouthamve/prometheus,amorken/prometheus,kangwoo/prometheus,brancz/prometheus,AlekSi/prometheus,kangwoo/prometheus,Conorbro/prometheus,Stackdriver/stackdriver-prometheus,Conorbro/prometheus,prometheus/prometheus,yanghongkjxy/prometheus,keegancsmith/prometheus,GoogleCloudPlatform/prometheus,Colstuwjx/prometheus,Colstuwjx/prometheus,Gouthamve/prometheus,keegancsmith/prometheus,Gouthamve/prometheus,Colstuwjx/prometheus,yanghongkjxy/prometheus,prometheus/prometheus,brancz/prometheus,amorken/prometheus,alileza/prometheus,prometheus/prometheus,keegancsmith/prometheus,alileza/prometheus,JavierZunzunegui/prometheus,Stackdriver/stackdriver-prometheus,GoogleCloudPlatform/prometheus