hs-opentelemetry-instrumentation-tasty

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

Warnings:

Please see the README on GitHub at https://github.com/iand675/hs-opentelemetry/tree/main/instrumentation/tasty#readme


[Skip to Readme]

Properties

Versions 0.1, 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-24T19:19:38Z

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


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.