View your derived metrics
- Chronoctl
- API
View derived metrics with the Chronoctl
command To list derived metrics with slugs
chronoctl derived-metrics list, filtered by their
slugs with the --slugs flag.For example, to list all derived metrics:slug_name_1 and slug_name_2:Create a derived metric
- Chronoctl
- Terraform
- API
Here’s a Chronoctl example of a derived metric
with two underlying expressions:
selector in your derived metric definition when you want a metric name that’s
used by different queries based on the selector, or when you want the same derived
metric to map to different underlying metrics. This can cause performance issues if
you have a large number of id items in use. Chronosphere doesn’t support sums
across id items. If you have many selectors, a recording rule is often a better
option.
If you want to map only a derived metric name to a query, you don’t need a selector.
Delete a derived metric
Users can modify Terraform-managed resources only by using Terraform.
Learn more.
- Chronoctl
- Terraform
- API
To delete a derived metric with Chronoctl, use
the You can delete more than one metric at a time by providing a comma-separated list
of slugs. For example:
chronoctl derived-metrics delete command with the slug of the derived
metric you want to delete: