Commit Graph

365 Commits

Author SHA1 Message Date
lemoer a76df9b9ac
[TASK] add output raw-jsonl
PR at github: #199

This output takes the respondd response as sent by the node and includes
it in a Line-Delimited JSON (JSONL) document. In this format each line
can be interpreted as separate JSON element, which is useful for json
streaming. The first line is json object holding the timestamp and
version of the file. Then there follows one line for each node, each
containing a json object.

An example output looks like this:

    {"version":1,"updated_at":"2021-03-27T21:58:48+0100","format":"raw-nodes-jsonl"}
    {"firstseen": ..., "lastseen": ..., "online":true, "statistics": {...}, "nodeinfo": {...}, "neighbours":null, "custom_fields":null}
    {"firstseen": ..., "lastseen": ..., "online":true, "statistics": {...}, "nodeinfo": {...}, "neighbours":null, "custom_fields":null}
    {"firstseen": ..., "lastseen": ..., "online":true, "statistics": {...}, "nodeinfo": {...}, "neighbours":null, "custom_fields":null}
    {"firstseen": ..., "lastseen": ..., "online":true, "statistics": {...}, "nodeinfo": {...}, "neighbours":null, "custom_fields":null}
    ...

Signed-off-by: Leonardo Mörlein <git@irrelefant.net>
2021-03-29 16:12:26 +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 4103535992 go.mod: update of log (for circleci) 2021-03-24 11:05:21 +01:00
J. Burfeind 0775cfb5b8
[DOC] Mention community Freifunk Rhein-Sieg e.V.
#196

This implements the proposed changes by @cmarxmeier.
This resolves #159

Co-authored-by: cmarxmeier <alladin@routeme.de>
2021-03-24 09:57:24 +01:00
J. Burfeind 89810b8389
[DOC] mention Freifunk Hannover
#195
2021-03-24 09:22:18 +01:00
Geno f4bad7d856 nodeinfo without empty values 2021-03-24 08:57:46 +01:00
Geno 92dd324f5f go.mod: update 2021-03-24 08:45:25 +01:00
Geno 6dc4666ef2 docs: fix branch rename from master to main - Black Lives Matter 2021-02-17 23:25:56 +01:00
genofire aff906d734 black lives matter 2020-06-17 10:14:22 +02:00
genofire e97e481516 Bump dependencies version 2020-05-18 02:53:56 +02:00
Julian Kornberger a95d6ea10d Migrate to Go modules 2020-05-18 00:25:05 +02: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
David Bauer 050a6da516 runtime: add support for OWE global statistics 2020-04-11 14:38:21 +02:00
David Bauer 4944790e06 data: add support for OWE per-node statistics
Gluon exports information about how many OWE capable clients are
connected to a given node. The OWE client count is already contained in
the wifi* counters and only provides more-specific information.
2020-04-11 14:38:21 +02:00
genofire d4c898d1c9
only show warning on Update Node (during recieving respondd data)
fixes #178
2020-03-21 10:21:47 +01:00
genofire 9d836f87c2
[BUGFIX] respondd module encoding 2020-01-07 15:37:09 +01:00
genofire 5eb75ff9bb
[DOC] improve raw-output 2020-01-05 17:15:44 +01:00
nrbffs 39e8f37eaa docs: add custom fields 2019-12-29 15:41:05 +01:00
nrbffs 9a70560cfb raw output: add custom fields
This will include all configured custom fields in the raw output
under the "custom_fields" key.
2019-12-29 15:41:05 +01:00
nrbffs 70cdb53b49 meshviewer-ffrgb output: add custom fields
This will include all configured custom fields in the meshviewer-ffrgb output
under the "custom_fields" key.
2019-12-29 15:41:05 +01:00
nrbffs 1a1163aaa1 add support for custom fields
At the moment, if one has a custom respondd module which includes custom
fields, Yanic will simply ignore these fields. Communities which have custom
fields have to maintain patches on Yanic to have them available.

This commit allows to define custom fields in the configuration file, which
will cause Yanic to also save the values of these custom fields in its internal
data structures. Output modules can then decide whether they want to include
these fields. For most cases, this should avoid the need for patches in Yanic.
2019-12-29 15:41:05 +01:00
nrbffs ab798f0dd6 refactor: make complete respondd config available during collecting
Right now, only the interface config and site domains are available when
collecting data. Make the complete respondd config available during collecting,
so the collect process can be configured more easily.

Motivation for this change is the support for custom fields.
2019-12-29 15:41:05 +01:00
genofire edfb403884
[DOC] misspell 2019-11-13 13:29:46 +01:00
genofire f3da33b15a
[BUGFIX] package name in output raw 2019-11-13 12:37:54 +01:00
genofire f58ad00fec
[TEST] add output raw 2019-11-13 12:21:50 +01:00
nrbffs 6d310614ca [TASK] add output raw (#169) 2019-11-13 12:14:15 +01:00
Martin/Geno be48b27470
[DOC] update install 2019-10-13 10:48:44 +02:00
genofire c1188378c4
[DOC] update go version 2019-10-12 21:58:14 +02:00
Martin/Geno 99eb11f2ef
[TASK] improve neighbours stats (+ babel support) 2019-05-28 20:14:12 +02:00
Martin/Geno 6e745bf78f
[TEST] improve runtime 2019-05-21 09:56:16 +02:00
Martin/Geno ccdeccd48f
[TEST] improve gitlab-ci 2019-05-21 09:45:04 +02:00
Martin/Geno 160364d97b
update dep 2019-05-21 09:40:59 +02:00
Martin/Geno a466ada109
[DOCS] improve geojson 2019-05-21 09:38:54 +02:00
krombel 80d42433d8 [TASK] Add output for geojson nodes only
PR: #164
2019-05-21 09:31:18 +02:00
Martin/Geno 31267858a6
[TASK] change default listing address to ff05::2:1001
take a look at: 59a44274cb
2019-05-03 17:35:15 +02:00
lrnzo 99443cb144 [DOC] fix typo in config example
small spelling fix
2019-03-31 11:41:37 +02:00
Martin/Geno 94267cf6dd
not export logging stdout / stderr hook 2019-02-27 02:51:01 +01:00
Martin/Geno 3ef2d1ece9
[TEST] fix testdata of meshviewer-ffrgb (fixes #160) 2019-02-27 02:29:39 +01: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 f5d0067eff [BUGFIX] meshviewer-ffrgb export empty array 2019-01-15 19:06:31 +01:00
Martin/Geno 6579d52bac [BUGFIX] show NaN on link (fix #149) 2019-01-04 22:51:05 +01:00
Martin/Geno eddd556ec1
[TASK] cleanup meshviewer-ffrgb, drop vpn field 2018-12-30 03:01:42 +01:00
Martin/Geno 4031d82047
[BUGFIX] fix logging database 2018-10-07 20:15:53 +02:00
Martin/Geno 7b4e3ce221 [TASK] meshviewer-ffrgb: drop site for domain 2018-10-07 19:34:38 +02:00
Martin/Geno d14d3386c7
[TASK] add support for gitlab 2018-08-30 10:17:56 +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
Ruben Barkow 6815f3b1db Readme: alfred-announce was renamed to mesh-announce 2018-08-07 22:34:02 +02:00