Metric Search
Overview
The metric search interface finds metrics by name or metric tag values.
Syntax
Search text can consist of multiple keywords.
- Keywords containing a colon are treated as tag filters, for example
example-tag:example-value
finds metrics with tagexample-tag
set toexample-value
- Reserved keywords
min-date
andmax-date
filter entities by last insert date specified as literal date inyyyy-MM-dd
or ISO format or as a calendar keyword. - Remaining keywords match metric names.
Wildcards
Name patterns support the following wildcard symbols:
*
Matches any number of characters.?
Matches any one character.
Wildcard *
is automatically appended to the end of name patterns when performing searches, thereby matching any metrics which contain a name that begins with the specified text.
Multiple keywords are evaluated as boolean AND
conditions.
Metric names, tag names, and tag values are matched on a case-insensitive basis.
Examples
Find metrics which begin with keyword
cpu
:cpu
Identical query:
cpu*
Find metrics which contain keyword
cpu
:*cpu*
Find metrics with tag
frequency
set toDaily
:frequency:Daily
Find metrics with any value for tag
frequency
and displayfrequency
column:frequency:*
Find metrics with non-empty value for tag
frequency
:frequency:
Find metrics which begin with keyword
cpu
and contain tagfrequency
set toDaily
:cpu frequency:Daily