Skip to content

Latest commit

 

History

History
27 lines (24 loc) · 924 Bytes

README.md

File metadata and controls

27 lines (24 loc) · 924 Bytes

Warden.Integrations.Seq

Seq integration for Warden

For information on how to setup your Warden please refer to the Warden documentation

Installation:

Available as a NuGet package.

Install-Package Warden.Integrations.Seq

Configuration:

The integration will push an event for each result in an iteration. The levels are Debug for valid checks and Error for invalid checks (this will be configurable in the future).

var wardenConfiguration = WardenConfiguration
  .Create();
  .IntegrateWithSeq("http://seq.example.com", "APIKEY")
  .SetHooks((hooks, integrations) =>
  {
      hooks.OnIterationCompletedAsync(
          iteration => integrations.Seq().PostIterationToSeqAsync(iteration));
      hooks.OnCompletedAsync(check => integrations.Seq().PostCheckToSeqAsync(check));
  })
  .Build();