-
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 DDM router and session timeseries to TOML
- Loading branch information
Showing
2 changed files
with
175 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,39 @@ | ||
format_version = 1 | ||
|
||
[target] | ||
name = "ddm_router" | ||
description = "A Delay-Driven Multipath (DDM) router" | ||
authz_scope = "fleet" | ||
versions = [ | ||
{ version = 1, fields = [ "hostname", "rack_id", "sled_id" ] }, | ||
] | ||
|
||
[[metrics]] | ||
name = "originated_tunnel_endpoints" | ||
description = "Current number of tunnel endpoints this router advertises" | ||
units = "count" | ||
datum_type = "u64" | ||
versions = [ | ||
{ added_in = 1, fields = [ ] } | ||
] | ||
|
||
[[metrics]] | ||
name = "originated_underlay_prefixes" | ||
description = "Current number of prefixes on the underlay network this router advertises" | ||
units = "count" | ||
datum_type = "u64" | ||
versions = [ | ||
{ added_in = 1, fields = [ ] } | ||
] | ||
|
||
[fields.hostname] | ||
type = "string" | ||
description = "The hostname of the machine running the DDM router" | ||
|
||
[fields.rack_id] | ||
type = "uuid" | ||
description = "ID of the rack running the DDM router" | ||
|
||
[fields.sled_id] | ||
type = "uuid" | ||
description = "ID of the sled running the DDM router" |
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,136 @@ | ||
format_version = 1 | ||
|
||
[target] | ||
name = "ddm_session" | ||
description = "A session in a Delay-Driven Multipath (DDM) router" | ||
authz_scope = "fleet" | ||
versions = [ | ||
{ version = 1, fields = [ "hostname", "interface", "rack_id", "sled_id" ] }, | ||
] | ||
|
||
[[metrics]] | ||
name = "advertisements_received" | ||
description = "Total number of advertisements received from a peer" | ||
units = "count" | ||
datum_type = "cumulative_u64" | ||
versions = [ | ||
{ added_in = 1, fields = [ ] } | ||
] | ||
|
||
[[metrics]] | ||
name = "advertisements_sent" | ||
description = "Total number of advertisements sent to a peer" | ||
units = "count" | ||
datum_type = "cumulative_u64" | ||
versions = [ | ||
{ added_in = 1, fields = [ ] } | ||
] | ||
|
||
[[metrics]] | ||
name = "imported_tunnel_endpoints" | ||
description = "Current count of tunnel endpoints imported from a peer" | ||
units = "count" | ||
datum_type = "u64" | ||
versions = [ | ||
{ added_in = 1, fields = [ ] } | ||
] | ||
|
||
[[metrics]] | ||
name = "imported_underlay_prefixes" | ||
description = "Current count of underlay prefixes imported from a peer" | ||
units = "count" | ||
datum_type = "u64" | ||
versions = [ | ||
{ added_in = 1, fields = [ ] } | ||
] | ||
|
||
[[metrics]] | ||
name = "peer_address_changes" | ||
description = "Total number of times a peer changed its underlay address" | ||
units = "count" | ||
datum_type = "cumulative_u64" | ||
versions = [ | ||
{ added_in = 1, fields = [ ] } | ||
] | ||
|
||
[[metrics]] | ||
name = "peer_expirations" | ||
description = """\ | ||
Total number of times a peer was expired because we received no \ | ||
messages from it within the expiration threshold\ | ||
""" | ||
units = "count" | ||
datum_type = "cumulative_u64" | ||
versions = [ | ||
{ added_in = 1, fields = [ ] } | ||
] | ||
|
||
[[metrics]] | ||
name = "peer_sessions_established" | ||
description = "Total number of times a session was established with a peer" | ||
units = "count" | ||
datum_type = "cumulative_u64" | ||
versions = [ | ||
{ added_in = 1, fields = [ ] } | ||
] | ||
|
||
[[metrics]] | ||
name = "solicitations_received" | ||
description = "Total number of soliciation messages received from a peer" | ||
units = "count" | ||
datum_type = "cumulative_u64" | ||
versions = [ | ||
{ added_in = 1, fields = [ ] } | ||
] | ||
|
||
[[metrics]] | ||
name = "solicitations_sent" | ||
description = "Total number of soliciation messages sent to a peer" | ||
units = "count" | ||
datum_type = "cumulative_u64" | ||
versions = [ | ||
{ added_in = 1, fields = [ ] } | ||
] | ||
|
||
[[metrics]] | ||
name = "update_send_fail" | ||
description = "Total number of failures to send an update message to a peer" | ||
units = "count" | ||
datum_type = "cumulative_u64" | ||
versions = [ | ||
{ added_in = 1, fields = [ ] } | ||
] | ||
|
||
[[metrics]] | ||
name = "updates_received" | ||
description = "Total number of update messages received from a peer" | ||
units = "count" | ||
datum_type = "cumulative_u64" | ||
versions = [ | ||
{ added_in = 1, fields = [ ] } | ||
] | ||
|
||
[[metrics]] | ||
name = "updates_sent" | ||
description = "Total number of update messages sent to a peer" | ||
units = "count" | ||
datum_type = "cumulative_u64" | ||
versions = [ | ||
{ added_in = 1, fields = [ ] } | ||
] | ||
|
||
[fields.hostname] | ||
type = "string" | ||
description = "The hostname of the machine running the DDM router" | ||
|
||
[fields.interface] | ||
type = "string" | ||
description = "The host interface on which the DDM session is running" | ||
|
||
[fields.rack_id] | ||
type = "uuid" | ||
description = "ID of the rack running the DDM router" | ||
|
||
[fields.sled_id] | ||
type = "uuid" | ||
description = "ID of the sled running the DDM router" |