Observability & Audit
Enable Prometheus metrics and audit trail:
js
const db = await AingDB.open({
path: './app.adb',
encryption: { enabled: false, algorithm: 'aes-256-gcm', kdf: 'scrypt' },
audit: { enabled: true, file: './app.audit.log' },
observability: { prometheus: { enabled: true, port: 9100 } }
})