Metrics/Stackdriver
Add Stackdriver metrics integration
Changed onAdd a Stackdriver metrics integration (legacy).
Credentials are the individual fields from a GCP service account JSON key file, do not upload the raw JSON file.
We recommend using Stackdriver for new integrations, which exports Prometheus metrics.
post/integrations/metrics/stackdriver
Request
- Base URLhttps://api.cloudamqp.com/api
- URLhttps://api.cloudamqp.com/api/integrations/metrics/stackdriver
- AuthHTTP basic
Request body application/x-www-form-urlencoded
Example request
{
"project_id": "my-gcp-project",
"client_email": "metrics-publisher@my-gcp-project.iam.gserviceaccount.com",
"private_key": "-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG9w0BAQ...\n-----END PRIVATE KEY-----\n"
}Response
Integration created successfully
Example response
{
"id": 10
}Changes
- breaking
added the new required request property
- breaking
added the new required request property
- breaking
added the new required request property
- breaking
removed the success response with the status
- info
added the new optional request property
- info
added the non-success response with the status
- info
added the success response with the status
- breaking