-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tfport-data-link timeseries schema and SMF config adds.
Related to oxidecomputer/dendrite#1033. New timeseries (from sled-data-link) as we've added switch information in the metadata.
- Loading branch information
1 parent
ab1f377
commit 819eded
Showing
7 changed files
with
270 additions
and
30 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,132 @@ | ||
format_version = 1 | ||
|
||
[target] | ||
name = "tfport_data_link" | ||
description = "A network data link on a tfport interface" | ||
authz_scope = "fleet" | ||
|
||
versions = [ | ||
{ version = 1, fields = [ "kind", "link_name", "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" ] }, | ||
] | ||
|
||
[fields.kind] | ||
type = "string" | ||
description = "The kind or class of the data link" | ||
|
||
[fields.link_name] | ||
type = "string" | ||
description = "Name of the data link" | ||
|
||
[fields.rack_id] | ||
type = "uuid" | ||
description = "ID for the link's rack" | ||
|
||
[fields.sled_id] | ||
type = "uuid" | ||
description = "ID for the link's sled" | ||
|
||
[fields.sled_model] | ||
type = "string" | ||
description = "Model number of the link's sled" | ||
|
||
[fields.sled_revision] | ||
type = "u32" | ||
description = "Revision number of the sled" | ||
|
||
[fields.sled_serial] | ||
type = "string" | ||
description = "Serial number of the sled" | ||
|
||
[fields.switch_id] | ||
type = "uuid" | ||
description = "ID of the switch the link is on" | ||
|
||
[fields.switch_fab] | ||
type = "string" | ||
description = "Fabrication plant identifier of the switch the link is on" | ||
|
||
[fields.switch_lot] | ||
type = "string" | ||
description = "Lot number of the switch the link is on" | ||
|
||
[fields.switch_wafer] | ||
type = "u8" | ||
description = "Wafer number of the switch the link is on" | ||
|
||
[fields.switch_wafer_loc_x] | ||
type = "i8" | ||
description = "X-coordinate wafer location of the switch the link is on" | ||
|
||
[fields.switch_wafer_loc_y] | ||
type = "i8" | ||
description = "Y-coordinate wafer location of the switch the link is on" | ||
|
||
[fields.switch_model] | ||
type = "string" | ||
description = "The model number switch the link is on" | ||
|
||
[fields.switch_revision] | ||
type = "u32" | ||
description = "Revision number of the switch the link is on" | ||
|
||
[fields.switch_serial] | ||
type = "string" | ||
description = "Serial number of the switch the link is on" | ||
|
||
[fields.switch_slot] | ||
type = "u16" | ||
description = "Slot number of the switch the link is on" | ||
|
||
[[metrics]] | ||
name = "bytes_sent" | ||
description = "Number of bytes sent on the link" | ||
units = "bytes" | ||
datum_type = "cumulative_u64" | ||
versions = [ | ||
{ added_in = 1, fields = [] } | ||
] | ||
|
||
[[metrics]] | ||
name = "bytes_received" | ||
description = "Number of bytes received on the link" | ||
units = "bytes" | ||
datum_type = "cumulative_u64" | ||
versions = [ | ||
{ added_in = 1, fields = [] } | ||
] | ||
|
||
[[metrics]] | ||
name = "packets_sent" | ||
description = "Number of packets sent on the link" | ||
units = "count" | ||
datum_type = "cumulative_u64" | ||
versions = [ | ||
{ added_in = 1, fields = [] } | ||
] | ||
|
||
[[metrics]] | ||
name = "packets_received" | ||
description = "Number of packets received on the link" | ||
units = "count" | ||
datum_type = "cumulative_u64" | ||
versions = [ | ||
{ added_in = 1, fields = [] } | ||
] | ||
|
||
[[metrics]] | ||
name = "errors_sent" | ||
description = "Number of errors encountered when sending on the link" | ||
units = "count" | ||
datum_type = "cumulative_u64" | ||
versions = [ | ||
{ added_in = 1, fields = [] } | ||
] | ||
|
||
[[metrics]] | ||
name = "errors_received" | ||
description = "Number of errors encountered when receiving on the link" | ||
units = "count" | ||
datum_type = "cumulative_u64" | ||
versions = [ | ||
{ added_in = 1, fields = [] } | ||
] |
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
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
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
Oops, something went wrong.