Skip to content

Add statistics about connections and usage #1

@fabriziomello

Description

@fabriziomello

Statistics about connections and usage, in a similar way to what PgBouncer provides with the SHOW STATS command. These will be provided for completeness, and for scenarios where no connection pool is present.

In this first version we'll do not aggregate statistics by database, just by cluster.

Some statistics to add for now:

  • sessions: total number of connections
  • transactions: total number of Transactions filtered
  • statements: total number of Statements filtered
  • statements_insert: total number of INSERTs filtered
  • statements_delete: total number of DELETEs filtered
  • statements_update: total number of UPDATEs filtered
  • statements_select: total number of SELECTs filtered
  • statements_other: total number of other Statements filtered

Reference: envoyproxy/envoy#9107

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions