google / nel-collector Goto Github PK
View Code? Open in Web Editor NEWNetwork Error Logging (NEL) collector
Home Page: https://wicg.github.io/network-error-logging/
License: Apache License 2.0
Network Error Logging (NEL) collector
Home Page: https://wicg.github.io/network-error-logging/
License: Apache License 2.0
Summary of changes:
snake_case
instead of kebab-case
for field names (w3c/reporting#72, w3c/network-error-logging#75)user_agent
field (w3c/reporting#52)method
field (w3c/network-error-logging#73)uri
field from report body (w3c/network-error-logging#90)nel-collector/pkg/collector/pipeline.go
Line 167 in 6f38d97
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!
We want to be able to update the currently running pipeline at runtime, in response to a new configuration being pushed to an active NEL collector process.
To do that we need a new implementation of http.Handler
that:
We have a nice pipeline abstraction for defining at runtime how to process all of the NEL reports that are uploaded to the collector. Right now, you have to manually instantiate the particular processors you want to use via Go code. We want this to be configurable via a config file, so that we can have a single binary that works regardless of how you want to process and publish the reports.
Do you have any official list of supported browsers today ?
Per w3c/reporting#41, report uploads are now subject to CORS. This has two ramifications:
We need to update the collector to reply to CORS requests, otherwise we'll never receive any reports from browsers!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.