[Yandex Cloud documentation](../../../../index.md) > [Yandex Managed Service for PostgreSQL](../../../index.md) > API reference > [gRPC](../index.md) > PerformanceDiagnostics > Overview

# Managed Service for PostgreSQL API, gRPC: PerformanceDiagnosticsService

A set of methods for PostgreSQL performance diagnostics.

## Methods

#|
||Method | Description ||
|| [ListRawSessionStates](listRawSessionStates.md) | Retrieves raw statistics on sessions. Corresponds to the [pg_stat_activity view](https://www.postgresql.org/docs/current/monitoring-stats.html#MONITORING-PG-STAT-ACTIVITY-VIEW). ||
|| [ListRawStatements](listRawStatements.md) | Retrieves statistics on planning and execution of SQL statements (queries). ||
|#