{"repo":"beam-telemetry/telemetry_poller","free":true,"listed":false,"github":"https://github.com/beam-telemetry/telemetry_poller","clone":"git clone https://github.com/beam-telemetry/telemetry_poller.git","description":"Periodically gather measurements and publish them as Telemetry events","language":"Erlang","stars":126,"topics":["elixir","metrics","instrumentation","events"],"license":"Apache-2.0","category":"analytics","readme_excerpt":"telemetry poller Allows to periodically collect measurements and dispatch them as Telemetry events. telemetry poller by default runs a poller to perform VM measurements: [vm, memory] - contains the total memory, process memory, and all other keys in erlang:memory/0 [vm, total run queue lengths] - returns the run queue lengths for CPU and IO schedulers. It contains the total , cpu and io measurements [vm, system counts] - returns the current process, atom and port count as well as their respective limits as per erlang:system info/1 [vm, persistent term] - number of terms and memory byte size for persistent term You can directly consume those events after adding telemetry poller as a dependency. Poller also provides a convenient API for running custom pollers. Defining custom measurements Poller also includes conveniences for performing process-based measurements as well as custom ones. Erlang First define the poller with the custom measurements. The first measurement is the built-in process info measurement and the second one is given by a custom module-function-args defined by you: Now define the custom measurement and you are good to go: Elixir You typically start the poller as a child in your supervision tree: The poller above has two periodic measurements. The first is the built-in process info measurement that will gather the memory and message queue length of a process. The second is given by a custom module-function-args defined by you, such as below: Documentation See ","default_branch":null,"files":null,"tree":[],"storefront":"/r/beam-telemetry","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/beam-telemetry/telemetry_poller/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}