nel-collector

module
v0.0.0-...-6f38d97 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2019 License: Apache-2.0

README

Network Error Logging collector

This repository implements a collector for the Reporting and Network Error Logging (NEL) specifications. These specs allow site owners to instruct browsers and other user agents to collect and report on reliability information about the site. This gives you the same information as you'd get from your server logs, but collected from your clients. This client-side data set will include information about failed requests that never made it to your serving infrastructure.

This repository provides a full working implementation of the collector side of the specs. If you run this collector behind a publicly available URL, you can use that URL in NEL configuration headers for your web site or service. NEL-compliant user agents will send reports about requests to your domain to this collector. You can then route them to a metrics or logs collection service for further analysis.

Directories

Path Synopsis
cmd
nel-collector
nel-collector runs a NEL collector on port 8080, printing out a summary of each report that it receives.
nel-collector runs a NEL collector on port 8080, printing out a summary of each report that it receives.
pkg
collector
Package collector provides the basics of a NEL-compliant report collector.
Package collector provides the basics of a NEL-compliant report collector.
core
Package core defines several basic report processors.
Package core defines several basic report processors.
pipelinetest
Package pipelinetest contains helper utilities for constructing test cases that exercise the components of a NEL collector pipeline.
Package pipelinetest contains helper utilities for constructing test cases that exercise the components of a NEL collector pipeline.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL