errorcore
Transport

HTTP

HTTP transport is the usual production path. It works well when the collector is reachable and you need incidents to arrive off-process quickly.

transport.http
errorcore.init({
  transport: {
    type: "http",
    url: "https://collector.internal/incidents",
  },
});

Pair HTTP transport with dead-letter storage if incident loss is unacceptable during temporary collector or network failures.

On this page