mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
dashboards: provide copies of Grafana dashboards alternated with Vict… (#4905)
dashboards: provide copies of Grafana dashboards alternated with VictoriaMetrics datasource Signed-off-by: hagen1778 <roman@victoriametrics.com>
This commit is contained in:
parent
8d50032dd6
commit
e8db78eaa4
8 changed files with 23798 additions and 0 deletions
1
Makefile
1
Makefile
|
@ -16,6 +16,7 @@ GO_BUILDINFO = -X '$(PKG_PREFIX)/lib/buildinfo.Version=$(APP_NAME)-$(DATEINFO_TA
|
||||||
|
|
||||||
include app/*/Makefile
|
include app/*/Makefile
|
||||||
include deployment/*/Makefile
|
include deployment/*/Makefile
|
||||||
|
include dashboards/Makefile
|
||||||
include snap/local/Makefile
|
include snap/local/Makefile
|
||||||
include package/release/Makefile
|
include package/release/Makefile
|
||||||
|
|
||||||
|
|
16
dashboards/Makefile
Normal file
16
dashboards/Makefile
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
dashboard-copy:
|
||||||
|
echo "" > dashboards/vm/${SRC}
|
||||||
|
cat dashboards/${SRC} >> dashboards/vm/${SRC}
|
||||||
|
sed -i='.tmp' 's/prometheus/victoriametrics-datasource/g' dashboards/vm/${SRC}
|
||||||
|
sed -i='.tmp' 's/Prometheus/VictoriaMetrics/g' dashboards/vm/${SRC}
|
||||||
|
sed -i='.tmp' 's/${D_UID}/${D_UID}_vm/g' dashboards/vm/${SRC}
|
||||||
|
sed -i='.tmp' 's/"title": "${TITLE}"/"title": "${TITLE} (VM)"/g' dashboards/vm/${SRC}
|
||||||
|
rm -rf dashboards/vm/*.tmp
|
||||||
|
|
||||||
|
# Copies listed dashboards to vm/* but changes the datasource type from Prometheus to VictoriaMetrics.
|
||||||
|
# The command should be called before commiting changes to dashboards/* files.
|
||||||
|
dashboards-sync:
|
||||||
|
SRC=victoriametrics.json D_UID=wNf0q_kZk TITLE="VictoriaMetrics" $(MAKE) dashboard-copy
|
||||||
|
SRC=victoriametrics-cluster.json D_UID=oS7Bi_0Wz TITLE="VictoriaMetrics - cluster" $(MAKE) dashboard-copy
|
||||||
|
SRC=vmagent.json D_UID=G7Z9GzMGz TITLE="VictoriaMetrics - vmagent" $(MAKE) dashboard-copy
|
||||||
|
SRC=vmalert.json D_UID=LzldHAVnz TITLE="VictoriaMetrics - vmalert" $(MAKE) dashboard-copy
|
10
dashboards/README.md
Normal file
10
dashboards/README.md
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
# 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](https://github.com/VictoriaMetrics/grafana-datasource).
|
||||||
|
|
||||||
|
The listed dashboards can be found on [Grafana website](https://grafana.com/orgs/victoriametrics/dashboards).
|
||||||
|
|
||||||
|
When making changes to the dashboards in `dashboards` folder, don't forget to call `make dashboards-sync`
|
||||||
|
and sync changes to [Grafana website](https://grafana.com/orgs/victoriametrics/dashboards).
|
9067
dashboards/vm/victoriametrics-cluster.json
Normal file
9067
dashboards/vm/victoriametrics-cluster.json
Normal file
File diff suppressed because it is too large
Load diff
5588
dashboards/vm/victoriametrics.json
Normal file
5588
dashboards/vm/victoriametrics.json
Normal file
File diff suppressed because it is too large
Load diff
5949
dashboards/vm/vmagent.json
Normal file
5949
dashboards/vm/vmagent.json
Normal file
File diff suppressed because it is too large
Load diff
3166
dashboards/vm/vmalert.json
Normal file
3166
dashboards/vm/vmalert.json
Normal file
File diff suppressed because it is too large
Load diff
|
@ -32,6 +32,7 @@ The following `tip` changes can be tested by building VictoriaMetrics components
|
||||||
* FEATURE: [vmui](https://docs.victoriametrics.com/#vmui): add button for auto-formatting PromQL/MetricsQL queries. See [this issue](https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4681). Thanks to @aramattamara for the [pull request](https://github.com/VictoriaMetrics/VictoriaMetrics/pull/4694).
|
* FEATURE: [vmui](https://docs.victoriametrics.com/#vmui): add button for auto-formatting PromQL/MetricsQL queries. See [this issue](https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4681). Thanks to @aramattamara for the [pull request](https://github.com/VictoriaMetrics/VictoriaMetrics/pull/4694).
|
||||||
* FEATURE: [vmui](https://docs.victoriametrics.com/#vmui): improve accessibility score to 100 according to [Google's Lighthouse](https://developer.chrome.com/docs/lighthouse/accessibility/) tests.
|
* FEATURE: [vmui](https://docs.victoriametrics.com/#vmui): improve accessibility score to 100 according to [Google's Lighthouse](https://developer.chrome.com/docs/lighthouse/accessibility/) tests.
|
||||||
* FEATURE: [vmui](https://docs.victoriametrics.com/#vmui): organize `min`, `max`, `median` values on the chart legend and tooltips for better visibility.
|
* FEATURE: [vmui](https://docs.victoriametrics.com/#vmui): organize `min`, `max`, `median` values on the chart legend and tooltips for better visibility.
|
||||||
|
* FEATURE: dashboards: provide copies of Grafana dashboards alternated with VictoriaMetrics datasource at [dashboards/vm](https://github.com/VictoriaMetrics/VictoriaMetrics/tree/master/dashboards/vm).
|
||||||
|
|
||||||
* BUGFIX: [vmagent](https://docs.victoriametrics.com/vmagent.html): consistently set `User-Agent` header to `vm_promscrape` during scraping with enabled or disabled [stream parsing mode](https://docs.victoriametrics.com/vmagent.html#stream-parsing-mode). See [this issue](https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4884).
|
* BUGFIX: [vmagent](https://docs.victoriametrics.com/vmagent.html): consistently set `User-Agent` header to `vm_promscrape` during scraping with enabled or disabled [stream parsing mode](https://docs.victoriametrics.com/vmagent.html#stream-parsing-mode). See [this issue](https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4884).
|
||||||
* BUGFIX: [vmagent](https://docs.victoriametrics.com/vmagent.html): consistently set timeout for scraping with enabled or disabled [stream parsing mode](https://docs.victoriametrics.com/vmagent.html#stream-parsing-mode). See [this issue](https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4847).
|
* BUGFIX: [vmagent](https://docs.victoriametrics.com/vmagent.html): consistently set timeout for scraping with enabled or disabled [stream parsing mode](https://docs.victoriametrics.com/vmagent.html#stream-parsing-mode). See [this issue](https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4847).
|
||||||
|
|
Loading…
Reference in a new issue