Commit Graph

19 Commits

Author SHA1 Message Date
genofire 60639f2e63 [TASK] add output prometheus-sd (service discovery) (#213) 2022-04-14 13:25:43 +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
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
genofire aff906d734 black lives matter 2020-06-17 10:14:22 +02:00
nrbffs 6d310614ca [TASK] add output raw (#169) 2019-11-13 12:14:15 +01:00
krombel 80d42433d8 [TASK] Add output for geojson nodes only
PR: #164
2019-05-21 09:31:18 +02:00
Martin/Geno 27fde7cd8c [TASK] improve logging 2019-01-19 20:58:36 +01:00
Martin Geno 35d6933d31
[TASK] handle domain_code (with filters) (#119) 2018-05-05 23:28:46 +02:00
Julian Kornberger 6b522c629c
[TASK] refactoring of filters (#114) 2018-02-15 07:45:42 +01:00
Martin Geno 94c9dd2f6c
[BUGFIX] convert config in steps 2018-01-15 01:01:32 +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
Julian fd9a1e1101 [BUGFIX] fix typo 2017-11-23 13:01:39 +01:00
Geno 395fb46fde
[BUGFIX] write during map interation 2017-11-22 12:58:29 +01:00
Geno 037ff80193
[TASK] use circle ci for build artifacts + enable data race detection (#95) 2017-11-14 19:33:28 +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