OpentelemetryAvalanche

CIhex.pm versionhex.pm licenseLast Updated

OpentelemetryAvalanche uses Elixir telemetry handlers to create OpenTelemetry spans from Avalanche (Snowflake) query events.

Currently it supports Avalanche query events: start, stop, exception.

Usage

Add :opentelemetry_avalanche to your dependencies:

def deps() do
  [
    {:avalanche, "~> 0.11.6"},
    {:opentelemetry_avalanche, "~> 0.1.0"}
  ]
end

Make sure you are using the latest version!

In your application start:

def start(_type, _args) do
  OpentelemetryAvalanche.setup()

  # ...
end

Documentation

Documentation is automatically published to hexdocs.pm on release. You may build the documentation locally with

MIX_ENV=docs mix docs

Contributing

Issues and PRs are welcome! See our organization CONTRIBUTING.md for more information about best-practices and passing CI.