rehanvdm / serverless-website-analytics

A CDK construct that consists of a serverless backend, frontend and client side code to track website analytics
GNU General Public License v2.0
166 stars 13 forks source link

Expose the Firehose buffering time #6

Closed rehanvdm closed 1 year ago

rehanvdm commented 1 year ago

By exposing the buffering time we enable the user to decide, the lower the value the more it will cost for high-volume sites. This is because firehose will write to S3 more frequently.

It is currently set at 1min and then the data shows up on the dashboard ±1min after that, so 2mins total until you see your page view.

I think the maximum is 15 mins buffering.

rehanvdm commented 1 year ago

Also setting the default from 1 min to 15 minutes by default.