This repository has been archived by the owner on Jul 25, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 37
Integrate network interface data into IML #2353
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
johnsonw
force-pushed
the
integrate-network-interfaces
branch
from
October 29, 2020 22:51
08f9f7e
to
7a59740
Compare
johnsonw
force-pushed
the
linux-devices
branch
3 times, most recently
from
November 2, 2020 16:25
2f25c46
to
fa37600
Compare
johnsonw
force-pushed
the
integrate-network-interfaces
branch
2 times, most recently
from
November 2, 2020 16:39
ab32d54
to
92352c8
Compare
Output from an RPM based install:
Output from a docker install:
|
johnsonw
force-pushed
the
integrate-network-interfaces
branch
from
November 2, 2020 17:55
92352c8
to
288499a
Compare
Now that the network logic / parsing lives on the rust side in the iml-agent, the next step is to: 1. Create a daemon plugin to fetch the data 2. Ingest the data on the manager side: a. Insert the interface data into the database b. Insert the interface stats (rx/tx bytes) into influx Signed-off-by: johnsonw <wjohnson@whamcloud.com>
Signed-off-by: johnsonw <wjohnson@whamcloud.com>
johnsonw
force-pushed
the
integrate-network-interfaces
branch
from
November 3, 2020 18:26
288499a
to
5049206
Compare
jgrund
reviewed
Nov 4, 2020
jgrund
reviewed
Nov 4, 2020
jgrund
reviewed
Nov 4, 2020
jgrund
reviewed
Nov 4, 2020
jgrund
reviewed
Nov 4, 2020
jgrund
reviewed
Nov 4, 2020
ip1981
reviewed
Nov 4, 2020
Signed-off-by: johnsonw <wjohnson@whamcloud.com>
Signed-off-by: johnsonw <wjohnson@whamcloud.com>
jgrund
approved these changes
Nov 5, 2020
jgrund
reviewed
Nov 5, 2020
Comment on lines
+27
to
+30
let xs = get_interfaces().await?; | ||
let xs = serde_json::to_value(xs).map(Some)?; | ||
|
||
Ok(xs) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: this could all just be inside update_session
.
nlinker
approved these changes
Nov 6, 2020
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Now that the network logic / parsing lives on the rust side in the
iml-agent, the next step is to:
a. Insert the interface data into the database
b. Insert the interface stats (rx/tx bytes) into influx
Signed-off-by: johnsonw wjohnson@whamcloud.com
This change is