Module otter_snapshot_count

This module implements a simple way of giving operational visibility to events/spans in the system.

Description

This module implements a simple way of giving operational visibility to events/spans in the system. It expects a Key and Data where the Key is used to increment a counter in a table and also to store the last received Data for that Key. The Data is preferred to be a list of 2 element {K,V} tuples, if it is any other format, it uses [{data, Data}] to store the last information.

Function Index

delete_all_counters/0
delete_counter/1
get_snap/1
list_counts/0
snapshot/2
sup_init/0

Function Details

delete_all_counters/0

delete_all_counters() -> any()

delete_counter/1

delete_counter(Key) -> any()

get_snap/1

get_snap(Key) -> any()

list_counts/0

list_counts() -> any()

snapshot/2

snapshot(Key, Data) -> any()

sup_init/0

sup_init() -> any()


Generated by EDoc, Apr 14 2017, 04:39:45.