Skip to content
No description or website provided.
C#
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.config
assets
ci/templates
src/Honeycomb.Serilog.Sink
test/Honeycomb.Serilog.Sink.Tests
.editorconfig
.gitattributes
.gitignore
CODE_OF_CONDUCT.md
HoneycombSerilogSink.sln
LICENSE.TXT
README.md
azure-pipelines.yml
global.json
release-pipeline.yml

README.md

Honeycomb Serilog sink

Build Status Nuget Azure DevOps coverage

[BuildHistory]

This project aims to provide a Serilog sink to push structured log events to the Honeycomb platform for observability and monitoring purposes.

By hooking up to serilog my objective is to allow all existing applications which already produce structured events for logging to easily include Honeycomb as part of their pipeline.

Setup

To start using this sink simply download the package from Nuget and add it to your Serilog configuration as another sink in the pipeline.

Download the package

> dotnet add package Honeycomb.Serilog.Sink
using Honeycomb.Serilog.Sink;

[...]

string teamId = "The Id of your team as defined in Honeycomb";
string apiKey = "The api key given to you in Honeycomb";

var logger = new LoggerConfiguration()
                    .WriteTo
                    [...]
                    .HoneycombSink(teamId, apiKey)
                    [...]
                    .CreateLogger();
You can’t perform that action at this time.