Service

Fetch service metrics

Changed on
post/project/{project}/service/{service_name}/metrics

Request

  • Base URL
    https://api.aiven.io/v1
  • URL
    https://api.aiven.io/v1/project/{project}/service/{service_name}/metrics
  • Auth
    HTTP bearer and OAuth 2
    Authorization code: https://console.aiven.io/oauth/authorize
    Token URL: https://api.aiven.io/v1/oauth2/token scopes: services:write

Path parameters

projectstring required

Project name

service_namestring required

Service name

Request body

kafka_topic_namestring

Metrics at Kafka service topic level

period'hour' | 'day' | 'week' | 'month' | 'year'

Metrics time period

Response

Response

messagestring

Printable result of the request

metricsobject required

Service metrics in Google chart compatible format

Changes