Personal tools
Skip to content. | Skip to navigation
Examples for some Erlang modules.
The Exometer Core package allows for easy and efficient instrumentation of Erlang code, allowing crucial data on system performance to be exported to a wide variety of monitoring systems. Exometer Core comes with a set of predefined monitor components, and can be expanded with custom components to handle new types of Metrics, as well as integration with additional external systems such as databases, load balancers, etc.
EZDoc is a simplistic documentation format and associated parser for Erlang. EZDoc is meant to be a very simple syntax for writing documentation. It lets the developer focus on actually writing rather than dealing with syntax elements. The syntax is very small and easy to remember, including the syntax for tables. EZDoc's parser returns an AST that can then be manipulated to generate outputs in many different formats. EZDoc makes no assumption about the semantics of the document, instead, you can decide when processing the AST that one element means one thing or another. Because it is so easy to convert to another format, it makes perfect sense to start writing using EZDoc and then convert to a more complex format when more formatting options are needed.
A native zlib driver for Erlang / Elixir, used by ejabberd.
TLS / SSL native driver for Erlang / Elixir. This is used by ejabberd.
Fast Expat based Erlang XML parsing and manipulation library, with a strong focus on XML stream parsing from network. It supports full XML structure parsing, suitable for small but complete XML chunks, and XML stream parsing suitable for large XML document, or infinite network XML stream like XMPP. This module can parse files much faster than built-in module xmerl. Depending on file complexity and size xml_stream:parse_element/1 can be 8-18 times faster than calling xmerl_scan:string/2.
P1 YAML is an Erlang wrapper for libyaml "C" library.
Folsom is an Erlang based metrics system inspired by Coda Hale's metrics. The metrics API's purpose is to collect realtime metrics from your Erlang applications and publish them via Erlang APIs and output plugins. Folsom is not a persistent store. There are 6 types of metrics: counters, gauges, histograms and timers, histories, meter_readers and meters. Metrics can be created, read and updated via the folsom_metrics module.