Skip to content

mcrumm/kino_telemetry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KinoTelemetry

Renders Telemetry.Metrics definitions in Livebook.

Screen Shot of Telemetry Metrics in Livebook

Usage

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, the package can be installed by adding kino_telemetry to your list of dependencies in mix.exs:

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

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/kino_telemetry.

Releases

No releases published

Sponsor this project

 

Languages