Skip to content

Commit

Permalink
fix codegen for orchestrator telemetry
Browse files Browse the repository at this point in the history
  • Loading branch information
dayaffe committed Aug 19, 2024
1 parent e7e71e9 commit 1c7e6e8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@ class MiddlewareExecutionGenerator(
let op = builder.attributes(context)
.telemetry(${"$"}N(
telemetryProvider: config.telemetryProvider,
metricsAttributes: metricsAttributes
metricsAttributes: metricsAttributes,
meterScope: serviceName,
tracerScope: serviceName
))
.executeRequest(client)
.build()
Expand Down
4 changes: 3 additions & 1 deletion smithy-swift-codegen/src/test/kotlin/EventStreamTests.kt
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,9 @@ extension EventStreamTestClientTypes.TestStream {
let op = builder.attributes(context)
.telemetry(ClientRuntime.OrchestratorTelemetry(
telemetryProvider: config.telemetryProvider,
metricsAttributes: metricsAttributes
metricsAttributes: metricsAttributes,
meterScope: serviceName,
tracerScope: serviceName
))
.executeRequest(client)
.build()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,9 @@ extension RestJsonProtocolClient {
let op = builder.attributes(context)
.telemetry(ClientRuntime.OrchestratorTelemetry(
telemetryProvider: config.telemetryProvider,
metricsAttributes: metricsAttributes
metricsAttributes: metricsAttributes,
meterScope: serviceName,
tracerScope: serviceName
))
.executeRequest(client)
.build()
Expand Down

0 comments on commit 1c7e6e8

Please sign in to comment.