google / nel-collector

Network Error Logging (NEL) collector
https://wicg.github.io/network-error-logging/
Apache License 2.0
38 stars 17 forks source link

Expose a logger in pipeline/How do you take action on ErrDropped #42

Open RugTumpington opened 4 years ago

RugTumpington commented 4 years ago

https://github.com/google/nel-collector/blob/6f38d97d2d5cce5625e4c139cdf3c5580fa8914e/pkg/collector/pipeline.go#L167

This issue is comprised of 2 points:

I'm the first to admit i'm not the most advanced golang user, so let me know if i'm missing some implimentation detail that obviates the issue. I plan to impliment this at relatively large scale and knowing when we start dropping reports is going to be very valuable to log to our elastic stack.

Thanks!