Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
m4
 
 
 
 
 
 
 
 
GPL
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Riemoon

Build Status

This is a Riemann client library for the Lua programming language, built on top of riemann-c-client. For now, it's a work in progress library.

The library uses semantic versioning.

Installation

The library requires lua >= 5.1 (or LuaJIT), riemann-c-client >= 1.4.0, autotools and busted to build. It is recommended to install and use the library via LuaRocks:

$ luarocks install riemoon

Demo

A simple program that sends a static event to Riemann is included below. More examples can be found in the test suite.

riemoon = require ("riemoon")

client = riemoon.connect ()
client:send ({host = "localhost",
              service = "demo-client",
              state =" ok",
              tags = {"demo-client", "riemoon"},
              riemoon = "0.0.0"})

License

Copyright (C) 2015 Gergely Nagy algernon@madhouse-project.org, released under the terms of the GNU Lesser General Public License, version 3+.

You can’t perform that action at this time.