-
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.
Move switch table timeseries to TOML
- Loading branch information
Showing
1 changed file
with
106 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
format_version = 1 | ||
|
||
[target] | ||
name = "switch_table" | ||
description = "A table on a Sidecar switch ASIC" | ||
authz_scope = "fleet" | ||
versions = [ | ||
{ version = 1, fields = [ "rack_id", "sled_id", "sidecar_id", "table" ] }, | ||
] | ||
|
||
[[metrics]] | ||
name = "capacity" | ||
description = "Maximum number of entries in the table" | ||
units = "count" | ||
datum_type = "u64" | ||
versions = [ | ||
{ added_in = 1, fields = [ ] } | ||
] | ||
|
||
[[metrics]] | ||
name = "collisions" | ||
description = "Total number of inserts failed due to a collision" | ||
units = "count" | ||
datum_type = "cumulative_u64" | ||
versions = [ | ||
{ added_in = 1, fields = [ ] } | ||
] | ||
|
||
[[metrics]] | ||
name = "delete_misses" | ||
description = "Total number of deletes that failed due to a missing entry" | ||
units = "count" | ||
datum_type = "cumulative_u64" | ||
versions = [ | ||
{ added_in = 1, fields = [ ] } | ||
] | ||
|
||
[[metrics]] | ||
name = "deletes" | ||
description = "Total number of entries deleted" | ||
units = "count" | ||
datum_type = "cumulative_u64" | ||
versions = [ | ||
{ added_in = 1, fields = [ ] } | ||
] | ||
|
||
[[metrics]] | ||
name = "exhaustion" | ||
description = "Total number of inserts that failed due to space exhaustion" | ||
units = "count" | ||
datum_type = "cumulative_u64" | ||
versions = [ | ||
{ added_in = 1, fields = [ ] } | ||
] | ||
|
||
[[metrics]] | ||
name = "inserts" | ||
description = "Total number of entries inserted" | ||
units = "count" | ||
datum_type = "cumulative_u64" | ||
versions = [ | ||
{ added_in = 1, fields = [ ] } | ||
] | ||
|
||
[[metrics]] | ||
name = "occupancy" | ||
description = "Current number of entries in the table" | ||
units = "count" | ||
datum_type = "u64" | ||
versions = [ | ||
{ added_in = 1, fields = [ ] } | ||
] | ||
|
||
[[metrics]] | ||
name = "update_misses" | ||
description = "Total number of updates that failed due to a missing entry" | ||
units = "count" | ||
datum_type = "cumulative_u64" | ||
versions = [ | ||
{ added_in = 1, fields = [ ] } | ||
] | ||
|
||
[[metrics]] | ||
name = "updates" | ||
description = "Total number of entries updated in place" | ||
units = "count" | ||
datum_type = "cumulative_u64" | ||
versions = [ | ||
{ added_in = 1, fields = [ ] } | ||
] | ||
|
||
[fields.rack_id] | ||
type = "uuid" | ||
description = "ID of the rack containing the switch" | ||
|
||
[fields.sled_id] | ||
type = "uuid" | ||
description = "ID of the sled responsible for managing the switch" | ||
|
||
[fields.sidecar_id] | ||
type = "uuid" | ||
description = "ID of the Sidecar switch" | ||
|
||
[fields.table] | ||
type = "string" | ||
description = "Name of the switch table" |