MetricData

Package : spaceone.api.inventory.v1

MetricData

MetricData Methods:

list

POST /inventory/v1/metric-data/list

{{< tabs " list " >}}

{{< tab "Request Example" >}}

MetricDataQuery

  • metric_id (string) Required

  • query (Query)

  • workspace_id (string)

  • project_id (string)

{{< highlight json >}} {

} {{< /highlight >}} {{< /tab >}}

{{< /tabs >}}

stat

POST /inventory/v1/metric-data/stat

analyze

POST /inventory/v1/metric-data/analyze

Message

MetricDataAnalyzeQuery

  • query (TimeSeriesAnalyzeQuery) Required

  • metric_id (string) Required

MetricDataInfo

  • metric_id (string) Required

  • value (float) Required

  • unit (string) Required

  • labels (Struct) Required

  • domain_id (string) Required

  • workspace_id (string) Required

  • project_id (string) Required

  • service_account_id (string) Required

  • namespace_id (string) Required

  • created_year (string) Required

  • created_month (string) Required

  • created_date (string) Required

MetricDataQuery

  • metric_id (string) Required

  • query (Query)

  • workspace_id (string)

  • project_id (string)

MetricDataStatQuery

  • query (StatisticsQuery) Required

  • metric_id (string)

MetricDatasInfo

  • results (MetricDataInfo) Repeated Required

  • total_count (int32) Required

Last updated