cURL
curl --request GET \ --url https://api.gcore.com/cloud/v1/dbaas/postgres/clusters/{project_id}/{region_id}/{cluster_name}/metrics \ --header 'Authorization: <api-key>'
Get metrics for a specific PostgreSQL cluster in Prometheus format.
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef
apikey
apikey 1234$abcdef
Project ID
Region ID
Cluster name
OK
Was this page helpful?