google / exposure-notifications-server

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

Allow more time to export, increase workers #1513

Closed sethvargo closed 3 years ago

sethvargo commented 3 years ago

According to the docs, the minimum number of workers needs to be 1, and I looked in the stackdriver exporter code and do not see a default value set. I'm hoping that by bumping the timeout and increasing the number of workers, we can reduce the number of "failed to export metric" errors in logs.

All numbers were chosen arbitrarily and are up for debate.

Release Note

Increase statistics export timeout to 15s and set minimum number of workers.