-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add switch/sled metadata to ddm/mgd related timeseries #6955
base: zl/tfportd-oximeter
Are you sure you want to change the base?
Conversation
Includes: - package-manifest update to match the properties added to dpd - removal of client call to get sled idenifier information (no longer used) - switch_slot added to oximeter schemas for dendrite/switch-data-link
Related to oxidecomputer/dendrite#1033. New timeseries (from sled-data-link) as we've added switch information in the metadata.
aed11e2
to
24c967f
Compare
@@ -5,7 +5,7 @@ name = "bfd_session" | |||
description = "A Bidirectional Forwarding Protocol (BFD) session" | |||
authz_scope = "fleet" | |||
versions = [ | |||
{ version = 1, fields = [ "hostname", "rack_id", "sled_id", "peer" ] }, | |||
{ version = 1, fields = [ "hostname", "peer", "rack_id", "sled_id", "sled_model", "sled_revision", "sled_serial", "switch_id", "switch_fab", "switch_lot", "switch_wafer", "switch_wafer_loc_x", "switch_wafer_loc_y", "switch_model", "switch_revision", "switch_serial", "switch_slot" ] }, |
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.
@bnaecker, there's a question about which switch and sled fields we really need. Is it just switch_id
(what Ry recommended)? Do we include anything beyond sled_id
for sled stuff? I laid everything out as we get all the data (either via smf or dpd-client), but it's easy to restrict this. Thoughts?
4c9a71d
to
819eded
Compare
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.
This looks pretty straightforward. It might be worth having @bnaecker sanity check the oximeter stuff. It looks fine to me, but I haven't worked with any of the schema stuff before.
|
||
for address in addresses { | ||
tfport_config = tfport_config.add_property( | ||
"address", |
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.
Maybe 'listen_address`?
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.
Yep, will do for these and tfport in the sep PRs.
@Nieuwejaar I'll leave this in draft and wait on the dpd/tfport changes to go in first before updating. |
59a6171
to
e05245b
Compare
2673909
to
50dd4b8
Compare
50dd4b8
to
177ccc6
Compare
177ccc6
to
4113601
Compare
No description provided.