Skip to content

[metrics] Add switch/sled metadata to ddm/mgd related timeseries #6955

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

zeeshanlakhani
Copy link
Collaborator

@zeeshanlakhani zeeshanlakhani commented Oct 30, 2024

Add additional switch and sled metadata to bfd/bgp/routing/ddm timeseries.

Related:

@@ -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" ] },
Copy link
Collaborator Author

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?

@zeeshanlakhani zeeshanlakhani force-pushed the zl/tfportd-oximeter branch 2 times, most recently from 4c9a71d to 819eded Compare November 1, 2024 02:35
Copy link
Contributor

@Nieuwejaar Nieuwejaar left a 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.

@zeeshanlakhani
Copy link
Collaborator Author

zeeshanlakhani commented Nov 1, 2024

@Nieuwejaar I'll leave this in draft and wait on the dpd/tfport changes to go in first before updating.

@zeeshanlakhani zeeshanlakhani force-pushed the zl/tfportd-oximeter branch 3 times, most recently from 59a6171 to e05245b Compare November 7, 2024 14:22
@zeeshanlakhani zeeshanlakhani force-pushed the zl/tfportd-oximeter branch 2 times, most recently from 47ebf45 to f3f3ca5 Compare January 24, 2025 23:58
Base automatically changed from zl/tfportd-oximeter to main February 11, 2025 01:36
Includes:
    - timeseries cleanup/migration
@zeeshanlakhani zeeshanlakhani changed the title Add switch/sled metadata to ddm/mgd related timeseries [metrics] Add switch/sled metadata to ddm/mgd related timeseries Feb 14, 2025
@zeeshanlakhani zeeshanlakhani marked this pull request as ready for review February 14, 2025 18:47
@zeeshanlakhani
Copy link
Collaborator Author

@bnaecker this takes some work out of draft status to bring over sled/switch fields to bfd/bgp/ddm/mgd/routing metrics. We may want to remove/add only some of these. Let me know what you think @bnaecker (though switch_id and a few others are useful for all of them).

@zeeshanlakhani
Copy link
Collaborator Author

Will update conflicts after review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants