-
Notifications
You must be signed in to change notification settings - Fork 769
postgres_exporter is stuck and do not log out #1135
New issue
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
Comments
I'm not sure what the problem is that you are asking about. Can you clarify what you are asking? |
my container`s log only has tow lines,it do not work |
my other container log is: This is the normal container. |
It will only try to establish the connection if you try to scrape the metrics. Are you sure that you have something scraping the /metrics HTTP endpoint? |
postgres_exporter start command:
docker run --net=host -d --restart=always --name=postgres-exporter -e DATA_SOURCE_NAME="postgresql://postgres_exporter:[email protected]:5432/phecda-cm?sslmode=disable" -v /tmp/default_pg_20240410.yaml:/tmp/default_pg_20240410.yaml repo.cicc.com.cn/public-docker-virtual/prometheuscommunity/postgres-exporter:v0.11.1 --extend.query-path=/tmp/default_pg_20240410.yaml
postgres_exporter log only print:
ts=2025-03-06T00:44:38.390Z caller=main.go:135 level=info msg="Listening on address" address=:9187
ts=2025-03-06T00:44:38.390Z caller=tls_config.go:195 level=info msg="TLS is disabled." http2=false
The text was updated successfully, but these errors were encountered: