This repository has been archived by the owner on Sep 20, 2022. It is now read-only.
Release - v0.20.38
This release encompasses somewhat of a re-write for how we handled data. In summary, the previous exporter was split into vertical functional stacks around the endpoint (hosts,services,stacks). This meant that we needed to re-write it so that code traverses a central set of functions. This proved a blocker for some of the new functionality.
This is also the first version to use the new version format courtesy of https://github.com/a-h/ver/ .
Important
rancherURL
removed as a label, we don't support multiple rancher servers at this stage and it makes the output hard to parse. Ultimately the aim here longer term is to return the 'environment', this requires an upstream change to the API though.
New Features
stack_name
field now included for all service metrics- Added ability to control log level, standardised logging on logrus across the exporter.
- Marginally faster to execute, less code to manage, easier to change etc.
Fixes
- Resolved issue with the health_state not returning a label match for an
unhealthy
state, inline with how it's processed in the other state metrics.