SpaceONE APIs
Latest Version
Latest Version
  • README
  • Board
    • V1
      • Board
      • Post
  • Config
    • V1
      • Domain Config
      • User Config
  • Core
    • V1
      • Handler
      • Query
      • Server Info
  • Cost Analysis
    • Plugin
      • Cost
      • Data Source
      • Job
    • V1
      • Budget
      • Budget Usage
      • Cost
      • Cost Query Set
      • Custom Widget
      • Data Source
      • Data Source Rule
      • Exchange Rate
      • Job
      • Job Task
      • Public Dashboard
      • Schedule
      • User Dashboard
  • Identity
    • Plugin
      • Auth
    • V1
      • Api Key
      • Authorization
      • Domain
      • Domain Owner
      • Endpoint
      • Policy
      • Project
      • Project Group
      • Provider
      • Role
      • Role Binding
      • Service Account
      • Token
      • User
  • Inventory
    • Plugin
      • Collector
    • V1
      • Change History
      • Cloud Service
      • Cloud Service Type
      • Collector
      • Job
      • Job Task
      • Note
      • Region
      • Resource Group
      • Server
  • Monitoring
    • Plugin
      • Data Source
      • Event
      • Log
      • Metric
      • Webhook
    • V1
      • Alert
      • Data Source
      • Escalation Policy
      • Event
      • Event Rule
      • Log
      • Maintenance Window
      • Metric
      • Note
      • Project Alert Config
      • Webhook
  • Notification
    • Plugin
      • Notification
      • Protocol
    • V1
      • Notification
      • Notification Usage
      • Project Channel
      • Protocol
      • Quota
      • User Channel
  • Plugin
    • V1
      • Plugin
      • Supervisor
  • Repository
    • V1
      • Plugin
      • Policy
      • Repository
      • Schema
  • Sample
    • V1
      • Helloworld
  • Secret
    • V1
      • Secret
      • Secret Group
  • Statistics
    • Plugin
      • Storage
    • V1
      • History
      • Resource
      • Schedule
      • Storage
Powered by GitBook
On this page
  • Metric
  • list
  • get_data
  • Message
  • MetricDataInfo
  • MetricDataRequest
  • MetricInfo
  • MetricRequest
  • MetricsInfo

Was this helpful?

  1. Monitoring
  2. Plugin

Metric

A Metric is a monitoring metric data delivered from an external cloud service via a DataSource.

Package : spaceone.api.monitoring.plugin

Metric

Metric Methods:

Method
Request
Response

list

Gets a list of all Metrics from a specific cloud service. You can use the method to list up the Metrics to collect before using the get_data method to collect the Metrics.

Type
Message

Request

Response

get_data

Gets a Metric from a specific cloud service resource instance. By specifying the time period to collect the Metric, the Metric data value of the instance during the period is returned.

Type
Message

Request

Response

Message

MetricDataInfo

Field
Type
Description

labels

values

MetricDataRequest

Field
Type
Required
Description

options

✔

secret_data

✔

metric_query

✔

metric

string

✔

metric identifier in case of requested metric info is not a single.

start

string

✔

end

string

✔

period

✘

stat

string

✘

schema

string

✘

MetricInfo

Field
Type
Description

key

string

name

string

group

string

unit

metric_query

MetricRequest

Field
Type
Required
Description

options

✔

secret_data

✔

query

✔

schema

string

✘

MetricsInfo

Field
Type
Description

metrics

PreviousLogNextWebhook

Last updated 2 years ago

Was this helpful?

google.protobuf.ListValue
google.protobuf.Struct
google.protobuf.Struct
google.protobuf.Struct
google.protobuf.Struct
int32
google.protobuf.Struct
google.protobuf.Struct
google.protobuf.Struct
google.protobuf.Struct
google.protobuf.Struct
list
MetricRequest
MetricsInfo
get_data
MetricDataRequest
MetricDataInfo
MetricRequest
MetricsInfo
MetricDataRequest
MetricDataInfo
list of MetricInfo