This is the first tagged stable release for ContainerSSH 0.4.0.
This release adds a log message at startup.
This release adds better validation for the metrics server.
This release fixes a regression where the default listen
value would be 0.0.0.0:8080
instead of 0.0.0.0:9100
.
This release adds a WithLabel
method to create metrics primed with certain labels. This can be used when passing labels between modules.
This release adds methods starting with Must
that panic instead of throwing an error.
Each of the metric methods now allow adding extra labels:
testCounter.Increment(
net.ParseIP("127.0.0.1"),
metrics.Label("foo", "bar"),
metrics.Label("somelabel","somevalue")
)
The following rules apply and will cause a panic
if violated:
- Label names and values cannot be empty.
- The
country
label name is reserved for GeoIP usage.
In the previous version the JSON and YAML configuration marshalling / unmarshalling created an unnecessary sub-map, which was incompatible to ContainerSSH 0.3. This release fixes that and restores compatibility.
This release updates the GeoIP dependency to version 0.9.3 for a cleaner API.
This is the initial port from ContainerSSH 0.3