Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mcrumm/kino_telemetry

Render telemetry metrics as charts in Livebook
https://github.com/mcrumm/kino_telemetry

elixir elixir-phoenix livebook metrics telemetry

Last synced: 27 days ago
JSON representation

Render telemetry metrics as charts in Livebook

Awesome Lists containing this project

README

        

# KinoTelemetry

Renders [Telemetry.Metrics](https://github.com/beam-telemetry/telemetry_metrics) definitions in [Livebook](https://livebook.dev).

Screen Shot of Telemetry Metrics in Livebook

## Usage

```elixir
Mix.install([
{:kino_telemetry, github: "mcrumm/kino_telemetry"},
{:telemetry_poller, "~> 1.0"}
])

{:ok, _} = :telemetry_poller.start_link(measurements: [], period: 5_000)

Telemetry.Metrics.last_value("vm.memory.binary", unit: :byte)
|> KinoTelemetry.Metric.new()
```

## Installation

If [available in Hex](https://hex.pm/docs/publish), the package can be installed
by adding `kino_telemetry` to your list of dependencies in `mix.exs`:

```elixir
def deps do
[
{:kino_telemetry, "~> 0.1.0"}
]
end
```

Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)
and published on [HexDocs](https://hexdocs.pm). Once published, the docs can
be found at .