Database Insights API

Database Insights API is a regional service that provides deep performance diagnostics and monitoring for cloud databases. It exposes tools like Query Insights, which helps you detect, diagnose, and prevent query performance problems, and System Insights, which provides comprehensive telemetry and monitoring for system-level instance metrics.

Service: databaseinsights.googleapis.com

To call this service, we recommend that you use the Google-provided client libraries. If your application needs to use your own libraries to call this service, use the following information when you make the API requests.

Discovery document

A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:

Service endpoint

A service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:

  • https://databaseinsights.googleapis.com

REST Resource: v1beta.projects.locations.queryMetrics

Methods
fetch POST /v1beta/{parent=projects/*/locations/*}/queryMetrics:fetch
FetchQueryMetrics fetches the given database query level metrics.

REST Resource: v1beta.projects.locations.systemMetrics

Methods
fetch POST /v1beta/{parent=projects/*/locations/*}/systemMetrics:fetch
FetchSystemMetrics fetches the given system level metrics.

REST Resource: v1beta.projects.locations.virtualDbxAgent

Methods
query POST /v1beta/{parent=projects/*/locations/*}/virtualDbxAgent:query
RunAgent runs the agent.