We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am configuring PMM montoring for postgresql. But my postgres_exporter givings an error INFO[2024-07-02T15:29:33.836+00:00] Sending status: STARTING (port 42000). agentID=/agent_id/19b7eaf0-bea5-4313-a409-f38e0a321ccf component=agent-process type=postgres_exporter INFO[2024-07-02T15:29:33.839+00:00] postgres_exporter: error: unknown long flag '--collect.custom_query.hr', try --help agentID=/agent_id/19b7eaf0-bea5-4313-a409-f38e0a321ccf component=agent-process type=postgres_exporter WARN[2024-07-02T15:29:33.840+00:00] Process: exited early: exit status 1. agentID=/agent_id/19b7eaf0-bea5-4313-a409-f38e0a321ccf component=agent-process type=postgres_exporter INFO[2024-07-02T15:29:33.840+00:00] Process: waiting 10.156566581s. agentID=/agent_id/19b7eaf0-bea5-4313-a409-f38e0a321ccf component=agent-process type=postgres_exporter INFO[2024-07-02T15:29:33.840+00:00] Sending status: WAITING (port 42000). agentID=/agent_id/19b7eaf0-bea5-4313-a409-f38e0a321ccf component=agent-process type=postgres_exporter
Linux 6.8.0-1009-aws aarch64
/usr/local/percona/pmm2/exporters/postgres_exporter --version postgres_exporter, version 0.15.0 (branch: master, revision: 49f66e1) build user: root@test-postgres-1 build date: 20240702-15:27:38 go version: go1.22.4 platform: linux/arm64 tags: unknown
no flags setup. Seems its automatically setup by pmm-agent
psql (PostgreSQL) 16.3 (Ubuntu 16.3-1.pgdg24.04+1)
INFO[2024-07-02T15:32:03.019+00:00] 2024-07-02T15:32:03.018Z error VictoriaMetrics/lib/promscrape/scrapework.go:258 error when scraping "http://127.0.0.1:42000/metrics?collect%5B%5D=custom_query.hr&collect%5B%5D=exporter&collect%5B%5D=postgres&collect%5B%5D=standard.go&collect%5B%5D=standard.process" from job "postgres_exporter_agent_id_19b7eaf0-bea5-4313-a409-f38e0a321ccf_hr" with labels {agent_id="/agent_id/19b7eaf0-bea5-4313-a409-f38e0a321ccf",agent_type="postgres_exporter",instance="/agent_id/19b7eaf0-bea5-4313-a409-f38e0a321ccf",job="postgres_exporter_agent_id_19b7eaf0-bea5-4313-a409-f38e0a321ccf_hr",machine_id="/machine_id/ec270e78a24f0adfa6577a91d6a53b7b",node_id="/node_id/cff41c3d-d939-459e-b854-af3bd95f7339",node_name="TestDB-PostgreSQL",node_type="generic",service_id="/service_id/3b1d534f-666d-456f-99a5-33babec40f0e",service_name="TestDB-PostgreSQL",service_type="postgresql"}: cannot read data: cannot scrape "http://127.0.0.1:42000/metrics?collect%5B%5D=custom_query.hr&collect%5B%5D=exporter&collect%5B%5D=postgres&collect%5B%5D=standard.go&collect%5B%5D=standard.process": Get "http://127.0.0.1:42000/metrics?collect%5B%5D=custom_query.hr&collect%5B%5D=exporter&collect%5B%5D=postgres&collect%5B%5D=standard.go&collect%5B%5D=standard.process": dial tcp4 127.0.0.1:42000: connect: connection refused; try -enableTCP6 command-line flag if you scrape ipv6 addresses agentID=/agent_id/d52faa85-7a97-42ab-b871-ce4991dc3512 component=agent-process type=vm_agent INFO[2024-07-02T15:32:03.248+00:00] 2024-07-02T15:32:03.248Z error VictoriaMetrics/lib/promscrape/scrapework.go:258 error when scraping "http://127.0.0.1:42000/metrics?collect%5B%5D=custom_query.mr" from job "postgres_exporter_agent_id_19b7eaf0-bea5-4313-a409-f38e0a321ccf_mr" with labels {agent_id="/agent_id/19b7eaf0-bea5-4313-a409-f38e0a321ccf",agent_type="postgres_exporter",instance="/agent_id/19b7eaf0-bea5-4313-a409-f38e0a321ccf",job="postgres_exporter_agent_id_19b7eaf0-bea5-4313-a409-f38e0a321ccf_mr",machine_id="/machine_id/ec270e78a24f0adfa6577a91d6a53b7b",node_id="/node_id/cff41c3d-d939-459e-b854-af3bd95f7339",node_name="TestDB-PostgreSQL",node_type="generic",service_id="/service_id/3b1d534f-666d-456f-99a5-33babec40f0e",service_name="TestDB-PostgreSQL",service_type="postgresql"}: cannot read data: cannot scrape "http://127.0.0.1:42000/metrics?collect%5B%5D=custom_query.mr": Get "http://127.0.0.1:42000/metrics?collect%5B%5D=custom_query.mr": dial tcp4 127.0.0.1:42000: connect: connection refused; try -enableTCP6 command-line flag if you scrape ipv6 addresses agentID=/agent_id/d52faa85-7a97-42ab-b871-ce4991dc3512 component=agent-process type=vm_agent INFO[2024-07-02T15:32:04.377+00:00] Sending status: STARTING (port 42000). agentID=/agent_id/19b7eaf0-bea5-4313-a409-f38e0a321ccf component=agent-process type=postgres_exporter INFO[2024-07-02T15:32:04.380+00:00] postgres_exporter: error: unknown long flag '--collect.custom_query.hr', try --help agentID=/agent_id/19b7eaf0-bea5-4313-a409-f38e0a321ccf component=agent-process type=postgres_exporter WARN[2024-07-02T15:32:04.381+00:00] Process: exited early: exit status 1. agentID=/agent_id/19b7eaf0-bea5-4313-a409-f38e0a321ccf component=agent-process type=postgres_exporter INFO[2024-07-02T15:32:04.381+00:00] Process: waiting 8.747650469s. agentID=/agent_id/19b7eaf0-bea5-4313-a409-f38e0a321ccf component=agent-process type=postgres_exporter INFO[2024-07-02T15:32:04.381+00:00] Sending status: WAITING (port 42000). agentID=/agent_id/19b7eaf0-bea5-4313-a409-f38e0a321ccf component=agent-process type=postgres_exporter INFO[2024-07-02T15:32:08.018+00:00] 2024-07-02T15:32:08.018Z error VictoriaMetrics/lib/promscrape/scrapework.go:258 error when scraping "http://127.0.0.1:42000/metrics?collect%5B%5D=custom_query.hr&collect%5B%5D=exporter&collect%5B%5D=postgres&collect%5B%5D=standard.go&collect%5B%5D=standard.process" from job "postgres_exporter_agent_id_19b7eaf0-bea5-4313-a409-f38e0a321ccf_hr" with labels {agent_id="/agent_id/19b7eaf0-bea5-4313-a409-f38e0a321ccf",agent_type="postgres_exporter",instance="/agent_id/19b7eaf0-bea5-4313-a409-f38e0a321ccf",job="postgres_exporter_agent_id_19b7eaf0-bea5-4313-a409-f38e0a321ccf_hr",machine_id="/machine_id/ec270e78a24f0adfa6577a91d6a53b7b",node_id="/node_id/cff41c3d-d939-459e-b854-af3bd95f7339",node_name="TestDB-PostgreSQL",node_type="generic",service_id="/service_id/3b1d534f-666d-456f-99a5-33babec40f0e",service_name="TestDB-PostgreSQL",service_type="postgresql"}: cannot read data: cannot scrape "http://127.0.0.1:42000/metrics?collect%5B%5D=custom_query.hr&collect%5B%5D=exporter&collect%5B%5D=postgres&collect%5B%5D=standard.go&collect%5B%5D=standard.process": Get "http://127.0.0.1:42000/metrics?collect%5B%5D=custom_query.hr&collect%5B%5D=exporter&collect%5B%5D=postgres&collect%5B%5D=standard.go&collect%5B%5D=standard.process": dial tcp4 127.0.0.1:42000: connect: connection refused; try -enableTCP6 command-line flag if you scrape ipv6 addresses agentID=/agent_id/d52faa85-7a97-42ab-b871-ce4991dc3512 component=agent-process type=vm_agent
Thanks In Advance
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am configuring PMM montoring for postgresql. But my postgres_exporter givings an error
INFO[2024-07-02T15:29:33.836+00:00] Sending status: STARTING (port 42000). agentID=/agent_id/19b7eaf0-bea5-4313-a409-f38e0a321ccf component=agent-process type=postgres_exporter
INFO[2024-07-02T15:29:33.839+00:00] postgres_exporter: error: unknown long flag '--collect.custom_query.hr', try --help agentID=/agent_id/19b7eaf0-bea5-4313-a409-f38e0a321ccf component=agent-process type=postgres_exporter
WARN[2024-07-02T15:29:33.840+00:00] Process: exited early: exit status 1. agentID=/agent_id/19b7eaf0-bea5-4313-a409-f38e0a321ccf component=agent-process type=postgres_exporter
INFO[2024-07-02T15:29:33.840+00:00] Process: waiting 10.156566581s. agentID=/agent_id/19b7eaf0-bea5-4313-a409-f38e0a321ccf component=agent-process type=postgres_exporter
INFO[2024-07-02T15:29:33.840+00:00] Sending status: WAITING (port 42000). agentID=/agent_id/19b7eaf0-bea5-4313-a409-f38e0a321ccf component=agent-process type=postgres_exporter
Linux 6.8.0-1009-aws aarch64
/usr/local/percona/pmm2/exporters/postgres_exporter --version
postgres_exporter, version 0.15.0 (branch: master, revision: 49f66e1)
build user: root@test-postgres-1
build date: 20240702-15:27:38
go version: go1.22.4
platform: linux/arm64
tags: unknown
psql (PostgreSQL) 16.3 (Ubuntu 16.3-1.pgdg24.04+1)
Thanks In Advance
The text was updated successfully, but these errors were encountered: