Revert "monitoring: use netdata for internal monitoring"

This reverts commit 5e320a1780de6b11cef784ee29bf559a0f22c4bf.
This commit is contained in:
Alexis Svinartchouk 2020-10-21 17:21:31 +02:00
parent 20309588c8
commit b329d22e9c
4 changed files with 0 additions and 34 deletions

View File

@ -7,8 +7,6 @@ volumes:
etcher_bash_history:
etcher_config_electron:
etcher_config_balena_etcher:
netdatalib:
netdatacache:
services:
influxdb:
restart: always
@ -56,25 +54,3 @@ services:
tmpfs:
- /run
- /tmp
netdata:
build: ./etcher-pro-monitoring/netdata
# this could be removed if we could simply use env vars in our configuration (only to pass in supervisor API URL)
network_mode: 'host'
ports:
- '19999:19999'
environment:
- PGID=988
# we get this injected as unix:///...sock, but netdata doesn't like that
- DOCKER_HOST=/var/run/balena-engine.sock
cap_add:
- SYS_PTRACE
security_opt:
- apparmor:unconfined
labels:
io.balena.features.balena-socket: 1
io.balena.features.procfs: 1
io.balena.features.supervisor-api: 1
io.balena.features.sysfs: 1
volumes:
- netdatalib:/var/lib/netdata
- netdatacache:/var/cache/netdata

View File

@ -1,5 +0,0 @@
FROM netdata/netdata
WORKDIR /etc/netdata
COPY httpcheck-supervisor.yml ./go.d/httpcheck.conf
COPY balenad.conf ./python.d/dockerd.conf

View File

@ -1,2 +0,0 @@
update_every : 1
priority : 60000

View File

@ -1,3 +0,0 @@
jobs:
- name: balena-supervisor
url: http://localhost:48484/ping