Skip to content

v0.3.0

Choose a tag to compare

@mnaser mnaser released this 01 Dec 15:56
c8f44b1

Add Designate support for openstack_database_exporter, and a way to open a pool while the database is unreachable.

  • New designate/db package with ZoneGetAll, RecordsetCountByZone and RecordsetGetAllWithStatus. Zone and recordset IDs come back as dashed UUIDs, recordset status matches what the Designate API reports, and soft-deleted zones are excluded. This is what the exporter needs to publish the upstream openstack_designate_* metrics (ENG-423).
  • New Open, which sets up a pool without the startup ping, so a caller that starts during a database outage still gets a pool that recovers once the database is back (vexxhost/openstack_database_exporter#150).

Validated with unit/race tests, SQL generation checks, MariaDB integration tests, and exporter compatibility tests.

Changes: #9, #6