Stackdriver Agent Migration

Several 3rd-party plugins were deprecated and BindPlane will now be the tool used to collect metrics from these technologies.

The metrics listed below are only those that were taken over from the deprecation. For a full list of metrics that BindPlane will send to Stackdriver, please click here.

Key

Metric Type
Display Name

Kind, Type, Unit

Description

Labels

Additions

🚧

Collection Information

By default, the BindPlane integration collects and reports all metrics listed below from all databases on a PostgreSQL instance (and required permissions are met). Users may specify a specific database in BindPlane Source configuration, or filter by the database and/or tables label in Stackdriver, to narrow results.

🚧

Metric prefixes

If the BindPlane collector is installed on the PostgreSQL host system, all the following metrics listed below will be prefixed with agent.googleapis.com/postgresql. Otherwise, these metrics will be prefixed with external.googleapis.com/bluemedora/generic_node/postgresql.

Stackdriver Metrics

/blocks_read_count
Blocks read

CUMULATIVE, INT64, Blocks

Number of blocks read.

database: The name of the database.

table: The name of the table.

source: The block read source.

Additions

blocks_read_count: the BindPlane integration collects and reports this metric at a table level, and not the database level. Dashboard updates may be required, depending on your configuration.

/commit_count
Commits

CUMULATIVE, INT64, Transactions

Number of commits.

database: The name of the database.

/db_size
DB size

GAUGE, DOUBLE, By

Database disk usage.

database: The name of the database.

/num_backends
Backends

GAUGE, DOUBLE, Sessions

Number of backends.

database: The name of the database.

/num_tuples
DB rows

GAUGE, DOUBLE, Rows

Number of tuples (rows) in the database.

state: Tuple (row) state (either 'dead' or 'live').

table: The name of the table.

database: The name of the database.

Additions

num_tuples: the BindPlane integration collects and reports this metric at a table level, and not the database level. Dashboard updates may be required, depending on your configuration.

/operation_count
Operations

CUMULATIVE, INT64, Rows

Number of db row operations.

database: The name of the database.

table: The name of the table.

operation: The database operation.

Additions

operations_count: the BindPlane integration collects and reports this metric at a table level, and not the database level. Dashboard updates may be required, depending on your configuration.

/rollback_count
Rollbacks

CUMULATIVE, INT64, Transactions

Number of rollbacks.

database: The name of the database.