Changelog
List of aperture PRs merged since 0.12.0 release. For the full list of changes, see [list of changes][changes]
Add metrics for IP-to-services lookups (997)
Adds a `service_lookups_total` metric which tracks IP-to-services lookups (via
entity cache). To differentiate between successful and failed lookups,
status=OK/Error label can be used.
Resolves 882
Warn on unknown entity (take two) (991)
Start warning on failed IP to entity lookup, but only when service
discovery is actually enabled (when service discovery is disabled,
failure to do entity lookup is normal condition and glob-policies can
still work).
This required making service discovery registration "more formal".
Previously, service discovery simply wrote to Trackers, which made it
impossible to differentiate between discovery not-working vs being
disabled. This commit introduces EntityTrackers, which manages service
discoveries and hands out EventWriters.
Also:
* Extracted EventWriter interface from Trackers.
* Extracted shared "IP to services" logic to ServiceGetter.
* Fixed obtaining client IP from peer context for IPv6 (noticed
that on sidecar mode peer IP can be [::1]).
Alertmanager Exporter (966)
Hide postable alert object, add options to alert (977)
[changes]: https://github.com/fluxninja/aperture/compare/releases/aperture-controller/v0.12.0...releases/aperture-controller/v0.13.0