Resource #
A Resource is a resource used for analysis on all microservices used in Cloudforet.
Package : spaceone.api.statistics.v1
Resource #
Resource Methods:
Method | Request | Response |
---|---|---|
stat | ResourceStatRequest | Struct |
stat #
Enables data preprocessing of different services. Although limited, it is possible to create not only basic queries but also data suitable for users’ needs, such as joins between two tables created by the query, handling missing values, and sorting.
POST /statistics/v1/resource/stat
Message #
ResourceStatRequest #
aggregate (StatAggregate)
Repeated
Required
page (StatPage)
Sort #
key (string)
Required
desc (bool)
Required
StatAggregate #
query (StatAggregateQuery)
Required
join (StatAggregateJoin)
Required
concat (StatAggregateConcat)
Required
sort (ListValue)
Required
formula (StatAggregateFormula)
Required
fill_na (StatAggregateFillNA)
Required
StatAggregateConcat #
resource_type (string)
Required
query (StatisticsQuery)
Required
extend_data (Struct)
StatAggregateFillNA #
data (Struct)
Required
StatAggregateFormula #
eval (string)
Required
query (string)
Required
StatAggregateJoin #
resource_type (string)
Required
query (StatisticsQuery)
Required
extend_data (Struct)
type (JoinType)
keys (string)
Repeated
StatAggregateQuery #
resource_type (string)
Required
query (StatisticsQuery)
Required
extend_data (Struct)
StatPage #
limit (uint32)
Required
start (uint32)