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
POST /statistics/v1/resources/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.
Type | Message |
---|---|
Request | |
Response |
Message
ResourceStatRequest
Field | Type | Required | Description |
---|---|---|---|
aggregate | ✔ | ||
page | ✘ | ||
domain_id | string | ✔ |
SortKey
Field | Type | Description |
---|---|---|
key | string | |
desc | bool |
StatAggregate
Field | Type | Description |
---|---|---|
query | ||
join | ||
concat | ||
sort | ||
formula | ||
fill_na |
StatAggregateConcat
Field | Type | Required | Description |
---|---|---|---|
resource_type | string | ✔ | |
query | ✔ | ||
extend_data | ✘ |
StatAggregateFillNA
Field | Type | Required | Description |
---|---|---|---|
data | ✔ |
StatAggregateFormula
Field | Type | Description |
---|---|---|
eval | string | |
query | string |
StatAggregateJoin
Field | Type | Required | Description |
---|---|---|---|
resource_type | string | ✔ | |
query | ✔ | ||
extend_data | ✘ | ||
type |
| ✘ | |
keys | list of string | ✘ |
StatAggregateQuery
Field | Type | Required | Description |
---|---|---|---|
resource_type | string | ✔ | |
query | ✔ | ||
extend_data | ✘ |
StatAggregateSort
Field | Type | Required | Description |
---|---|---|---|
key | string | ✘ | |
desc | bool | ✘ | |
keys | ✘ |
StatPage
Last updated