feat(database/influxdb): add selected gateway as tag in influxdb - #226
feat(database/influxdb): add selected gateway as tag in influxdb#226maurerle wants to merge 2 commits into
Conversation
f4511b0 to
c308442
Compare
Codecov Report
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #226 +/- ##
==========================================
- Coverage 73.11% 73.09% -0.02%
==========================================
Files 55 55
Lines 2418 2420 +2
==========================================
+ Hits 1768 1769 +1
Misses 598 598
- Partials 52 53 +1
|
|
should we fetch the nodeID here, of the gateway? like in output/meshviewer-ffrgb: yanic/output/meshviewer-ffrgb/struct.go Line 153 in dfd456b |
3d1cd5c to
632e550
Compare
|
we would then have to "nodes" somehow to influx output - do you know how to manage this? In the current way, I do not see the gateway set as a tag.. I don't know what i am doing wrong :D |
|
you are correct, that it needs a refactory to get nodes ... to manage it, i need to look and test myself ... first tought, do we have something equal for links already. i believe nothing, could it be, that you mixup influxdb and influxdb2 ? |
c308442 to
61ed220
Compare
|
I confirm this works, can be merged :) |
|
I had something wrong with my install, now it worked.. Having it as a nodeid would be much better, as we do not have the mac anywhere else.. |
9f24f22 to
ce816d6
Compare
b819c24 to
cc71150
Compare
Signed-off-by: Florian Maurer <f.maurer@outlook.de>
Signed-off-by: Florian Maurer <f.maurer@outlook.de>
ce816d6 to
ffa1761
Compare
|
@genofire any chance to get this merged? |
|
No, not this way ... a mac-address is no nodeid ... so the delete of Please use this function for it, or another solution: |
Description
Adds the selected gateway and gateway6 as a tag to the influxdb
Motivation and Context
fixes #173
Checklist: