INFO[2021-09-22T12:44:11.745+00:00] time="2021-09-22T12:44:11Z" level=error msg="cannot get replSetGetStatus: replSetGetStatus is not supported through mongos" agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:44:11.746+00:00] time="2021-09-22T12:44:11Z" level=error msg="cannot get replSetGetStatus: replSetGetStatus is not supported through mongos" agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:44:16.744+00:00] time="2021-09-22T12:44:16Z" level=error msg="cannot get replSetGetStatus: replSetGetStatus is not supported through mongos" agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:44:16.745+00:00] time="2021-09-22T12:44:16Z" level=error msg="cannot get replSetGetStatus: replSetGetStatus is not supported through mongos" agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:44:21.743+00:00] time="2021-09-22T12:44:21Z" level=error msg="cannot get replSetGetStatus: replSetGetStatus is not supported through mongos" agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:44:21.744+00:00] time="2021-09-22T12:44:21Z" level=error msg="cannot get replSetGetStatus: replSetGetStatus is not supported through mongos" agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:44:26.744+00:00] time="2021-09-22T12:44:26Z" level=error msg="cannot get replSetGetStatus: replSetGetStatus is not supported through mongos" agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:44:26.745+00:00] time="2021-09-22T12:44:26Z" level=error msg="cannot get replSetGetStatus: replSetGetStatus is not supported through mongos" agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:44:31.745+00:00] time="2021-09-22T12:44:31Z" level=error msg="cannot get replSetGetStatus: replSetGetStatus is not supported through mongos" agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:44:31.746+00:00] time="2021-09-22T12:44:31Z" level=error msg="cannot get replSetGetStatus: replSetGetStatus is not supported through mongos" agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:44:36.746+00:00] time="2021-09-22T12:44:36Z" level=error msg="cannot get replSetGetStatus: replSetGetStatus is not supported through mongos" agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:44:36.746+00:00] time="2021-09-22T12:44:36Z" level=error msg="cannot get replSetGetStatus: replSetGetStatus is not supported through mongos" agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:44:41.745+00:00] time="2021-09-22T12:44:41Z" level=error msg="cannot get replSetGetStatus: replSetGetStatus is not supported through mongos" agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:44:41.745+00:00] time="2021-09-22T12:44:41Z" level=error msg="cannot get replSetGetStatus: replSetGetStatus is not supported through mongos" agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:44:46.744+00:00] time="2021-09-22T12:44:46Z" level=error msg="cannot get replSetGetStatus: replSetGetStatus is not supported through mongos" agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:44:46.745+00:00] time="2021-09-22T12:44:46Z" level=error msg="cannot get replSetGetStatus: replSetGetStatus is not supported through mongos" agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:44:51.743+00:00] time="2021-09-22T12:44:51Z" level=error msg="cannot get replSetGetStatus: replSetGetStatus is not supported through mongos" agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:44:51.744+00:00] time="2021-09-22T12:44:51Z" level=error msg="cannot get replSetGetStatus: replSetGetStatus is not supported through mongos" agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:45:00.736+00:00] 2021-09-22T12:45:00.736Z error VictoriaMetrics/lib/promscrape/scrapework.go:258 error when scraping "http://127.0.0.1:30100/metrics" from job "mongodb_exporter_agent_id_05b15948-f4b0-49e9-9851-f54e3d2a44e8_hr-5s" with labels {agent_id="/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8",agent_type="mongodb_exporter",cluster="mongisko",instance="/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8",job="mongodb_exporter_agent_id_05b15948-f4b0-49e9-9851-f54e3d2a44e8_hr-5s",node_id="/node_id/cf00f6bf-ddb2-4372-8799-f6ad62ece4b1",node_name="default-mongisko-mongos-7cddfc5d5b-dkdqz",node_type="container",service_id="/service_id/6da3b20e-37aa-4a34-975e-759a1b4a1039",service_name="default-mongisko-mongos-7cddfc5d5b-dkdqz",service_type="mongodb"}: error when scraping "http://127.0.0.1:30100/metrics" with timeout 4s: timeout agentID=/agent_id/59ca9c24-c28c-460d-954d-c54d6bfe52bf component=agent-process type=vm_agent INFO[2021-09-22T12:45:00.736+00:00] time="2021-09-22T12:45:00Z" level=error msg="cannot create metric for changelog: failed to aggregate sharding changelog events: connection(localhost:27017[-6]) failed to write: context canceled" agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:45:00.736+00:00] time="2021-09-22T12:45:00Z" level=error msg="Failed to get database names: connection(localhost:27017[-6]) failed to write: context canceled." agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:45:00.739+00:00] panic: runtime error: invalid memory address or nil pointer dereference agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:45:00.739+00:00] [signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0xc4be2f] agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:45:00.739+00:00] agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:45:00.739+00:00] goroutine 2472 [running]: agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:45:00.739+00:00] github.com/percona/mongodb_exporter/exporter.dbstatsMetrics(0xfe40d0, 0xc000220880, 0xc0000ce700, 0xc0000a31f0, 0xc000167e40, 0x1, 0x1) agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:45:00.739+00:00] /tmp/go/src/github.com/percona/mongodb_exporter/exporter/v1_compatibility.go:1291 +0x6f agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:45:00.739+00:00] github.com/percona/mongodb_exporter/exporter.mongosMetrics(0xfe40d0, 0xc000220880, 0xc0000ce700, 0xc0000a31f0, 0x6, 0x0, 0x0) agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:45:00.739+00:00] /tmp/go/src/github.com/percona/mongodb_exporter/exporter/v1_compatibility.go:999 +0x70f agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:45:00.739+00:00] github.com/percona/mongodb_exporter/exporter.(*diagnosticDataCollector).Collect(0xc0000c06c0, 0xc0000f40c0) agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:45:00.739+00:00] /tmp/go/src/github.com/percona/mongodb_exporter/exporter/diagnostic_data_collector.go:78 +0x6b4 agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:45:00.739+00:00] github.com/prometheus/client_golang/prometheus.DescribeByCollect.func1(0xfdb6f8, 0xc0000c06c0, 0xc0000f40c0) agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:45:00.739+00:00] /tmp/go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/collector.go:90 +0x3b agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:45:00.739+00:00] created by github.com/prometheus/client_golang/prometheus.DescribeByCollect agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:45:00.739+00:00] /tmp/go/pkg/mod/github.com/prometheus/client_golang@v1.11.0/prometheus/collector.go:89 +0x75 agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter WARN[2021-09-22T12:45:00.740+00:00] Process: exited: exit status 2. agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:45:00.740+00:00] Process: waiting 1.011910153s. agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:45:00.740+00:00] Sending status: WAITING (port 30100). agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:45:01.041+00:00] Sending 13 buckets. agentID=/agent_id/b5454064-6eea-4aa5-a83d-6fc2dc2de77d component=agent-builtin type=qan_mongodb_profiler_agent INFO[2021-09-22T12:45:01.735+00:00] 2021-09-22T12:45:01.735Z error VictoriaMetrics/lib/promscrape/scrapework.go:258 error when scraping "http://127.0.0.1:30100/metrics" from job "mongodb_exporter_agent_id_05b15948-f4b0-49e9-9851-f54e3d2a44e8_hr-5s" with labels {agent_id="/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8",agent_type="mongodb_exporter",cluster="mongisko",instance="/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8",job="mongodb_exporter_agent_id_05b15948-f4b0-49e9-9851-f54e3d2a44e8_hr-5s",node_id="/node_id/cf00f6bf-ddb2-4372-8799-f6ad62ece4b1",node_name="default-mongisko-mongos-7cddfc5d5b-dkdqz",node_type="container",service_id="/service_id/6da3b20e-37aa-4a34-975e-759a1b4a1039",service_name="default-mongisko-mongos-7cddfc5d5b-dkdqz",service_type="mongodb"}: error when scraping "http://127.0.0.1:30100/metrics": dial tcp4 127.0.0.1:30100: connect: connection refused; try -enableTCP6 command-line flag if you scrape ipv6 addresses agentID=/agent_id/59ca9c24-c28c-460d-954d-c54d6bfe52bf component=agent-process type=vm_agent INFO[2021-09-22T12:45:01.752+00:00] Sending status: STARTING (port 30100). agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:45:01.775+00:00] time="2021-09-22T12:45:01Z" level=info msg="HTTP Basic authentication is enabled." source="basic_auth.go:91" agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:45:01.775+00:00] time="2021-09-22T12:45:01Z" level=info msg="Starting HTTP server for http://:30100/metrics ..." source="server.go:140" agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:45:02.754+00:00] Sending status: RUNNING (port 30100). agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:45:06.747+00:00] time="2021-09-22T12:45:06Z" level=error msg="cannot get replSetGetStatus: replSetGetStatus is not supported through mongos" agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:45:06.749+00:00] time="2021-09-22T12:45:06Z" level=error msg="cannot get replSetGetStatus: replSetGetStatus is not supported through mongos" agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:45:11.746+00:00] time="2021-09-22T12:45:11Z" level=error msg="cannot get replSetGetStatus: replSetGetStatus is not supported through mongos" agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:45:11.747+00:00] time="2021-09-22T12:45:11Z" level=error msg="cannot get replSetGetStatus: replSetGetStatus is not supported through mongos" agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:45:16.745+00:00] time="2021-09-22T12:45:16Z" level=error msg="cannot get replSetGetStatus: replSetGetStatus is not supported through mongos" agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:45:16.746+00:00] time="2021-09-22T12:45:16Z" level=error msg="cannot get replSetGetStatus: replSetGetStatus is not supported through mongos" agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:45:21.745+00:00] time="2021-09-22T12:45:21Z" level=error msg="cannot get replSetGetStatus: replSetGetStatus is not supported through mongos" agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:45:21.746+00:00] time="2021-09-22T12:45:21Z" level=error msg="cannot get replSetGetStatus: replSetGetStatus is not supported through mongos" agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:45:26.745+00:00] time="2021-09-22T12:45:26Z" level=error msg="cannot get replSetGetStatus: replSetGetStatus is not supported through mongos" agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:45:26.746+00:00] time="2021-09-22T12:45:26Z" level=error msg="cannot get replSetGetStatus: replSetGetStatus is not supported through mongos" agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:45:31.746+00:00] time="2021-09-22T12:45:31Z" level=error msg="cannot get replSetGetStatus: replSetGetStatus is not supported through mongos" agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:45:31.746+00:00] time="2021-09-22T12:45:31Z" level=error msg="cannot get replSetGetStatus: replSetGetStatus is not supported through mongos" agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:45:36.746+00:00] time="2021-09-22T12:45:36Z" level=error msg="cannot get replSetGetStatus: replSetGetStatus is not supported through mongos" agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter INFO[2021-09-22T12:45:36.747+00:00] time="2021-09-22T12:45:36Z" level=error msg="cannot get replSetGetStatus: replSetGetStatus is not supported through mongos" agentID=/agent_id/05b15948-f4b0-49e9-9851-f54e3d2a44e8 component=agent-process type=mongodb_exporter [ec2-user@ip-10-178-0-111 ~]$