File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 55# https://github.com/CrunchyData/pgmonitor/blob/development/sql_exporter/common/crunchy_global_collector.yml
66
77# NOTE: Some of the columns below can return NULL values, for which sqlqueryreceiver will warn.
8- # Those columns are idx_scan and idx_tup_fetch.
8+ # https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/sqlqueryreceiver#null-values
9+ # Those columns are idx_scan and idx_tup_fetch and we avoid NULL by using COALESCE.
910 - sql : >
1011 SELECT
1112 current_database() as dbname
Original file line number Diff line number Diff line change 55# https://github.com/CrunchyData/pgmonitor/blob/development/sql_exporter/common/crunchy_global_collector.yml
66
77# NOTE: Some of the columns below can return NULL values, for which sqlqueryreceiver will warn.
8- # Those columns are idx_scan and idx_tup_fetch. We now use COALESCE to return 0 as a default.
8+ # https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/sqlqueryreceiver#null-values
9+ # Those columns are idx_scan and idx_tup_fetch and we avoid NULL by using COALESCE.
910 - sql : >
1011 SELECT
1112 current_database() as dbname
You can’t perform that action at this time.
0 commit comments