Get metrics of DBaaS service

POST /dbaas-service-metrics/{service-name}

Get metrics of DBaaS service

application/json

Body Required

  • period string

    Metrics time period (default: hour)

    Values are hour, week, year, month, or day.

Responses

  • 200 application/json

    200

    Hide response attribute Show response attribute object
    • metrics object

      Additional properties are allowed.

POST /dbaas-service-metrics/{service-name}
curl \
 -X POST https://api-ch-gva-2.exoscale.com/v2/dbaas-service-metrics/{service-name} \
 -H "Content-Type: application/json" \
 -d '{"period":"hour"}'
Request examples
{
  "period": "hour"
}
Response examples (200)
{
  "metrics": {}
}