Technologies/PostgreSQL/calls
PostgreSQLPostgreSQLMetric

calls

Function calls
Dimensions:None
Available on:DatadogDatadog (1)Native (1)
Interface Metrics (2)
DatadogDatadog
Enabled with `collect_function_metrics`. The number of calls made to a function. This metric is tagged with db, schema, function.
Dimensions:None
Native
calls statistic from pg_stat_user_functions
Dimensions:None

Technical Annotations (4)

Configuration Parameters (2)
shared_preload_librariesrecommended: pg_stat_statements
required to enable pg_stat_statements extension
pg_stat_statements.trackrecommended: all
tracks all SQL statements including nested calls
CLI Commands (1)
SELECT query, calls, total_exec_time, mean_exec_time, rows FROM pg_stat_statements ORDER BY total_exec_time DESC LIMIT 20;diagnostic
Technical References (1)
pg_stat_statementscomponent
Related Insights (1)
Slow queries consuming excessive total execution time degrade performancewarning