hs-opentelemetry-instrumentation-tasty: OpenTelemetry instrumentation for the Tasty test framework

[ bsd3, library, opentelemetry, testing, unclassified ] [ Propose Tags ] [ Report a vulnerability ]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1, 1.0.0.0
Change log ChangeLog.md
Dependencies base (>=4.7 && <5), hs-opentelemetry-api (>=1.0 && <1.1), hs-opentelemetry-semantic-conventions (>=1.40 && <2), tagged (>=0.8 && <0.9), tasty (>=1.5 && <1.6), text [details]
License BSD-3-Clause
Copyright 2024 Ian Duncan, Mercury Technologies
Author Michael Peyton Jones
Maintainer me@michaelpj.com
Uploaded by IanDuncan at 2026-05-29T14:41:36Z
Category OpenTelemetry, Testing
Home page https://github.com/iand675/hs-opentelemetry#readme
Bug tracker https://github.com/iand675/hs-opentelemetry/issues
Source repo head: git clone https://github.com/iand675/hs-opentelemetry
Distributions
Downloads 73 total (4 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for hs-opentelemetry-instrumentation-tasty-1.0.0.0

[back to package description]

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.