Commit Graph

63 Commits

Author SHA1 Message Date
genofire f98fea7041 feat(database/influxdb2): Add database support of influxdb2 client 2024-07-05 01:54:41 +02:00
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
Julian Kornberger c3588c9e05 fix(go): Upgrade to Go 1.21 2023-09-18 20:00:59 +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
genofire 1dbd52c5cd add primary_domain_dode
maybe fix #211
2022-04-14 13:25:07 +02:00
genofire 8cc5fe1f01 test: fix reading toml for output and database 2022-04-14 13:17:47 +02:00
genofire 773545643c fix reading toml for output and database 2022-04-14 00:14:09 +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 743dbe3ef5 database: graphite: add support for OWE statistics 2020-04-11 14:38:21 +02: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
Martin/Geno 4031d82047
[BUGFIX] fix logging database 2018-10-07 20:15:53 +02: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 092eafb086 [TASK] add database respondd for forwarding (#120) 2018-03-11 19:15:31 +01: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
Martin Geno 1464092a69
[BUGFIX] after database refactory 2018-01-19 04:31:33 +01:00
Martin Geno 94c9dd2f6c
[BUGFIX] convert config in steps 2018-01-15 01:01:32 +01:00
Julian Kornberger 082f8d6c7e Fix misspells 2018-01-13 17:04:26 +01:00
Julian Kornberger db213db621 Test value of err variable 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
Martin Geno cf2d2c3209 [BUGFIX] tests without sleep 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 62bb21102f [TASK] add autoupdater to graphite database 2017-12-06 09:30:19 +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
Geno b8921052b6 [TEST] increase test coverage of package runtime to maximum (#75) 2017-10-12 15:25:00 +02:00
Julian K f4650213b8 [TASK] add per-link statistics (#57)
ATM: support only influxdb
2017-09-27 13:55:02 +02:00
Igor Scheller b5a694a7a4 [BUGFIX] Fixed Graphite naming (#72)
* Bugfix: Graphite compatibility with meshviewer

* Bugfix: Bad message: Router type not sanitized

* Refactoring: Implemented replaceInvalidChars function for Graphite
2017-08-06 12:39:16 +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
Andreas Rammhold 88975d2566 [TASK] add database type graphite (#65) 2017-06-01 22:52:14 +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