Skip to content

Telemetry handler that creates OpenTelemetry spans from Avalanche (Snowflake) query events.

License

Notifications You must be signed in to change notification settings

HGInsights/opentelemetry_avalanche

Repository files navigation

OpentelemetryAvalanche

CI hex.pm version hex.pm license Last 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.

About

Telemetry handler that creates OpenTelemetry spans from Avalanche (Snowflake) query events.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published