Skip to content

Commit fd5394c

Browse files
committed
Update binary version
1 parent efb2bad commit fd5394c

5 files changed

Lines changed: 9 additions & 14 deletions

File tree

.mergify.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,6 @@ pull_request_rules:
5757
add:
5858
- model
5959
remove: []
60-
- name: Label natchez PRs
61-
conditions:
62-
- files~=^natchez/
63-
actions:
64-
label:
65-
add:
66-
- natchez
67-
remove: []
6860
- name: Label otel4s PRs
6961
conditions:
7062
- files~=^otel4s/

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,10 @@ The `clue-otel4s` module wraps any clue with OpenTelemetry tracing via [otel4s](
117117
A `SpanKind.Client` span is emitted per HTTP request or subscription.
118118
W3C trace context is automatically propagated to the server:
119119

120-
- **HTTP requests** — the current span's `traceparent` (and `tracestate`) is injected into outgoing request headers, thus client spans can propagate to the server
121-
- **WebSocket requests**`traceparent` is included in the `extensions` field, so the server can create child reading `extensions.traceparent`.
120+
- **HTTP requests**: the current span's `traceparent` (and `tracestate`) is injected into outgoing
121+
request headers, thus client spans can propagate to the server
122+
- **WebSocket requests**: `traceparent` is included in the `extensions` field, so the server can
123+
create child reading `extensions.traceparent`.
122124

123125
Some span attributes recorded automatically:
124126
* `clue.version`
@@ -131,3 +133,4 @@ Some span attributes recorded automatically:
131133
And on errors `clue.response.hasErrors`, `clue.response.errorCount`, `clue.response.errors`.
132134

133135
W3C propagation requires the SDK to be configured with `W3CTraceContextPropagator`.
136+
See https://ochenashko.com/practical-observability-distributed-tracing/#6-cross-service-propagation

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
lazy val V = _root_.scalafix.sbt.BuildInfo
22

3-
ThisBuild / tlBaseVersion := "0.51"
3+
ThisBuild / tlBaseVersion := "0.52"
44
ThisBuild / tlJdkRelease := Some(17)
55
ThisBuild / githubWorkflowJavaVersions := Seq("17").map(JavaSpec.temurin(_))
66
ThisBuild / scalaVersion := "3.8.3"

http4s/src/main/scala/clue/http4s/package.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33

44
package clue.http4s
55

6+
import clue.FetchClientWithPars
7+
import clue.TraceHeaderInjector
68
import org.http4s.Header
79
import org.http4s.Request
810
import org.typelevel.ci.CIString
9-
import clue.FetchClientWithPars
10-
import clue.TraceHeaderInjector
1111

1212
type Http4sHttpClient[F[_], S] = FetchClientWithPars[F, Request[F], S]
1313

otel4s/src/main/scala/clue/otel4s/Otel4sMiddleware.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ import clue.model.GraphQLQuery
1818
import clue.model.GraphQLResponse
1919
import io.circe.Decoder
2020
import io.circe.Encoder
21-
import io.circe.JsonObject
2221
import io.circe.Json
22+
import io.circe.JsonObject
2323
import org.typelevel.otel4s.Attribute
2424
import org.typelevel.otel4s.context.propagation.TextMapUpdater
2525
import org.typelevel.otel4s.semconv.attributes.HttpAttributes

0 commit comments

Comments
 (0)