Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/OpenTelemetry/CoreSdkForwarding/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

var instanceId = args.ElementAtOrDefault(0) ?? throw new ArgumentException("Must pass 'worker' or 'workflow' as the single argument");

// @@@SNIPSTART dotnet-cloud-run-otel
var resourceBuilder = ResourceBuilder.
CreateDefault().
AddService("TemporalioSamples.OpenTelemetry", serviceInstanceId: instanceId);
Expand Down Expand Up @@ -68,6 +69,7 @@
},
});
var client = await TemporalClient.ConnectAsync(connectOptions);
// @@@SNIPEND

Check failure on line 72 in src/OpenTelemetry/CoreSdkForwarding/Program.cs

View workflow job for this annotation

GitHub Actions / build-lint-test (ubuntu-latest)

Single-line comments should not be followed by blank line (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1512.md)

Check failure on line 72 in src/OpenTelemetry/CoreSdkForwarding/Program.cs

View workflow job for this annotation

GitHub Actions / build-lint-test (ubuntu-latest)

Single-line comments should not be followed by blank line (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1512.md)

Check failure on line 72 in src/OpenTelemetry/CoreSdkForwarding/Program.cs

View workflow job for this annotation

GitHub Actions / build-lint-test (macos-latest)

Single-line comments should not be followed by blank line (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1512.md)

Check failure on line 72 in src/OpenTelemetry/CoreSdkForwarding/Program.cs

View workflow job for this annotation

GitHub Actions / build-lint-test (macos-latest)

Single-line comments should not be followed by blank line (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1512.md)

Check failure on line 72 in src/OpenTelemetry/CoreSdkForwarding/Program.cs

View workflow job for this annotation

GitHub Actions / build-lint-test (ubuntu-arm)

Single-line comments should not be followed by blank line (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1512.md)

async Task RunWorkerAsync()
{
Expand Down Expand Up @@ -114,4 +116,4 @@
break;
default:
throw new ArgumentException("Must pass 'worker' or 'workflow' as the single argument");
}
}
Loading