Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

4.5 KB
Raw Blame
{
  "id": "cloudsql_postgres",
  "title": "GCP Cloud SQL for PostgreSQL",
  "icon": "file://icon.svg",
  "overview": "file://overview.md",
  "supportedSignals": {
    "metrics": true,
    "logs": true
  },
  "dataCollected": {
    "metrics": [
      {
        "name": "cloudsql.googleapis.com/database/up",
        "unit": "Count",
        "type": "Gauge",
        "description": ""
      },
      {
        "name": "cloudsql.googleapis.com/database/cpu/utilization",
        "unit": "Percent",
        "type": "Gauge",
        "description": ""
      },
      {
        "name": "cloudsql.googleapis.com/database/memory/utilization",
        "unit": "Percent",
        "type": "Gauge",
        "description": ""
      },
      {
        "name": "cloudsql.googleapis.com/database/memory/usage",
        "unit": "Bytes",
        "type": "Gauge",
        "description": ""
      },
      {
        "name": "cloudsql.googleapis.com/database/disk/bytes_used",
        "unit": "Bytes",
        "type": "Gauge",
        "description": ""
      },
      {
        "name": "cloudsql.googleapis.com/database/postgresql/num_backends",
        "unit": "Count",
        "type": "Gauge",
        "description": ""
      },
      {
        "name": "cloudsql.googleapis.com/database/postgresql/num_backends_by_state",
        "unit": "Count",
        "type": "Gauge",
        "description": ""
      },
      {
        "name": "cloudsql.googleapis.com/database/postgresql/transaction_count",
        "unit": "Count",
        "type": "Sum",
        "description": ""
      },
      {
        "name": "cloudsql.googleapis.com/database/postgresql/deadlock_count",
        "unit": "Count",
        "type": "Sum",
        "description": ""
      },
      {
        "name": "cloudsql.googleapis.com/database/postgresql/vacuum/oldest_transaction_age",
        "unit": "Count",
        "type": "Gauge",
        "description": ""
      },
      {
        "name": "cloudsql.googleapis.com/database/postgresql/insights/aggregate/execution_time",
        "unit": "Microseconds",
        "type": "Gauge",
        "description": ""
      },
      {
        "name": "cloudsql.googleapis.com/database/postgresql/insights/aggregate/io_time",
        "unit": "Microseconds",
        "type": "Sum",
        "description": ""
      },
      {
        "name": "cloudsql.googleapis.com/database/postgresql/insights/perquery/execution_time",
        "unit": "Microseconds",
        "type": "Gauge",
        "description": ""
      },
      {
        "name": "cloudsql.googleapis.com/database/postgresql/replication/replica_byte_lag",
        "unit": "Bytes",
        "type": "Gauge",
        "description": ""
      }
    ],
    "logs": [
      {
        "name": "Project",
        "path": "gcp.project",
        "type": "string"
      },
      {
        "name": "Resource Type",
        "path": "gcp.resource_type",
        "type": "string"
      }
    ]
  },
  "telemetryCollectionStrategy": {
    "gcp": {
      "metrics": {
        "metricNames": [
          "cloudsql.googleapis.com/database/up",
          "cloudsql.googleapis.com/database/cpu/utilization",
          "cloudsql.googleapis.com/database/memory/utilization",
          "cloudsql.googleapis.com/database/memory/usage",
          "cloudsql.googleapis.com/database/disk/bytes_used",
          "cloudsql.googleapis.com/database/postgresql/num_backends",
          "cloudsql.googleapis.com/database/postgresql/num_backends_by_state",
          "cloudsql.googleapis.com/database/postgresql/transaction_count",
          "cloudsql.googleapis.com/database/postgresql/deadlock_count",
          "cloudsql.googleapis.com/database/postgresql/vacuum/oldest_transaction_age",
          "cloudsql.googleapis.com/database/postgresql/insights/aggregate/execution_time",
          "cloudsql.googleapis.com/database/postgresql/insights/aggregate/io_time",
          "cloudsql.googleapis.com/database/postgresql/insights/perquery/execution_time",
          "cloudsql.googleapis.com/database/postgresql/replication/replica_byte_lag"
        ]
      },
      "logs": {
        "sinkFilter": "resource.type=\"cloudsql_database\" AND (logName:\"/logs/cloudsql.googleapis.com%2Fpostgres\" OR (log_id(\"cloudaudit.googleapis.com/data_access\") AND protoPayload.request.@type=\"type.googleapis.com/google.cloud.sql.audit.v1.PgAuditEntry\"))"
      }
    }
  },
  "assets": {
    "dashboards": [
      {
        "id": "overview",
        "title": "GCP Cloud SQL for PostgreSQL Overview",
        "description": "Overview of GCP Cloud SQL for PostgreSQL metrics",
        "definition": "file://assets/dashboards/overview.json"
      }
    ]
  }
}