google / exposure-notifications-server

Exposure Notification Reference Server | Covid-19 Exposure Notifications
https://www.google.com/covid19/exposurenotifications/
Apache License 2.0
2.43k stars 311 forks source link

Update deps and replace removed log package #1539

Closed sethvargo closed 3 years ago

sethvargo commented 3 years ago

prometheus/log was removed. Switched to uber/zap and added metrics.

Release Note

Replace deprecated upstream logging package in azure blobstore implementation. Previously this used `prometheus/log` which was removed in the recent release. We've replaced this with `uber/zap`, but **there may be differences in how the log output appears!** To reduce the dependency on log output, we've also added two new metrics: `azure/refresh_failed` and `azure/refresh_expired` to track when the Azure credential expires in a log-agnostic way.