Stat API
Query for statistics
Last updated
Query for statistics
Last updated
NO
KEY
TYPE
REQUIRED
DESC
1
resource_type
string
Main resource type to select with grouping
2
query
dict
query for grouping statistic main select item
resource_type : "<service>.<resource>" identity.Project inventory.Server
NO
KEY
TYPE
REQUIRED
DESC
1
keys
list
Primary columns or keys to join with main resource of query and index join will be performed if keys hasn't given
2
type
string
Type of join in SQL
LEFT (default)
RIGHT
INNER
OUTER
3
resource_type
string
Resource type to join with
4
query
dict
Select query for joining with primary resources
NO
KEY
TYPE
REQUIRED
DESC
1
name
string
name of variable that stores performed formula
2
formula
string
algebraic formulas to calculate given form
3
operator
string
optional values in EVAL(default), QUERY