Skip to content

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

License

Notifications You must be signed in to change notification settings

HGInsights/opentelemetry_snowpack

Repository files navigation

OpentelemetrySnowpack

CI hex.pm version hex.pm license Last Updated

OpentelemetrySnowpack uses Elixir telemetry handlers to create OpenTelemetry spans from Snowpack (Snowflake driver) query events.

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

Usage

Add :opentelemetry_snowpack to your dependencies:

def deps() do
  [
    {:snowpack, "~> 0.6.0"},
    {:opentelemetry_snowpack, "~> 0.1.0"}
  ]
end

Make sure you are using the latest version!

In your application start:

def start(_type, _args) do
  OpentelemetrySnowpack.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 Snowpack (Snowflake) query events.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published