This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dotnet format OpenTelemetry.sln --no-restore --verify-no-changes -v diagnostic | |
The dotnet runtime version is '8.0.0-rc.1.23419.4'. | |
The dotnet CLI version is '8.0.100-rc.1.23463.5'. | |
Using MSBuild.exe located in '/usr/local/share/dotnet/sdk/8.0.100-rc.1.23463.5/'. | |
Formatting code files in workspace '/Users//Projects/opentelemetry-dotnet/OpenTelemetry.sln'. | |
Loading workspace. | |
Project OpenTelemetry(net6.0) is using configuration from '/Users//Projects/opentelemetry-dotnet/.editorconfig'. | |
Project OpenTelemetry(net6.0) is using configuration from '/Users//Projects/opentelemetry-dotnet/src/OpenTelemetry/obj/Debug/net6.0/OpenTelemetry.GeneratedMSBuildEditorConfig.editorconfig'. | |
Project OpenTelemetry(net6.0) is using configuration from '/usr/local/share/dotnet/sdk/8.0.100-rc.1.23463.5/Sdks/Microsoft.NET.Sdk/analyzers/build/config/analysislevel_6_default.globalconfig'. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CosmosClient client = new CosmosClient(connectionString); | |
Database db = client.GetDatabase("test-db"); | |
Container container = db.GetContainer("test-container"); | |
const int rus = 1000; | |
ThroughputResponse manualDbThroughput = await db.ReplaceThroughputAsync(ThroughputProperties.CreateManualThroughput(rus)); | |
ThroughputResponse autoDbThroughput = await db.ReplaceThroughputAsync(ThroughputProperties.CreateAutoscaleThroughput(rus)); |