hs-opentelemetry-instrumentation-tasty

OpenTelemetry instrumentation for the Tasty test framework

https://github.com/iand675/hs-opentelemetry#readme

Stackage Nightly 2026-07-30:1.0.0.0
Latest on Hackage:1.0.0.0

See all snapshots hs-opentelemetry-instrumentation-tasty appears in

BSD-3-Clause licensed by Michael Peyton Jones
Maintained by [email protected]
This version can be pinned in stack with:hs-opentelemetry-instrumentation-tasty-1.0.0.0@sha256:f9dbd80fdcf17f7bb00a6afc400f303b7998971cdd61e7efbca9046ee7477140,1642

Module documentation for 1.0.0.0

hs-opentelemetry-instrumentation-tasty

hs-opentelemetry-instrumentation-tasty

OpenTelemetry instrumentation for the Tasty test framework; it creates the following spans inside the instrumented TestTree:

  1. Individual test cases
  2. Test groups
  3. Resource setup and teardown

As Tasty executes all tests in parallel, this instrumentation should be robust in the presence of parallel execution.

Usage

Usage requires:

  1. Setting and tearing down a trace provider as normal in your test executable.
  2. Calling instrumentTestTree on your TestTree.

See the test suite for examples of how to use the library.

Changes

Changelog for hs-opentelemetry-instrumentation-tasty

Unreleased

1.0.0.0 - 2026-05-29

  • Update to hs-opentelemetry-api 0.4.
  • Internal: result.description attribute key is now a typed AttributeKey constant. Attribute name is unchanged.

0.1.0.1

  • Relax hs-opentelemetry-api bounds to support 0.3.x

0.1.0.0

  • Initial release