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
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 example
{
  "period": "hour"
}
Response examples (200)
{
  "metrics": {}
}