NoDataWritten returns true if statistics indicate no data was written.
()
| 172 | |
| 173 | // NoDataWritten returns true if statistics indicate no data was written. |
| 174 | func (s WriteResponseStats) NoDataWritten() bool { |
| 175 | return (s.Samples + s.Histograms + s.Exemplars) == 0 |
| 176 | } |
| 177 | |
| 178 | // AllSamples returns both float and histogram sample numbers. |
| 179 | func (s WriteResponseStats) AllSamples() int { |