Граф коммитов

194 Коммитов

Автор SHA1 Сообщение Дата
dependabot[bot] 6d39870e39
[Internal] Samples: Fixes Azure.Identity from 1.11.0 to 1.11.4 in /Microsoft.Azure.Cosmos.Samples/Usage/Encryption (#4555)
Bumps [Azure.Identity](https://github.com/Azure/azure-sdk-for-net) from 1.11.0 to 1.11.4.
- [Release notes](https://github.com/Azure/azure-sdk-for-net/releases)
- [Commits](https://github.com/Azure/azure-sdk-for-net/compare/Azure.Identity_1.11.0...Azure.Identity_1.11.4)

---
updated-dependencies:
- dependency-name: Azure.Identity
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-21 13:51:38 -07:00
Nalu Tripician 995f2f8c33
updated interface (#4549) 2024-06-17 12:14:51 -07:00
dependabot[bot] 20d678b60d
Bump Azure.Identity (#4544)
Bumps [Azure.Identity](https://github.com/Azure/azure-sdk-for-net) from 1.11.0 to 1.11.4.
- [Release notes](https://github.com/Azure/azure-sdk-for-net/releases)
- [Commits](https://github.com/Azure/azure-sdk-for-net/compare/Azure.Identity_1.11.0...Azure.Identity_1.11.4)

---
updated-dependencies:
- dependency-name: Azure.Identity
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kiran Kumar Kolli <kirankk@microsoft.com>
2024-06-12 18:24:42 +00:00
Jake 5a28704392
Benchmark: Adds region to configuration options (#4478)
* Benchmark: Add region to configuration

* Trim the region names

---------

Co-authored-by: jakewilley_microsoft <--global>
2024-06-03 20:59:40 +00:00
Nalu Tripician b9b35bb92d
FaultInjection: Refactors applyPercentage name to injectionRate to make feature clearer. (#4511)
* changed name to make feature more clear (consistant with changes done in java)

* fixed comment
2024-05-29 19:25:32 +00:00
Nalu Tripician 52a5b83200
fix bug (#4473) 2024-05-09 08:42:35 -07:00
Nalu Tripician 654741bcc4
FaultInjection: Adds ApplyPercentage for ServerErrorRule (#4450)
* initial commit

* fix tests

* changed variable name

* fixed test

* Shared.Random

* updated test description

* nit
2024-05-06 20:47:27 -07:00
Nalu Tripician a33144864e
FaultInjection: Adds ReadFeed Operation Type (#4448)
* initial commit

* fixed tests

* nits

* small fixes

* fixed test
2024-04-30 13:49:53 -04:00
Nalu Tripician bf2f5ee197
FaultInjection: Adds SendDelay ServerErrorType (#4447)
* Initial Commit

* nits
2024-04-28 09:50:45 -07:00
Maya Painter 61319986f1
Samples: Adds STJ LINQ Serializer Example (#4420)
* initial commit

* bump sample version

* update comments

* sln file fix

* update comment

* Update Microsoft.Azure.Cosmos/src/Serializer/CosmosLinqSerializer.cs

Co-authored-by: Matias Quaranta <ealsur@users.noreply.github.com>

* remarks fix

* xml fix

---------

Co-authored-by: Matias Quaranta <ealsur@users.noreply.github.com>
2024-04-18 22:03:54 +00:00
dependabot[bot] bf4704f5cf
Bump OpenTelemetry.Instrumentation.Http (#4414)
Bumps [OpenTelemetry.Instrumentation.Http](https://github.com/open-telemetry/opentelemetry-dotnet) from 1.6.0-rc.1 to 1.8.1.
- [Release notes](https://github.com/open-telemetry/opentelemetry-dotnet/releases)
- [Commits](https://github.com/open-telemetry/opentelemetry-dotnet/compare/1.6.0-rc.1...Instrumentation.Http-1.8.1)

---
updated-dependencies:
- dependency-name: OpenTelemetry.Instrumentation.Http
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-15 18:36:27 +00:00
dependabot[bot] 36a35472df
Bump Azure.Identity (#4409)
Bumps [Azure.Identity](https://github.com/Azure/azure-sdk-for-net) from 1.10.2 to 1.11.0.
- [Release notes](https://github.com/Azure/azure-sdk-for-net/releases)
- [Commits](https://github.com/Azure/azure-sdk-for-net/compare/Azure.Identity_1.10.2...Azure.Identity_1.11.0)

---
updated-dependencies:
- dependency-name: Azure.Identity
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matias Quaranta <ealsur@users.noreply.github.com>
2024-04-12 20:59:05 +00:00
dependabot[bot] 2c5ab47d94
Bump Azure.Identity in /Microsoft.Azure.Cosmos.Samples/Usage/Encryption (#4410)
Bumps [Azure.Identity](https://github.com/Azure/azure-sdk-for-net) from 1.10.2 to 1.11.0.
- [Release notes](https://github.com/Azure/azure-sdk-for-net/releases)
- [Commits](https://github.com/Azure/azure-sdk-for-net/compare/Azure.Identity_1.10.2...Azure.Identity_1.11.0)

---
updated-dependencies:
- dependency-name: Azure.Identity
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matias Quaranta <ealsur@users.noreply.github.com>
2024-04-12 18:13:37 +00:00
Nalu Tripician b882e26882
fixes bug (#4389) 2024-04-05 21:38:57 +00:00
Sourabh Jain deab135c9b
Distributed Tracing: Adds configuration to disable network level tracing in sdk permanently (#4333)
* disable network level tracing in sdk

* update sample

* remove network level tracing logic altogrther

* 'fix spelling
2024-03-06 17:58:49 -08:00
Nalu Tripician a9599bd648
FaultInjection: Adds Fault Injection Library (#4281)
* initial commit

* add files

* restructure + some cleanup

* fixed await for chaos interceptor creation

* added default operation/conntection type values

* threshold to thresholdpercentage

* more threshold changes

* changed application to rule application for clarity

* changed method names in application context

* spelling fix

* addressed comments

* tests/csproj fixes

* requested changes

* requested changes

* added comments arrount duration

* added comments arrount duration

* application context changes to avoid bounded staleness problem

* requested changes and test fixes

* removed unused code

* update contracts

* Revert "update contracts"

This reverts commit 8df331713f.
2024-02-08 11:58:07 -08:00
Sourabh Jain 3cb1c55678
Distributed Tracing: Refactors Samples to use latest cosmosdb SDK (#4218)
* Updated Cosmosd SDK version in Open telemetry and AppInsight Samples

* clean up code

* fixd samples

* remove underscore from variable name
2023-12-20 07:48:09 -08:00
Matias Quaranta 7a32b96c62
[Internal] CTL: Fixes docker image version dependency (#4216)
* update csproj

* image

* Right image

* Sigh

---------

Co-authored-by: Kiran Kumar Kolli <kirankk@microsoft.com>
2023-12-19 22:04:44 +00:00
Kiran Kumar Kolli 98048d2bb5
[Internal] Code Analysis: Fixes all warning in source/test/usage projects (#4188)
* [Internal] CodeAnalsis: Fixing CA2200 for test projects

* Making code warning clean

* fixing the usages projects

* Removing the insource overrides

* One mroe small fix

---------

Co-authored-by: Sourabh Jain <sourabhjain@microsoft.com>
2023-11-16 16:21:57 +00:00
Maya Painter 4db6078dc5
Query: Fixes documentation to reflect state of System.Text.Json serializer (#4170)
* Update Program.cs

* Update Program.cs

* Update Program.cs

* Update Program.cs

---------

Co-authored-by: Matias Quaranta <ealsur@users.noreply.github.com>
2023-11-07 01:17:26 +00:00
dependabot[bot] 083df87e6e
Bump Azure.Identity (#4135)
Bumps [Azure.Identity](https://github.com/Azure/azure-sdk-for-net) from 1.5.0 to 1.10.2.
- [Release notes](https://github.com/Azure/azure-sdk-for-net/releases)
- [Commits](https://github.com/Azure/azure-sdk-for-net/compare/Azure.Identity_1.5.0...Azure.Identity_1.10.2)

---
updated-dependencies:
- dependency-name: Azure.Identity
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-24 22:10:10 +00:00
dependabot[bot] 42cc681248
Bump Azure.Identity in /Microsoft.Azure.Cosmos.Samples/Usage/Encryption (#4136)
Bumps [Azure.Identity](https://github.com/Azure/azure-sdk-for-net) from 1.5.0 to 1.10.2.
- [Release notes](https://github.com/Azure/azure-sdk-for-net/releases)
- [Commits](https://github.com/Azure/azure-sdk-for-net/compare/Azure.Identity_1.5.0...Azure.Identity_1.10.2)

---
updated-dependencies:
- dependency-name: Azure.Identity
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matias Quaranta <ealsur@users.noreply.github.com>
2023-10-24 19:05:30 +00:00
Sourabh Jain 75eec5c33a
Benchmark: Fixes to show estimated cost of a container only when new container is getting created (#4109)
* Showing Estimated Cost only when new container is getting created

* read container to get container response

* disable client telemetry by default

* removed unused imports

* resolve merge conflict

* fixed name

* fix container not found

* removed the message

* Update Microsoft.Azure.Cosmos.Samples/Tools/Benchmark/Program.cs

Co-authored-by: Matias Quaranta <ealsur@users.noreply.github.com>

* removed line space

---------

Co-authored-by: Kiran Kumar Kolli <kirankk@microsoft.com>
Co-authored-by: Matias Quaranta <ealsur@users.noreply.github.com>
2023-10-09 20:29:11 +05:30
Sourabh Jain 72e96faca5
Client Telemetry: Adds new public APIs (#4056)
* Revert "[Internal] Client Telemetry: Refactors code for collectors (#4037)"

This reverts commit e2311a9fdc.

* Revert "Revert "[Internal] Client Telemetry: Refactors code for collectors (#4037)""

This reverts commit f04234b761.

* firdst draft

* initialize object

* null handle

* update contracts

* compilation charges

* fix tests

* public API changes

* add docs

* contract updated

* fixed tests

* by default switch of te;emetry in sdk

* fix tests

* fix assertion

* incorporate review comments

* fetaure flag fix in script

* switch case

* add test

* fix tests

* fix test

* fixed run.sh

* minor changes

* code refactor

* changed default values and fix tests
2023-10-05 01:35:46 +05:30
Sourabh Jain 373ab9ec9d
Bechmark : Fixes benchmark runs (#4088)
* pk to result container

* set pk

* pk value fix

* update run.sh

* remove changes value

* remove telemetry service end point

* cleanup
2023-09-20 20:32:15 +05:30
Kiran Kumar Kolli b909bd7ee4
[Internal] Benchmark tool: Fixes code refractoring to model the metrics as EventSource (#4040)
* Adding metrics for Benchmark tool.

* Adding OpenTelemetry.

* Revert "Adding OpenTelemetry."

This reverts commit c7da088469.

* Telemetry for windowed percentiles.

* OpenTelemetry, AppInsights and Dashboard.

* Removing DiagnosticDataListener.

* Code styling, comments and clean-up.

* Fixing issues with dashboard.

* Fixing positions of charts on the dashboard.

* Fixing the dashboard.

* Updating titles and subtitles.

* Removing ILogger and other not required references.

* Fixing code review points.

* Fixing issues after rebase.

* Removing unnecessary changes.

* Fixing code review points.

* Adding metrics for Benchmark tool.

* Adding OpenTelemetry.

* Revert "Adding OpenTelemetry."

This reverts commit c7da088469.

* Telemetry for windowed percentiles.

* OpenTelemetry, AppInsights and Dashboard.

* Removing DiagnosticDataListener.

* Code styling, comments and clean-up.

* Fixing issues with dashboard.

* Fixing positions of charts on the dashboard.

* Fixing the dashboard.

* Updating titles and subtitles.

* Removing ILogger and other not required references.

* Fixing code review points.

* Fixing issues after rebase.

* Removing unnecessary changes.

* Fixing code review points.

* Fixing code review points.

* make MetrcisCollectorProvider non static and remove locks

* fix

* fixes

* use static class name TelemetrySpan.IncludePercentile

* use app insights connection string

* modified:   Microsoft.Azure.Cosmos.Samples/Tools/Benchmark/Program.cs

* modified:   Microsoft.Azure.Cosmos.Samples/Tools/Benchmark/Program.cs

* rename AppInsightsConnectionString

* fix

* fix comments

* fix if AppInsights c string is not set

* summary

* fix

* remove unnecessary collector types

* remove unnecesary metere provicer

* add event source

* remove folder

* fix

* split success and failed latencies

* Code refractor to use EvenSource design pattern for metrics

* Fixing build breaks

* Removing BenchmarkExecutionEventSource

* Fixign misc things

* Some extra cleanup

* use TimeSpan except milliseconds

* fix metrics publication

* fix metrics publication

* move tests to benchmark folder

* move back benchmark test

* use background task for flushing metrics

* remove sync metrics flushing

* split failed and success operations

* fix latenclies charts

* fix benchmark run command

* remove ShouldUnsetParentConfigurationAndPlatform=false

---------

Co-authored-by: Mikhail Lipin <v-milipin@microsoft.com>
Co-authored-by: David Chaava <chaava01@gmail.com>
Co-authored-by: David Chaava <v-dchaava@microsoft.com>
2023-09-11 19:48:13 +00:00
David Chaava 7c3f5e1dec
[Internal] Benchmark tool: Fixes benchmark run command using OSSProjectRef parameter (#4066)
* fix benchmark run command using OSSProjectRef parameter

* remove ShouldUnsetParentConfigurationAndPlatform=false

---------

Co-authored-by: David Chaava <v-dchaava@microsoft.com>
2023-09-05 21:55:18 +02:00
Sourabh Jain c72ebc8574
[Internal] Client Telemetry: Adds client config api call to get latest flag status (#4050)
* first draft

* tets fix

* fix dependent projects

* reduce refresh time in tests

* fix tests and added comments

* fix diagnostic handler fix

* fix test

* adding test

* ret pushmove console

* fix test

* provide options to enable/disable this featire in benchmark and ctl proj

* updated trace message

Co-authored-by: Matias Quaranta <ealsur@users.noreply.github.com>

* remove import

* updated traces

Co-authored-by: Matias Quaranta <ealsur@users.noreply.github.com>

* test fix

* remove null assignment

* fix test

---------

Co-authored-by: Matias Quaranta <ealsur@users.noreply.github.com>
2023-08-31 17:55:30 +00:00
David Chaava 3aced24bea
[Internal] Benchmark tool: Adds feature to the dashboard that generate plots queries for metrics with a workload name prefix, depending on the benchmark workload type. #4048 (#4053)
* Merge remote-tracking branch 'origin/master' into users/v-dchaava/benchmark-diagnostics/3889

* modified:   Microsoft.Azure.Cosmos.Samples/Tools/Benchmark/AzureVmBenchmark/README.md

* add metrics prefixes

* fix chart metrics names

* fix dashboard queries according selected workload type

---------

Co-authored-by: David Chaava <v-dchaava@microsoft.com>
2023-08-29 19:04:53 +00:00
David Chaava 83dd4b5434
[Internal] Benchmark tool: Adds requests diagnostic data capture and upload to storage (#3926)
* azure-cosmos-dotnet-v3/issues/3889
add diagnostics data capturing during bechmark and storing into blob storage after finish

* modified:   Microsoft.Azure.Cosmos.Samples/Tools/Benchmark/README.md

* modified:   Microsoft.Azure.Cosmos.Samples/Tools/Benchmark/AzureVmBenchmark/scripts/custom-script.sh

* fix bug

* fix review comments

* fix comments

* fix comments

* fix case

* add tests and refactoring

* fix

* unify logging

* add summaries

* fix method summary

* fix BOM

* fix review comments

* fix comment

* fix line breaks

* modified:   Microsoft.Azure.Cosmos.Samples/Tools/Benchmark/AzureVmBenchmark/azuredeploy.json

* modified:   Microsoft.Azure.Cosmos.Samples/Tools/Benchmark/ARMTemplate/README.md

* modified:   Microsoft.Azure.Cosmos.Samples/Tools/Benchmark/README.md

* modified:   Microsoft.Azure.Cosmos.Samples/Tools/Benchmark/README.md

* catch exceptions

* add container prefix

* ResultStorageContainerPrefix

* modified:   Microsoft.Azure.Cosmos.Samples/Tools/Benchmark/AzureVmBenchmark/azuredeploy.json

* modified:   Microsoft.Azure.Cosmos.Samples/Tools/Benchmark/AzureVmBenchmark/scripts/execute.sh

* modified:   Microsoft.Azure.Cosmos.Samples/Tools/Benchmark/AzureVmBenchmark/scripts/custom-script.sh

* modified:   Microsoft.Azure.Cosmos.Samples/Tools/Benchmark/AzureVmBenchmark/azuredeploy.json

* modified:   Microsoft.Azure.Cosmos.Samples/Tools/Benchmark/AzureVmBenchmark/azuredeploy.json

* modified:   Microsoft.Azure.Cosmos.Samples/Tools/Benchmark/AzureVmBenchmark/azuredeploy.json

* modified:   Microsoft.Azure.Cosmos.Samples/Tools/Benchmark/AzureVmBenchmark/azuredeploy.json

* modified:   Microsoft.Azure.Cosmos.Samples/Tools/Benchmark/AzureVmBenchmark/azuredeploy.json

* modified:   Microsoft.Azure.Cosmos.Samples/Tools/Benchmark/AzureVmBenchmark/azuredeploy.json

* modified:   Microsoft.Azure.Cosmos.Samples/Tools/Benchmark/AzureVmBenchmark/azuredeploy.json

* modified:   Microsoft.Azure.Cosmos.Samples/Tools/Benchmark/AzureVmBenchmark/azuredeploy.json

* Update Microsoft.Azure.Cosmos.Samples/Tools/Benchmark/BenchmarkConfig.cs

Co-authored-by: Kiran Kumar Kolli <kirankk@microsoft.com>

* Update Microsoft.Azure.Cosmos.Samples/Tools/Benchmark/AzureVmBenchmark/azuredeploy.json

Co-authored-by: Matias Quaranta <ealsur@users.noreply.github.com>

* Update Microsoft.Azure.Cosmos.Samples/Tools/Benchmark/BenchmarkConfig.cs

Co-authored-by: Kiran Kumar Kolli <kirankk@microsoft.com>

* Update Microsoft.Azure.Cosmos.Samples/Tools/Benchmark/Fx/DiagnosticDataListener.cs

Co-authored-by: Matias Quaranta <ealsur@users.noreply.github.com>

* fix comments

* fix comments

* modified:   Microsoft.Azure.Cosmos.Samples/Tools/Benchmark/README.md

* modified:   Microsoft.Azure.Cosmos.Samples/Tools/Benchmark/AzureVmBenchmark/scripts/execute.sh

* make BlobCLient Lazy singleton

* new file:   Microsoft.Azure.Cosmos.Samples/Tools/Benchmark/AzureVmBenchmark/README.md
	modified:   Microsoft.Azure.Cosmos.Samples/Tools/Benchmark/AzureVmBenchmark/azuredeploy.json

* modified:   Microsoft.Azure.Cosmos.Samples/Tools/Benchmark/AzureVmBenchmark/README.md

* modified:   Microsoft.Azure.Cosmos.Samples/Tools/Benchmark/AzureVmBenchmark/scripts/execute.sh

* modified:   Microsoft.Azure.Cosmos.Samples/Tools/Benchmark/AzureVmBenchmark/scripts/execute.sh

* check on diagnostic colletiong

* remove locks and improve logs appending

* removed unnecesary directory

* removed unnecesary directory

* removed unnecesary directory

* new file:   Microsoft.Azure.Cosmos.Samples/Tools/Benchmark/ARMTemplate/README.md

* add dashboard

* fix arm template

* change branch

* fix

* add dashboard name

* fix dashboard

* add logging

* fix

* trace error

* fix devide zero

* add trace errors

* fix

* fix

* fix

* fix

* fix

* migrate to text writer

* fixes

* diagnostic logs

* add diagnostic logs

* remove flush and reset

* metric collection window lock

* collection window

* force flush every n seconds

* fix bug

* fix

* Update Microsoft.Azure.Cosmos.Samples/Tools/Benchmark/README.md

Co-authored-by: Matias Quaranta <ealsur@users.noreply.github.com>

* change deafult metric interval

* constant

* fix container creating conflict issue

* change azuredeply branch name

* remove ArmTemplate folder

* fix DiagnosticLatencyThresholdInMs default value

---------

Co-authored-by: David Chaava <v-dchaava@microsoft.com>
Co-authored-by: Kiran Kumar Kolli <kirankk@microsoft.com>
Co-authored-by: Matias Quaranta <ealsur@users.noreply.github.com>
2023-08-23 19:57:27 +00:00
Mikhail Lipin 946dd4a95f
[Internal] Benchmark tool: Adds Cosmos Benchmark Metrics (#3950)
* Adding metrics for Benchmark tool.

* Adding OpenTelemetry.

* Revert "Adding OpenTelemetry."

This reverts commit c7da088469.

* Telemetry for windowed percentiles.

* OpenTelemetry, AppInsights and Dashboard.

* Removing DiagnosticDataListener.

* Code styling, comments and clean-up.

* Fixing issues with dashboard.

* Fixing positions of charts on the dashboard.

* Fixing the dashboard.

* Updating titles and subtitles.

* Removing ILogger and other not required references.

* Fixing code review points.

* Fixing issues after rebase.

* Removing unnecessary changes.

* Fixing code review points.

* Adding metrics for Benchmark tool.

* Adding OpenTelemetry.

* Revert "Adding OpenTelemetry."

This reverts commit c7da088469.

* Telemetry for windowed percentiles.

* OpenTelemetry, AppInsights and Dashboard.

* Removing DiagnosticDataListener.

* Code styling, comments and clean-up.

* Fixing issues with dashboard.

* Fixing positions of charts on the dashboard.

* Fixing the dashboard.

* Updating titles and subtitles.

* Removing ILogger and other not required references.

* Fixing code review points.

* Fixing issues after rebase.

* Removing unnecessary changes.

* Fixing code review points.

* Fixing code review points.

* make MetrcisCollectorProvider non static and remove locks

* fix

* fixes

* use static class name TelemetrySpan.IncludePercentile

* use app insights connection string

* modified:   Microsoft.Azure.Cosmos.Samples/Tools/Benchmark/Program.cs

* modified:   Microsoft.Azure.Cosmos.Samples/Tools/Benchmark/Program.cs

* rename AppInsightsConnectionString

* fix

* fix comments

* fix if AppInsights c string is not set

* summary

* fix

* remove unnecessary collector types

* remove unnecesary metere provicer

* add event source

* remove folder

* fix

* split success and failed latencies

* fix

* fix

---------

Co-authored-by: David Chaava <chaava01@gmail.com>
Co-authored-by: David Chaava <v-dchaava@microsoft.com>
2023-08-15 22:06:04 +00:00
Sourabh Jain f8f38017f0
[Internal] Distributed tracing: Adds a sample to collect activities and events using custom listener (#4021)
* custom listener example

* removed unwanted code

* add comments

* fix appsettings

* revert changes
2023-08-09 21:35:06 +00:00
Mikhail Lipin 8d2691b984
[Internal] Category: Refactors Cosmos benchmark operations (#3961)
* Refactoring: base classes for operations.

* Updating comments.

* Adding new line at the end of the file.

* Fixing code review points.

* Restore PrepareAsync to be virtual.
2023-07-14 12:10:39 -07:00
Sourabh Jain 387ab62dbb
AI Integration: Fixes Open Telemetry Example (#3868)
* first draft

* add filter

* revert csproj

* fix sample

* changed log message

* remove unused library
2023-06-02 16:39:59 +00:00
Nalu Tripician 83bad12248
Update README.md (#3875)
URL typo.
2023-05-26 10:51:46 -07:00
Nalu Tripician 09e6facad4
Benchmarking: Adds use of ARM Templates for benchmarking (#3838)
* initial commit DONT REVIEW

* fixes and documentation

* Apply suggestions from code review

Co-authored-by: Matias Quaranta <ealsur@users.noreply.github.com>

* requested changes

* Apply suggestions from code review

Co-authored-by: Matias Quaranta <ealsur@users.noreply.github.com>

* name changes

* readme changes

* nits + changing case of parameters file

---------

Co-authored-by: Matias Quaranta <ealsur@users.noreply.github.com>
2023-05-25 15:55:41 +00:00
Justine Cocchi aff7349cb8
update sdk version and section tags (#3841) 2023-05-10 15:21:05 +00:00
Justine Cocchi 033e883d2f
[Internal] Samples: Adds OpenTelemetry and Application Insights samples (#3818)
* add opentelemetry and application insights samples

* address pr comments
2023-05-05 14:47:06 +00:00
Debdatta Kunda b257f8e9b1
[Internal] CTL: Fixes Reservoir Sampling Logic (#3712)
* Code changes to fix the reservoir sampling logic in CTL

* Code changes to modify help text on reservoir type.

* Code changes to address minor code refactor.
2023-02-17 15:26:51 -08:00
Justine Cocchi bf9a6d4995
[Internal] Samples: Adds change feed pull model samples (#3646)
* add change feed pull samples

* refactor appsettings validation

* addressing pr comments

* move task delay

* update sample to use latest change feed mode names

---------

Co-authored-by: Matias Quaranta <ealsur@users.noreply.github.com>
2023-02-09 08:40:18 -08:00
Sourabh Jain 393ae2396c
[Internal] Benchmark : Fixes issue with dependency on Cosmos Project (#3673)
* users/sourabhjain/benchmarkfix

* update pipeline

* Revert "users/sourabhjain/benchmarkfix"

This reverts commit 81b48f0e47.

* fix compilation error

* add parama for preview pkg also

---------

Co-authored-by: Matias Quaranta <ealsur@users.noreply.github.com>
2023-02-01 16:46:37 -08:00
Sourabh Jain 5c05fbb2d6
[Internal] Benchmark: Refactors code to make Memory Stream capacity configurable (#3624)
Co-authored-by: Sourabh Jain <sourabhjain@microsoft.com>
2023-01-04 08:08:48 -08:00
Sourabh Jain 814e72eca5
[Internal] Performance Testing: Adds Distributed Tracing option in benchmarks (#3611)
Co-authored-by: Sourabh Jain <sourabhjain@microsoft.com>
2022-12-20 07:33:20 -03:00
Kiran Kumar Kolli 825595a431
[Internal] nugetconfig: Removes specific overrides (#3551) 2022-11-07 10:53:55 -08:00
Nalu Tripician 36ee222f3b
Samples: Refactors typeof(T) to input.GetType() on CosmosSystemTextJsonSerializer (#3452)
Co-authored-by: Nalu Tripician <ntripician@microsoft.com>
2022-09-12 19:04:24 +00:00
Luis Arnauth 8db72c2840
Samples: Fixes ACI yaml template and bash script (#3373)
* update to insert

* update .net sdk version

* Update workload type
2022-08-29 16:20:19 +00:00
Sourabh Jain 875109d8be
[Preview] AI Integration: Adds latency based filters to add request diagnostics in Activity and some minor changes (#3362)
* add open telemetry config

* add documentation

* add documentation

* add test

* fixed imports

* rebased contract changes

* rename config to options

* changes same as java

* add new contract

* add exception and tests

* remove enable telemetry API and add 2 different with threshold for CRUD and query

* update contract

* check for scope enabled or not before recroding any attribute

* add null check

* null check for non supported operations

* other minor changes

* fix tests

* dispose listener

* remve console log

* enable this feature by default for GA package open telemetry don't even exist

* open telemetry config

* test fix

* test fix

* add request options

* ädd nullcheck

* updated contact

* rIsDistributedTracingEnabledename variable and add more verbose

* rename apis

* update contract

* update request options and contract

* new generated xml

* added Distributed Tracing option with Latency Threshold and code refactor to load client properties during initialization of recorder

* fix test

* update contract

* cosmetic changes

* preview contract changes

* wip

* update coontract

* minor cosmetic changes

* remove publically exposed APIs

* fix tests

Co-authored-by: Sourabh Jain <sourabhjain@microsoft.com>
2022-08-26 11:11:53 -07:00
Sourabh Jain ca8d48f884
[Internal] AI Integration: Adds Open telemetry in Benchmark tests (#3342)
Co-authored-by: Sourabh Jain <sourabhjain@microsoft.com>
Co-authored-by: Matias Quaranta <ealsur@users.noreply.github.com>
2022-07-13 16:53:10 +00:00
Matias Quaranta b73cfd0e0c
[Internal] Dependencies: Fixes Newtonsoft.Json dependency on samples project (#3306)
* Update shared

* Cleanup

* Update child projects
2022-06-24 12:58:26 -07:00
j82w 67da0bfb31
Samples: Adds warning about System.Text.Json and LINQ (#3251) 2022-06-03 17:09:13 +00:00