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: about 1 year ago
JSON representation
Render telemetry metrics as charts in Livebook
- Host: GitHub
- URL: https://github.com/mcrumm/kino_telemetry
- Owner: mcrumm
- License: mit
- Created: 2022-10-28T22:50:10.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-09T23:37:48.000Z (over 3 years ago)
- Last Synced: 2025-03-23T20:21:46.726Z (about 1 year ago)
- Topics: elixir, elixir-phoenix, livebook, metrics, telemetry
- Language: Elixir
- Homepage:
- Size: 43.9 KB
- Stars: 20
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
# KinoTelemetry
Renders [Telemetry.Metrics](https://github.com/beam-telemetry/telemetry_metrics) definitions in [Livebook](https://livebook.dev).

## 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 .