Commit Graph

397 Commits

Author SHA1 Message Date
genofire 34e976a7aa feat: auto-release based on conventional-commits to semantic-versioning 2023-09-17 00:58:51 +02:00
Florian Maurer 5a8383ed30
feat(yanic-import-timestamp): allow importing from other yanic instance (#223)
This fixes an issue when an import from other yanic is needed.

The datetime can have different timezones with yanic_date_format.
The latest yanic format is now used as a fallback if the millisecond format from hopglass is not present.
2023-09-11 07:17:53 +02:00
Florian Maurer f0afecedbf
chore(doc): add ffac to description (#222) 2023-09-11 07:17:25 +02:00
genofire 6b4b9545b1 feat(output/prometheus-sd): add ip-publish as option 2023-04-13 08:49:09 +02:00
genofire 7da4dc7d7f feat(prometheus-sd): label for location 2022-07-11 18:09:49 +02:00
genofire 7c01dcbe39 fix(output/prometheus-sd): int labels not allowed ... 2022-07-10 18:09:21 +02:00
genofire 156d07e7e8 fix LLDP handling for https://github.com/freifunk-gluon/packages/pull/189 2022-07-10 18:09:17 +02:00
genofire c5703e0975
feat(output/prometheus-sd): improve and add labels (#216) 2022-06-06 16:59:23 +02:00
DasSkelett 82129764c9
Set timeout for InfluxDB HTTP client (#215) 2022-04-15 11:11:15 +02:00
genofire 710772ca29 fixes 2022-04-14 13:28:56 +02:00
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 2792010a81 fix(docs): use new golang install mechanismen 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
genofire 18c0362021 depends update 2022-04-14 00:04:49 +02:00
Julian Kornberger 578a45c19f Change toml parser 2022-03-28 04:41:32 +02:00
Julian Kornberger 4261ad2288 Remove gitlab template 2022-03-28 04:25:50 +02:00
Julian Kornberger ff42378138 Make linter happy 2022-03-28 04:20:58 +02:00
Julian Kornberger 61d159f3c5 Switch to Github Actions 2022-03-28 04:20:58 +02:00
Julian Kornberger e53b349cce Upgrade dependencies 2022-03-28 03:38:10 +02:00
Julian Kornberger 7ed13518a9 Upgrade dependencies 2021-11-19 20:10:22 +01:00
micw d4bd98a133 Explain how to receive old and new gluon nodes 2021-11-14 10:44:28 +01:00
Matthias Schiffer 2c0b3c74fc [TEST] Update check-testfiles to python3
The CircleCI golang image does not contain Python 2 anymore.
2021-10-02 19:47:59 +02:00
Matthias Schiffer 552b84f630 collector: set IPV6_MULTICAST_IF on UDP socket
Required to use the correct interface for non-link-local bind address.

Closes: #167
2021-10-02 19:47:59 +02:00
Matthias Schiffer 0349e372ac collector: move net.InterfaceByName() call out of getUnicastAddr()
Preparation for setting IPV6_MULTICAST_IF in listenUDP().
2021-10-02 19:47:59 +02:00
aiyion.prime bb0b23bff4 data: add WireGuard struct
resolves #183
2021-09-22 13:00:55 +02:00
dependabot[bot] 4a9089b099
Bump github.com/tidwall/gjson from 1.6.0 to 1.6.5 (#205)
Bumps [github.com/tidwall/gjson](https://github.com/tidwall/gjson) from 1.6.0 to 1.6.5.
- [Release notes](https://github.com/tidwall/gjson/releases)
- [Commits](https://github.com/tidwall/gjson/compare/v1.6.0...v1.6.5)

---
updated-dependencies:
- dependency-name: github.com/tidwall/gjson
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-28 10:36:29 +02:00
citronalco 94858fb06f Add Ingolstadt to user list 2021-06-23 09:18:20 +02:00
Geno 04bcaceb2c [DOC] improve of database.influxdb 2021-05-27 18:55:33 +02:00
Milan edad6061cc
[DOC] Fix "Communities using Yanic" info in README (#201)
Drop Kiel
2021-05-14 21:43:33 +02:00
lemoer 3aac902632
[BUG] fix target.hostname of links
Before this commit, the value of target.hostname was incorrect.
It was accidentially pointing to the hostname of the source of
the link. This means target.hostname was equal to source.hostname.

Fixes: #197
Fixes: 0325aad24e
PR: #200
2021-04-03 05:11:33 +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
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