Skip to content
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

I try to run it in docker and get an error in the logs #18

Open
chanyshev opened this issue Feb 26, 2021 · 0 comments
Open

I try to run it in docker and get an error in the logs #18

chanyshev opened this issue Feb 26, 2021 · 0 comments

Comments

@chanyshev
Copy link

Run with Docker

SOCK="/run/php/php7.2-fpm.sock"; \
docker run -d -p 9253:9253 -v $SOCK:$SOCK  \
lusotycoon/phpfpm-exporter \
--phpfpm.socket-paths=$SOCK

docker logs quirky_yonath

2021/02/26 11:25:30 Starting phpfpm_exporter (version=0.5.0, branch=HEAD, revision=9cb855b0e40f98db3bfae60d34d7b87834329310)
2021/02/26 11:25:30 Build context (go=go1.12.6, user=root@a53eecf46f97, date=20190621-12:09:02)
2021/02/26 11:25:30 Starting Server: :9253
2021/02/26 11:25:39 Failed to scrape socket: malformed MIME header line: Primary script unknown
2021/02/26 11:25:49 Failed to scrape socket: malformed MIME header line: Primary script unknown
2021/02/26 11:25:59 Failed to scrape socket: malformed MIME header line: Primary script unknown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant