Skip to content

A drop in Ash.Tracer implementation for Appsignal.

License

Notifications You must be signed in to change notification settings

appsignal/ash_appsignal

 
 

Repository files navigation

AshAppsignal

A drop in Ash.Tracer implementation for Appsignal. Follow the appsignal setup before setting this up.

Setup

Add the dependency to your application

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

Add this to your config:

# config supports a list, so this can be combined with other tracers
config :ash, :tracer, [AshAppsignal]

# we suggest using this list. It trims down some noisy traces that Ash emits
config :ash_appsignal,
  trace_types: [
    :custom,
    :action,
    :changeset,
    :validation,
    :change,
    :before_transaction,
    :before_action,
    :after_transaction,
    :after_action,
    :custom_flow_step,
    :flow,
    :query,
    :preparation
  ]

Thats it! Additional traces & spans from Ash will be displayed in appsignal.

About

A drop in Ash.Tracer implementation for Appsignal.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Elixir 100.0%