hs-opentelemetry-instrumentation-tasty

[ bsd3, library, 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
Change log ChangeLog.md
Dependencies base (>=4.7 && <5), hs-opentelemetry-api (>=0.2 && <0.3), 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
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
Uploaded by michaelpj at 2024-11-24T20:29:49Z
Distributions
Downloads 17 total (17 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2024-11-24 [all 1 reports]

Readme for hs-opentelemetry-instrumentation-tasty-0.1

[back to package description]

hs-opentelemetry-instrumentation-tasty

OpenTelemetry instrumentation library for Tasty. It creates spans for:

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

The library should be robust to tests running in parallel.

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.