Releases: promhippie/prometheus-scw-sd
v1.3.0
Changelog for 1.3.0
The following sections list the changes for 1.3.0.
Summary
Details
-
Change #212: Read secrets form files
We have added proper support to load secrets like tokens from files or from base64-encoded
strings. Just provide the flags or environment variables with a DSN formatted string like
file://path/to/file
orbase64://Zm9vYmFy
. -
Enhancement #212: Update all releated dependencies
We've updated all dependencies to the latest available versions, including more current
versions of build tools and used Go version to build the binaries.
v1.2.0
Changelog for 1.2.0
The following sections list the changes for 1.2.0.
Summary
- Fix #106: Resolve typo within environment variables
- Enh #118: Improve doucmentation and repo structure
Details
-
Bugfix #106: Resolve typo within environment variables
We fixed a typo within the environment naming which had been simply wrong before. Beside that we
also solved a typo within the documentation within the docker-compose examples. -
Enhancement #118: Improve doucmentation and repo structure
We have improved the available documentation pretty hard and we also added documentation how
to install this service discovery via Helm or Kustomize on Kubernetes. Beside that we are
testing to build the bundled Kustomize manifests now.
v1.1.0
Changelog for 1.1.0
The following sections list the changes for 1.1.0.
Summary
- Chg #15: Use bingo for development tooling
- Chg #16: Update Go version and dependencies
- Chg #29: Improvements for automated documentation
- Chg #17: Drop dariwn/386 release builds
- Chg #30: Integrate new HTTP service discovery handler
- Chg #31: Integrate standard web config
Details
-
Change #15: Use bingo for development tooling
We switched to use bingo for fetching development and build
tools based on fixed defined versions to reduce the dependencies listed within the regular
go.mod file within this project. -
Change #16: Update Go version and dependencies
We updated the Go version used to build the binaries within the CI system and beside that in the
same step we have updated all dependencies ti keep everything up to date. -
Change #29: Improvements for automated documentation
We have added some simple scripts that gets executed by Drone to keep moving documentation
parts like the available labels or the available environment variables always up to date. No
need to update the docs related to that manually anymore. -
Change #17: Drop dariwn/386 release builds
We dropped the build of 386 builds on Darwin as this architecture is not supported by current Go
versions anymore. -
Change #30: Integrate new HTTP service discovery handler
We integrated the new HTTP service discovery which have been introduced by Prometheus
starting with version 2.28. With this new service discovery you can deploy this service
whereever you want and you are not tied to the Prometheus filesystem anymore. -
Change #31: Integrate standard web config
We integrated the new web config from the Prometheus toolkit which provides a configuration
for TLS support and also some basic builtin authentication. For the detailed configuration
you check out the documentation.
v1.0.1
Changelog for 1.0.1
The following sections list the changes for 1.0.1.
Summary
- Fix #12: Binaries are not static linked
Details
-
Bugfix #12: Binaries are not static linked
We fixed building properly static linked binaries, since the last release and a major
refactoring of the binaries and the CI pipeline we introduced binaries which had been linked to
muslc by mistake. With this change applied all binaries will be properly static linked again.
v1.0.0
Changelog for 1.0.0
The following sections list the changes for 1.0.0.
Summary
Details
-
Change #11: Upgrade Scaleway SDK
As Scaleway has dropped the previously used Go library we are forced to update to the new SDK.
With this change we are forced to update the required attributes which results in a breaking
change. The new Scaleway API requires an access and secret key instead of a single access token.
Beside that the region flag had to be dropped in favor of a zone flag. -
Change #11: Code and project restructuring
To get the project and code structure into a new shape and to get it cleaned up we switched to Go
modules and restructured the project source in general.
v0.3.0
Changelog for 0.3.0
The following sections list the changes for 0.3.0.
Summary
- Chg #9: Define healthcheck command
- Chg #6: Support for multiple accounts
- Chg #6: Drop region requirement
- Chg #5: Add support for server tags
- Chg #4: Switch to cloud.drone.io
Details
-
Change #9: Define healthcheck command
To check the health status of the service discovery especially within Docker we added a simple
subcommand which checks the healthz endpoint to show if the service is up and running. -
Change #6: Support for multiple accounts
Make the deployments of this service discovery easier, previously we had to launch one
instance for every credentials we wanted to gather, with this change we are able to define
multiple credentials for a single instance of the service discovery. -
Change #6: Drop region requirement
As the API doesn't enforce the requirement for the selected region we can safely remove this
hard requirement. -
Change #5: Add support for server tags
Since Scaleway supports tags for servers we should also map these labels to the exported JSON
file. -
Change #4: Switch to cloud.drone.io
We don't wanted to maintain our own Drone infrastructure anymore, since there is
cloud.drone.io available for free we switched the pipelines over to it.
v0.2.0
Changelog for 0.2.0
The following sections list the changes for 0.2.0.
Summary
- Chg #1: Add basic documentation
- Chg #2: Pin xgo to golang 1.10 to avoid issues
- Chg #3: Update dependencies
- Chg #3: Labels for DNS names
- Chg #3: Timeout for metrics handler
- Chg #3: Panic recover within handlers
Details
-
Change #1: Add basic documentation
Add some basic documentation page which also includes build and installation instructions to
make clear how this project can be installed and used. -
Change #2: Pin xgo to golang 1.10 to avoid issues
There had been issues while using the latest xgo version, let's pin this tag to 1.10 to ensure the
binaries are properly build. -
Change #3: Update dependencies
Just make sure to update all the build dependencies to work with the latest versions available.
-
Change #3: Labels for DNS names
To filter or use the public and private DNS names we added separate labels for both values.
-
Change #3: Timeout for metrics handler
We added an additional middleware to properly timeout requests to the metrics endpoint for
long running request. -
Change #3: Panic recover within handlers
To make sure panics are properly handled we added a middleware to recover properly from panics.