Skip to content

postgres_exporter is stuck and do not log out #1135

Open
@wangshuai0709

Description

@wangshuai0709

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions