- Switch from erlang.mk to rebar3
- Update the
erlang_protobuffs
dependency to version 0.9.0 - Add hex.pm package
- Make Katja work under Erlang 19 (thanks @srijan)
- Handle network-related errors when trying to establish a TCP connection (thanks @ichernetsky)
- Improve pooling support
- Update the
erlang_protobuffs
dependency to version 0.8.2 - Handle
{error, nxdomain}
(thanks @ichernetsky) - Improved
CLOSE_WAIT
handling (thanks @ichernetsky)
- The
hostname
field of an entity can now default tonode()
(node_name
) or the name of VM (vm_name
), where VM name is defined asnode()
with a.
instead of an@
(thanks @dch) - A tag of
instance
(atom) will tag entities with "instance: XXX", where XXX refers to the first part of the name of the VM (thanks @dch) - Default tags will now be appended to any tags supplied on a per-call basis
- Decrease TCP
recv
timeout, so that it does not clash with thegen_server:call
timeout (thanks @puzza007) - Handle connection failures on start (thanks @puzza007)
- Respect the
transport
configuration option when connecting to Riemann (i.e. do not open a UDP socket for a TCP-only setting)
- Handle some common socket errors (thanks @puzza007)
- Change the restart strategy of the supervisor from
one_for_one
toone_for_all
- Add
katja:send_event_async/4
,katja:send_events_async/4
,katja:send_state_async/4
,katja:send_states_async/4
andkatja:send_entities_async/4
with aSampleRate
parameter, allowing you to easily sample metrics
- Switch from Rebar to erlang.mk
- Add
katja:send_event_async/{1,2,3}
,katja:send_events_async/{1,2,3}
,katja:send_state_async/{1,2,3}
,katja:send_states_async/{1,2,3}
andkatja:send_entities_async/{1,2,3}
to asynchronously send data to Riemann - Add
katja:query_async/{1,2}
andkatja:query_event_async/{1,2}
to query Riemann asynchronously - Add
katja:stop/0
to stop the Katja application and all of its dependencies - Fixed a potential infinite loop when sending invalid data via TCP
- Rename
katja_metrics
tokatja_writer
andkatja_queries
tokatja_reader
katja:send_event/3
,katja:send_events/3
,katja:send_state/3
,katja:send_states/3
andkatja:send_entities/3
can be used to force a transport (supported:detect
,udp
,tcp
)- A default message transport (affecting only entities that are sent to Riemann) can be set using the
transport
configuration option - Add
katja:start/0
to start the Katja application and all of its dependencies
- Fix spelling mistake in
katja.app.src
- Make
protobuffs
a runtime dependency (thanks @robashton)
- The
time
field (of events and states) now defaults to the local system time - "Forcing" Riemann to set the
time
field can be done by setting it toriemann
- A default
host
, defaulttags
andttl
can be set using the newdefaults
configuration option
- Pooling support (Issue #1)
- Support for querying Riemann based on a
katja:event()
- Fixed getting default
host
andport
values
- Initial release