Commit Graph

410 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 4660f21b61
add install instructions for dev install (#228)
Signed-off-by: Florian Maurer <f.maurer@outlook.de>
2023-09-20 11:18:07 +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
Julian Kornberger fca254efea chore(git): Ignore .DS_Store files 2023-09-18 20:00:47 +02:00
genofire 632e550b63 chore(docs): migrate to mkdocs 2023-09-18 07:55:24 +02:00
genofire 35e925355b
chore(github): template for pullrequest follow conventional commits 2023-09-17 11:00:53 +02:00
genofire ce1031812f chore(ci): only release on Test run successfull 2023-09-17 01:31:48 +02:00
genofire 0ef8d79a12 fix: update all dependencies 2023-09-17 01:24:11 +02:00
dependabot[bot] 1286634f92 fix: Bump gopkg.in/yaml.v3 from 3.0.0-20210107192922-496545a6307b to 3.0.0
Bumps gopkg.in/yaml.v3 from 3.0.0-20210107192922-496545a6307b to 3.0.0.

---
updated-dependencies:
- dependency-name: gopkg.in/yaml.v3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-17 01:05:07 +02:00
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