VictoriaMetrics/app/vmagent/remotewrite
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
..
client.go chore: follow-up after c740a8042e 2024-06-03 10:26:57 +02:00
pendingseries.go Exemplar support (#5982) 2024-05-07 12:09:44 +02:00
pendingseries_test.go chore: remove redundant words (#6348) 2024-05-29 14:08:38 +02:00
pendingseries_timing_test.go lib/prompbmarshal: switch to github.com/VictoriaMetrics/easyproto 2024-01-14 23:04:45 +02:00
relabel.go app/vmagent: removed deprecated -remoteWrite.multitenantURL flag support (#6253) 2024-05-13 15:22:37 +02:00
relabel_test.go app/vmagent/remotewrite: fix data race when extra labels are added to samples before sending them to multiple remote storage systems 2023-09-08 23:24:00 +02:00
remotewrite.go lib/streamaggr: added stale samples metric, added metrics labels (#6462) 2024-07-01 14:56:17 +02:00
remotewrite_test.go lib/streamaggr: added stale samples metric, added metrics labels (#6462) 2024-07-01 14:56:17 +02:00
streamaggr.go lib/streamaggr: added stale samples metric, added metrics labels (#6462) 2024-07-01 14:56:17 +02:00