Update VL daashboard. Add Resource Section, add ds and job filters, a… (#4981)

* Update VL daashboard. Add Resource Section, add ds and job filters, add metric collection in docker compose from victorialogs, fix networkigs usage in docker compose

Signed-off-by: Artem Navoiev <tenmozes@gmail.com>

* add vl dashboard to docker compose

Signed-off-by: Artem Navoiev <tenmozes@gmail.com>

* add vl dashboard to docker compose

Signed-off-by: Artem Navoiev <tenmozes@gmail.com>

---------

Signed-off-by: Artem Navoiev <tenmozes@gmail.com>
This commit is contained in:
Artem Navoiev 2023-09-10 06:04:07 -07:00 committed by GitHub
parent 9bdcf483a7
commit fef0c232e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 1920 additions and 107 deletions

File diff suppressed because it is too large Load diff

View file

@ -49,6 +49,7 @@ services:
- grafanadata:/var/lib/grafana - grafanadata:/var/lib/grafana
- ./provisioning/:/etc/grafana/provisioning/ - ./provisioning/:/etc/grafana/provisioning/
- ./../../dashboards/victoriametrics.json:/var/lib/grafana/dashboards/vm.json - ./../../dashboards/victoriametrics.json:/var/lib/grafana/dashboards/vm.json
- ./../../dashboards/victorialogs.json:/var/lib/grafana/dashboards/vl.json
- ./../../dashboards/vmagent.json:/var/lib/grafana/dashboards/vmagent.json - ./../../dashboards/vmagent.json:/var/lib/grafana/dashboards/vmagent.json
- ./../../dashboards/vmalert.json:/var/lib/grafana/dashboards/vmalert.json - ./../../dashboards/vmalert.json:/var/lib/grafana/dashboards/vmalert.json
networks: networks:
@ -93,6 +94,7 @@ services:
- vm_net - vm_net
restart: always restart: always
fluentbit: fluentbit:
container_name: fluentbit
image: cr.fluentbit.io/fluent/fluent-bit:2.1.4 image: cr.fluentbit.io/fluent/fluent-bit:2.1.4
volumes: volumes:
- /var/lib/docker/containers:/var/lib/docker/containers:ro - /var/lib/docker/containers:/var/lib/docker/containers:ro
@ -100,7 +102,10 @@ services:
depends_on: [victorialogs] depends_on: [victorialogs]
ports: ports:
- "5140:5140" - "5140:5140"
networks:
- vm_net
victorialogs: victorialogs:
container_name: victorialogs
image: docker.io/victoriametrics/victoria-logs:v0.3.0-victorialogs image: docker.io/victoriametrics/victoria-logs:v0.3.0-victorialogs
command: command:
- "--storageDataPath=/vlogs" - "--storageDataPath=/vlogs"
@ -109,6 +114,8 @@ services:
- victorialogs-fluentbit:/vlogs - victorialogs-fluentbit:/vlogs
ports: ports:
- "9428:9428" - "9428:9428"
networks:
- vm_net
volumes: volumes:
vmagentdata: {} vmagentdata: {}
vmdata: {} vmdata: {}

View file

@ -11,3 +11,6 @@ scrape_configs:
- job_name: 'victoriametrics' - job_name: 'victoriametrics'
static_configs: static_configs:
- targets: ['victoriametrics:8428'] - targets: ['victoriametrics:8428']
- job_name: 'victorialogs'
static_configs:
- targets: ['victorialogs:9428']