Ingest a metric sample. If the active memtable signals flush needed, the caller should call `try_flush()` to rotate and flush the frozen memtable.
(&mut self, series_id: SeriesId, sample: MetricSample)
| 125 | /// If the active memtable signals flush needed, the caller should call |
| 126 | /// `try_flush()` to rotate and flush the frozen memtable. |
| 127 | pub fn ingest_metric(&mut self, series_id: SeriesId, sample: MetricSample) -> IngestResult { |
| 128 | self.do_ingest(|mt| mt.ingest_metric(series_id, sample)) |
| 129 | } |
| 130 | |
| 131 | /// Ingest a log entry. |
| 132 | pub fn ingest_log(&mut self, series_id: SeriesId, entry: LogEntry) -> IngestResult { |