Honeycomb's Open Source Connectors
By Ben Hartshorne | Last modified on January 11, 2019We’re happy to announce 3 open sourced components to help you get your data into Honeycomb - 2 libraries and a log tailing utility.
We have two libraries available to make it easy to send events to Honeycomb directly from within your application: go and python. For details of how our libraries integrate with your code, you can read our docs on SDKs.
// call Init before using libhoney
libhoney.Init(libhoney.Config{
WriteKey: "abcabc123123defdef456456",
Dataset: "Example Service",
})
defer libhoney.Close()
// create an event, add fields
ev := libhoney.NewEvent()
ev.AddField("duration_ms", 153.12)
ev.AddField("method", "get")
// send the event
ev.Send()
Honeytail is a small utility that will tail your log files and submit events to Honeycomb. A compiled linux binary is also available for download. Honeytail has parsers built in for nginx, mysql, and mongo logs, as well as one to parse JSON logs. Please let us know if you’d like other parsers for Honeytail!
We happily consider contributions to all of our open source repos! Please open a Github issue or pull request.
Related Posts
Safer Client-Side Instrumentation with Honeycomb's Ingest-Only API Keys
We're delighted to introduce our new Ingest API Keys, a significant step toward enabling all Honeycomb customers to manage their observability complexity simply, efficiently, and...
Now Available: Honeycomb Launches Data Residency in Europe
At Honeycomb, we are very concerned about privacy and data sovereignty—it’s something we take very seriously, and in an effort to serve our customers better,...
Introducing Honeycomb’s Microsoft Teams Integration for Enhanced Alert Management
Today marks an exciting milestone at Honeycomb, and we're thrilled to share it with you. We officially launched our integration with Microsoft Teams, a step...