Network Error Logging infrastructure
This repo is an addon to our blog article.
Here is an example of how to deploy network error logging (NEL) infrastructure into k8s. There are few steps to perform a deployment:
- Install required tools such as kubectl, helm, helmfile
- Get access to k8s with internet access, support of load balancers and storage
- Adjust helmfile environment variables, such as
stageDomain
in helmfile.yaml - Install all the components via
helmfile sync
- Configure NEL on your server/API/endpoint via additional http headers
- Wait for some time, you should get some errors into ElasticSearch
- Optionally use Grafana with Elasticsearch as a datasource and example dashboard
Here are some useful links regarding NEL: