A simple Riemann driver for C#
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Properties
RiemannClientTests
buildpackage
packages
.gitignore
App.config
Client.cs
Event.cs
IClient.cs
LICENSE
README.md
Riemann.csproj
Riemann.pb.cs
Riemann.proto
Riemann.sln
TickEvent.cs
packages.config

README.md

Riemann C# driver

This driver provides a thin layer of abstraction on top of the protobuf layer. The two main methods are:

 SendEvent(string service, string state, string description, float metric, int ttl = 0)

Sends a single event to Riemann

 Tick(int tickTimeInSeconds, string service, Func<TickEvent> onTick)

Registers a timer that will send the value returned by onTick at tickTimeInSeconds seconds. Returns an IDisposable which can be used to remove the timer.