Hercules v0.1.0 Hercules View Source

Hercules is a Prometheus client for Elixir focused on ease of use.

Link to this section Summary

Functions

Registers given Prometheus metric. You need to do this first before you can record events for this metric name.

Link to this section Types

Link to this section Functions

Link to this function

new!(metric)

View Source
new!(metric()) :: :ok

Registers given Prometheus metric. You need to do this first before you can record events for this metric name.

You want to call this as early as possible, before your application starts.