Comments (4)
Huh. I used @peterbourgon s release.fish
script for the binaries.
Looking closer, it doesn't look like the release.fish
produced binaries are intended to be statically linked as there is not a reference to CGO_ENABLED=0
in the build command.
I would suggest not relying on the release binaries to be statically linked. @peterbourgon thoughts?
With regards to your Dockerfile construction, I would suggest using mrnetops/fastly-exporter from docker hub or the repository Dockerfile, which explicitly build a statically linked version for the container.
Otherwise, you are attempting to rely on release build side effects.
those images are also smaller as well ;)
docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
ljagiello/fastly-exporter latest 96839a74ade7 17 seconds ago 16MB
mrnetops/fastly-exporter latest 41a65eb58cdf 2 hours ago 11.3MB
alpine 3.8 196d12cf6ab1 2 months ago 4.41MB
Please let me know if I'm missing a nuance of your usecase / docker build.
from fastly-exporter.
Oh sure I can hack that around, it's just a different behavior between versions.
from fastly-exporter.
PR: #23
from fastly-exporter.
Release updated with new release.fish binaries.
I will however still suggest you not rely on wget of release binaries to do the right thing for your containers.
from fastly-exporter.
Related Issues (20)
- Cannot pull new Docker image HOT 3
- Support HTTP3 metrics
- Better logging for rt.fastly.com (Client.Timeout exceeded while awaiting headers) HOT 2
- remove tls_version="any" from fastly_rt_tls_total HOT 3
- metric consolidation for http2/http3
- Race condition between processing and scraping
- carnality explosion with fastly_rt_datacenter_info HOT 3
- Consider adding a way to (optionally) track tokens HOT 2
- Reduce output size of metrics endpoint HOT 2
- Expose fastly rt api 'recorded' timestamp in prometheus metrics HOT 3
- Add all those wild new Compute@Edge metrics
- Missing Docker images HOT 9
- RT API meta-metric HOT 3
- Metric Timestamps HOT 15
- Add datcenters API enricment HOT 2
- Add partial docker tags HOT 4
- iterating http_sd support towards generic discovery HOT 21
- Continue starting up if fastly is down HOT 1
- Exporter should set it's own custom user-agent HOT 5
- Pagination is not working properly (not fetching every pages) HOT 5
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 fastly-exporter.