At https://github.com/TensorWrench/lager_extras there are a st of packages that allow Lager to send messages, including enriched metadata, to Graylog2. Documentation is on the GitHub page.
Currently it requires the TensorWrench fork of Lager, but I’m working on some issues to get it included in the main branch. The fork adds quite a bit of capability for creating new formats and backends.
Building an Erlang project in Jenkins does have a few gotchas. Here’s the setup I use for several projects.
Continue reading »
Protoc-gen-erlang is a plugin for Google’s protoc to generate Protocol Buffers implementations in Erlang. It has a number of advantages:
- It uses the protoc parser, meaning that it will parse and accept or reject .proto files exactly as the “spec” defines them.
- Supports enums, nested messages, and default values.
- Generates Triq tests and domains for messages.
So even for a small project, I’m enough of a dork that I have to Do Things Right ™. A spreadsheet isn’t quite cutting it for my todo list, there are too many ways to slice it, and I need better feedback. So I’ve got Jenkins, Jira, and a deployment chain set up.
The deployment chain is pretty critical in my mind. I’m a big believer in always having something deployable and showable. The fact that I can commit, build, test, and have the systems merely virtual machine boot away from being deployed is pretty important, in my book. Not sexy, but very useful.
Also, I spent a week in Vegas at The ServerSide Java Symposium. Recommend The Haufbrauhaus for a good time. An unnamed number of liters of beer seems to have cured my seasonal allergies for a couple days after going there.