sysulq / nginx-vts-exporter

Simple server that scrapes Nginx vts stats and exports them via HTTP for Prometheus consumption
https://sysulq.github.io/nginx-vts-exporter/
MIT License
645 stars 142 forks source link

Automated Docker Hub Build #8

Closed galexrt closed 7 years ago

galexrt commented 7 years ago

Is there an automated Docker Hub build available? If not would it be possible to set one up. I only saw this one https://hub.docker.com/r/albertdixon/nginx-vts-exporter/. But this doesn't seem to be an automated built image. It would be awesome to have an automated build of this image.


One way would be to use a golang image and built it in it.

sysulq commented 7 years ago

Thanks for the advise, I would consider it 😄

sysulq commented 7 years ago

@galexrt I have already set up an automated Docker Hub build, have fun :-) https://hub.docker.com/r/sophos/nginx-vts-exporter/

galexrt commented 7 years ago

@hnlq715 Thank you! :+1: I'm going to submit an PR to update the README.md to point to the Docker Hub build.

galexrt commented 7 years ago

One thing I just noticed is that the tags of the repo aren't built. Could you please also add a wildcard regex for building tags to the Docker Hub build settings?

sysulq commented 7 years ago

Sure, but old versions of nginx-vts-exporter are quite different with v0.3 in many ways.

galexrt commented 7 years ago

Could you manually add the v0.3 as a tag on Docker Hub build settings and trigger a build that the image tag becomes available to use (currently only latest/master tag has been built).