Comments (3)
That is probably because it was built on M1 macbook (darwin/arm64) with Docker preview. I am running 0.9.0 on linux/amd64 host with no problems. Can you post the build error you encountered ?
from pgbouncer_exporter.
Anyway try v0.9.2, that should fix that.
from pgbouncer_exporter.
@jbub thanks for handling that. I see that 0.9.1 and 0.9.2 are multi-arch.
The build error I first saw was standard_init_linux.go:185: exec user process caused "exec format error"
which is pretty ambiguous. After using a newer version of docker (20.10.2), I encountered this much more useful error:
---> 78154fb97768
Step 6/6 : RUN set -ex && echo http://dl-cdn.alpinelinux.org/alpine/v3.7/main > /etc/apk/repositories && echo http://dl-cdn.alpinelinux.org/alpine/v3.7/community >> /etc/apk/repositories && apk upgrade --no-cache libressl libressl-dev
---> [Warning] The requested image's platform (linux/arm64) does not match the detected host platform (linux/amd64) and no specific platform was requested
---> Running in 23e657c99462
standard_init_linux.go:219: exec user process caused: exec format error
The command '/bin/sh -c set -ex && echo http://dl-cdn.alpinelinux.org/alpine/v3.7/main > /etc/apk/repositories && echo http://dl-cdn.alpinelinux.org/alpine/v3.7/community >> /etc/apk/repositories && apk upgrade --no-cache libressl libressl-dev' returned a non-zero code: 1
I then added --platform linux/amd64
and received a similar error. Using 0.8.0 which had the right arch solved the issue.
Thanks again for the quick turnaround on that!
from pgbouncer_exporter.
Related Issues (16)
- pq username error HOT 4
- multiple pgbouncers HOT 4
- Base image is old enough that security cannot be reliably checked HOT 2
- pgbouncer_exporter doesn't work with latest PgBouncer 1.16.0 version HOT 3
- Drop lib/pq, use jackc/pgx
- run pgbouncer exporter as non root HOT 2
- Reset Pool Mode Counter HOT 2
- Merge with prometheus-community? HOT 3
- `pgbouncer_exporter` randomly crashes without any log message HOT 4
- Incompatible with pgbouncer version >= 1.18.0 HOT 3
- Drop total_requests, avg_req, avg_query from stats
- Export SHOW SERVERS
- Export SHOW CLIENTS
- Export SHOW USERS
- value out of range, please fix HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pgbouncer_exporter.