mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-18 14:40:26 +01:00
cbc637d1dd
- Move the remaining code responsible for stream aggregation initialization from remotewrite.go to streamaggr.go . This improves code maintainability a bit. - Properly shut down streamaggr.Aggregators initialized inside remotewrite.CheckStreamAggrConfigs(). This prevents from potential resource leaks. - Use separate functions for initializing and reloading of global stream aggregation and per-remoteWrite.url stream aggregation. This makes the code easier to read and maintain. This also fixes INFO and ERROR logs emitted by these functions. - Add an ability to specify `name` option in every stream aggregation config. This option is used as `name` label in metrics exposed by stream aggregation at /metrics page. This simplifies investigation of the exposed metrics. - Add `path` label additionally to `name`, `url` and `position` labels at metrics exposed by streaming aggregation. This label should simplify investigation of the exposed metrics. - Remove `match` and `group` labels from metrics exposed by streaming aggregation, since they have little practical applicability: it is hard to use these labels in query filters and aggregation functions. - Rename the metric `vm_streamaggr_flushed_samples_total` to less misleading `vm_streamaggr_output_samples_total` . This metric shows the number of samples generated by the corresponding streaming aggregation rule. This metric has been added in the commit |
||
---|---|---|
.. | ||
vm | ||
backupmanager.json | ||
clusterbytenant.json | ||
Makefile | ||
operator.json | ||
README.md | ||
victorialogs.json | ||
victoriametrics-cluster.json | ||
victoriametrics.json | ||
vmagent.json | ||
vmalert.json | ||
vmauth.json |
VictoriaMetrics dashboards
The directory contains the official list of Grafana dashboards for VictoriaMetrics components.
The vm
folder contains copies of the listed dashboards but alternated to use
VictoriaMetrics datasource.
The listed dashboards can be found on Grafana website.
When making changes to the dashboards in dashboards
folder, don't forget to call make dashboards-sync
and sync changes to Grafana website.