VictoriaMetrics/app/vminsert/common
Andrii Chubatiuk 861852f262
lib/streamaggr: added stale samples metric, added metrics labels (#6462)
### Describe Your Changes

- added stale metrics counters for input and output samples
- added labels for aggregator metrics =>
`name="{rwctx}:{aggrId}:{aggrSuffix}"`
   - rwctx - global or number starting from 1
   - aggrid - aggregator id starting from 1
   - aggrSuffix - <interval>_(by|without)_label1_label2_labeln
   e.g: `name="global:1:1m_without_instance_pod"`

### Checklist

The following checks are **mandatory**:

- [ ] My change adheres [VictoriaMetrics contributing
guidelines](https://docs.victoriametrics.com/contributing/).

---------

Signed-off-by: hagen1778 <roman@victoriametrics.com>
Co-authored-by: hagen1778 <roman@victoriametrics.com>
2024-07-01 14:56:17 +02:00
..
insert_ctx.go lib/streamaggr: skip empty aggregators (#6307) 2024-05-20 14:03:28 +02:00
insert_ctx_pool.go app/vminsert/common: remove obsolete optimization for reducing memory usage for InsertCtx pool 2024-04-20 20:51:53 +02:00
sort_labels.go app/{vminsert,vmagent}: add -sortLabels command-line option for sorting time series labels before ingesting them in the storage 2021-03-31 23:27:58 +03:00
streamaggr.go lib/streamaggr: added stale samples metric, added metrics labels (#6462) 2024-07-01 14:56:17 +02:00