Skip to content

Commit 400e7b7

Browse files
chore: update filter string with new crate names
1 parent c3960b3 commit 400e7b7

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

packages/core-bridge/src/runtime.rs

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,12 @@ pub fn runtime_new(
6262
let (telemetry_options, metrics_options, logging_options) = bridge_options.try_into()?;
6363

6464
// Create core runtime which starts tokio multi-thread runtime
65-
let mut core_runtime = CoreRuntime::new(
66-
RuntimeOptionsBuilder::default()
67-
.telemetry_options(telemetry_options)
68-
.build()
69-
.expect("RuntimeOptionsBuilder to never fail as every field has a default"),
70-
TokioRuntimeBuilder::default(),
71-
)
72-
.context("Failed to initialize Core Runtime")?;
65+
let runtime_options = RuntimeOptionsBuilder::default()
66+
.telemetry_options(telemetry_options)
67+
.build()
68+
.context("Failed to build runtime options")?;
69+
let mut core_runtime = CoreRuntime::new(runtime_options, TokioRuntimeBuilder::default())
70+
.context("Failed to initialize Core Runtime")?;
7371

7472
enter_sync!(core_runtime);
7573

packages/worker/src/runtime-options.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ export type MakeTelemetryFilterStringOptions = CoreLogFilterOptions;
468468
*/
469469
export function makeTelemetryFilterString(options: CoreLogFilterOptions): string {
470470
const { core, other } = options;
471-
return `${other ?? 'ERROR'},temporal_sdk_core=${core},temporal_client=${core},temporal_sdk=${core}`;
471+
return `${other ?? 'ERROR'},temporalio_sdk_core=${core},temporalio_client=${core},temporalio_common=${core}`;
472472
}
473473

474474
function isOtelCollectorExporter(metrics: MetricsExporterConfig): metrics is OtelCollectorExporter {

0 commit comments

Comments
 (0)