Commit Graph

37 Commits

Author SHA1 Message Date
Grische ef3ee358d1
fix(database/influxdb): replace invisible chars and whitespaces with space (#235)
This fixes issues where users use '\n' in tag values (e.g. the owner)
that is incompatible with InfluxDB's Line protocol.
2024-06-11 17:11:34 +02:00
Grische 9e13f41143
fix(database/influxdb): typo log messages (#234) 2024-06-11 15:43:55 +02:00
Florian Maurer c19c1aed1b
feat(database/influxdb): add information if a node is a gateway to influxdb (#230)
Signed-off-by: Florian Maurer <f.maurer@outlook.de>
2023-09-21 15:16:40 +02:00
Florian Maurer 22f67e2d4d feat(meshviewer): Add gateway tq and clients owe (#225)
Signed-off-by: Florian Maurer <f.maurer@outlook.de>
2023-09-18 20:01:15 +02:00
genofire 156d07e7e8 fix LLDP handling for https://github.com/freifunk-gluon/packages/pull/189 2022-07-10 18:09:17 +02:00
DasSkelett 82129764c9
Set timeout for InfluxDB HTTP client (#215) 2022-04-15 11:11:15 +02:00
Julian Kornberger ff42378138 Make linter happy 2022-03-28 04:20:58 +02:00
lemoer 0325aad24e
Add hostnames to database-output of link
Grafana is currently not able to resolve the target.id or source.id
into a human readable hostname. Therefore reading the neighbour
graphs is quite difficult for humans. To resolve this, we add the
additional tags source.hostname and target.hostname to the influx
link measurements.

In PR  #197
2021-03-26 10:18:29 +01:00
Geno f4bad7d856 nodeinfo without empty values 2021-03-24 08:57:46 +01:00
David Bauer b5c4931da7 database: influxdb: add support for OWE statistics 2020-04-11 14:38:21 +02:00
Martin/Geno 99eb11f2ef
[TASK] improve neighbours stats (+ babel support) 2019-05-28 20:14:12 +02:00
Martin/Geno bd13b99378
[TASK] rename NodeInfo to Nodeinfo (same naming overall) 2019-01-24 02:56:13 +01:00
Martin/Geno 27fde7cd8c [TASK] improve logging 2019-01-19 20:58:36 +01:00
Martin/Geno abae92bb5a
[TASK] update influxdb-client 2019-01-15 20:33:59 +01:00
skorpy 4551923d46 [BUGFIX] use available memory for usage estimation
Fix memory usage estimation following this commit:
https://github.com/freifunk-gluon/gluon/pull/1517
2018-08-30 09:48:03 +02:00
Martin/Geno 9c886d497e
[TASK] allow self-signed certification in influxdb 2018-07-12 16:48:11 +02:00
Martin/Geno c95ae7e12a
[TASK] add procstat 2018-05-16 11:19:57 +02:00
Julian Kornberger 10f58a72ea Add DHCP statistics 2018-05-05 23:37:57 +02:00
Martin Geno c20e216ed6
[TASK] make yanic babel compatible (#104) 2018-05-05 23:30:22 +02:00
Martin Geno 35d6933d31
[TASK] handle domain_code (with filters) (#119) 2018-05-05 23:28:46 +02:00
Martin/Geno c18b24cf6c [TASK] add nproc to database (#129) 2018-03-11 19:09:58 +01:00
Martin Geno 0c4e17406d
[TASK] influxdb ping on startup 2018-01-19 04:44:01 +01:00
Julian Kornberger 082f8d6c7e Fix misspells 2018-01-13 17:04:26 +01:00
Julian Kornberger d2e37f8c7d Simplify with `gofmt -s -w .` 2018-01-13 16:40:23 +01:00
Martin Geno d892d1693d [TASK] extract seperate config to packages 2018-01-13 14:14:39 +01:00
Geno 69079b7d64
[TASK] extract enable to all databases + increase testing in database
(#78)
2017-12-31 16:01:11 +01:00
Julian Labus 7324567f91 [TASK] add global statistics for individual sites 2017-12-06 09:30:19 +01:00
Julian 136b42b468 [TASK] influxdb: add site tag to node 2017-11-20 12:22:52 +01:00
Geno 0d8fddbcb7
[TASK] add autoupdater to influxdb database (#93) 2017-11-14 19:33:50 +01:00
Martin Geno 82fa527386
[TASK] improve output (filtering, fix links type, new outputs nodelist for freifunkapi and meshviewer-ffrgb v10 NextGen) - #63 2017-11-01 14:27:39 +01:00
Julian K f4650213b8 [TASK] add per-link statistics (#57)
ATM: support only influxdb
2017-09-27 13:55:02 +02:00
kb-light fd7e712282 influxdb: replace log.Fatal() by log.Print()
Fatal() calls os.Exit(1), which causes yanic.service to fail if database is not reachable.
2017-06-29 12:40:27 +02:00
kb-light 214a03866e [TASK] add job tag to influxdb database type (#44) 2017-06-01 18:17:32 +02:00
Julian Kornberger 237e011068 Pass the time to addPoint 2017-04-18 03:10:16 +02:00
Julian Kornberger 8b8b1441ba Rename and move database methods 2017-04-18 02:42:26 +02:00
Julian Kornberger dbaa19d13a Rename methods and add comments 2017-04-17 20:48:46 +02:00
Geno f135249795 [TASK] Make yanic more modular for multiple databases (#33) 2017-04-10 18:54:12 +02:00