-
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.
Define virtual resource provisioning timeseries in TOML
- Loading branch information
Showing
2 changed files
with
49 additions
and
32 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,40 @@ | ||
format_version = 1 | ||
|
||
[target] | ||
name = "collection_target" | ||
description = "A collection such as project or silo, whose provisioned virtual resources are tracked" | ||
authz_scope = "fleet" | ||
versions = [ | ||
{ version = 1, fields = [ "id" ] }, | ||
] | ||
|
||
[fields.id] | ||
type = "uuid" | ||
description = "UUID of the tracked collection" | ||
|
||
[[metrics]] | ||
name = "virtual_disk_space_provisioned" | ||
description = "Total virtual disk space provisioned in the collection" | ||
units = "bytes" | ||
datum_type = "cumulative_i64" | ||
versions = [ | ||
{ added_in = 1, fields = [] } | ||
] | ||
|
||
[[metrics]] | ||
name = "ram_provisioned" | ||
description = "Total memory provisioned in the collection" | ||
units = "bytes" | ||
datum_type = "cumulative_i64" | ||
versions = [ | ||
{ added_in = 1, fields = [] } | ||
] | ||
|
||
[[metrics]] | ||
name = "cpus_provisioned" | ||
description = "Total number of vCPUs provisioned in the collection" | ||
units = "count" | ||
datum_type = "cumulative_i64" | ||
versions = [ | ||
{ added_in = 1, fields = [] } | ||
] |