Skip to content

Commit

Permalink
Version Packages (#3712)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Oct 1, 2024
1 parent 534abce commit 9131e6d
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 20 deletions.
19 changes: 0 additions & 19 deletions .changeset/gorgeous-llamas-invent.md

This file was deleted.

20 changes: 20 additions & 0 deletions packages/opentelemetry/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# @effect/opentelemetry

## 0.37.5

### Patch Changes

- [#3705](https://github.com/Effect-TS/effect/pull/3705) [`534abce`](https://github.com/Effect-TS/effect/commit/534abce3c9455ee2612f51d2d1449b4e0510fbe4) Thanks @Schniz! - add withActiveSpan function to attach Effect to current Span

This function allows you to connect the Effect spans into a parent span
that was created outside of Effect, using the OpenTelemetry context propagation:

```ts
Effect.gen(function* () {
yield* Effect.sleep("100 millis").pipe(Effect.withSpan("sleep"))
yield* Console.log("done")
}).pipe(
Effect.withSpan("program"),
// This connects child spans to the current OpenTelemetry context
Tracer.withActiveSpan
)
```

## 0.37.4

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/opentelemetry/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@effect/opentelemetry",
"version": "0.37.4",
"version": "0.37.5",
"type": "module",
"license": "MIT",
"description": "OpenTelemetry integration for Effect",
Expand Down

0 comments on commit 9131e6d

Please sign in to comment.