Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
f04234b
Revert "[Internal] Client Telemetry: Refactors code for collectors (#…
sourabh1007 Aug 31, 2023
3517f7e
Revert "Revert "[Internal] Client Telemetry: Refactors code for colle…
sourabh1007 Aug 31, 2023
2d2d3e5
Merge branch 'master' of https://github.com/Azure/azure-cosmos-dotnet-v3
sourabh1007 Sep 1, 2023
ddffd82
firdst draft
sourabh1007 Aug 28, 2023
2006633
initialize object
sourabh1007 Aug 28, 2023
26e4ca6
null handle
sourabh1007 Aug 29, 2023
fb3ae09
update contracts
sourabh1007 Aug 29, 2023
2dd1c05
compilation charges
sourabh1007 Sep 1, 2023
b1bdbeb
fix tests
sourabh1007 Sep 2, 2023
705d0c6
public API changes
sourabh1007 Sep 4, 2023
2893f91
add docs
sourabh1007 Sep 4, 2023
a280ecd
contract updated
sourabh1007 Sep 4, 2023
6df7c06
fixed tests
sourabh1007 Sep 6, 2023
c89d6fc
Merge branch 'master' into users/sourabhjain/clienttelemetrypubliccon…
sourabh1007 Sep 6, 2023
dd7d7ef
by default switch of te;emetry in sdk
sourabh1007 Sep 6, 2023
87b476e
fix tests
sourabh1007 Sep 7, 2023
00f820d
fix assertion
sourabh1007 Sep 7, 2023
d9fe539
incorporate review comments
sourabh1007 Sep 11, 2023
6454e82
Merge branch 'master' into users/sourabhjain/clienttelemetrypubliccon…
sourabh1007 Sep 11, 2023
950a755
fetaure flag fix in script
sourabh1007 Sep 11, 2023
ff65166
Merge branch 'master' into users/sourabhjain/clienttelemetrypubliccon…
sourabh1007 Sep 11, 2023
6366dc5
Merge branch 'master' into users/sourabhjain/clienttelemetrypubliccon…
sourabh1007 Sep 12, 2023
1743941
Merge branch 'master' into users/sourabhjain/clienttelemetrypubliccon…
sourabh1007 Sep 12, 2023
4ce519d
switch case
sourabh1007 Sep 12, 2023
f62190a
add test
sourabh1007 Sep 13, 2023
a1c767e
Merge branch 'master' into users/sourabhjain/clienttelemetrypubliccon…
sourabh1007 Sep 15, 2023
39def0d
Merge branch 'master' into users/sourabhjain/clienttelemetrypubliccon…
sourabh1007 Sep 15, 2023
0482009
fix tests
sourabh1007 Sep 15, 2023
7261e84
fix test
sourabh1007 Sep 15, 2023
9c5b41e
Merge branch 'master' into users/sourabhjain/clienttelemetrypubliccon…
sourabh1007 Sep 18, 2023
cb9a323
Merge branch 'master' into users/sourabhjain/clienttelemetrypubliccon…
sourabh1007 Sep 20, 2023
3a7709c
fixed run.sh
sourabh1007 Sep 20, 2023
47ddb21
Merge branch 'master' into users/sourabhjain/clienttelemetrypubliccon…
sourabh1007 Sep 21, 2023
ce810b5
minor changes
sourabh1007 Sep 26, 2023
7c13e55
code refactor
sourabh1007 Sep 26, 2023
47641e5
Merge branch 'master' into users/sourabhjain/clienttelemetrypubliccon…
sourabh1007 Sep 26, 2023
6f8d879
Merge branch 'master' into users/sourabhjain/clienttelemetrypubliccon…
sourabh1007 Sep 27, 2023
59b09bb
Merge branch 'master' into users/sourabhjain/clienttelemetrypubliccon…
sourabh1007 Oct 1, 2023
9b4ae81
changed default values and fix tests
sourabh1007 Oct 1, 2023
7915802
Merge branch 'master' into users/sourabhjain/clienttelemetrypubliccon…
sourabh1007 Oct 4, 2023
5b53364
Merge branch 'master' into users/sourabhjain/clienttelemetrypubliccon…
sourabh1007 Oct 4, 2023
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
Prev Previous commit
Next Next commit
switch case
  • Loading branch information
sourabh1007 committed Sep 12, 2023
commit 4ce519dcfa586eba292404202b975a925c6f15e6
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ public static bool IsLatencyThresholdCrossed(
{
config ??= new CosmosThresholdOptions();

TimeSpan latencyThreshold = DiagnosticsFilterHelper.IsPointOperation(operationType) ? config.NonPointOperationLatencyThreshold : config.PointOperationLatencyThreshold;
TimeSpan latencyThreshold = DiagnosticsFilterHelper.IsPointOperation(operationType) ?
config.PointOperationLatencyThreshold :
config.NonPointOperationLatencyThreshold;
return response.Diagnostics.GetClientElapsedTime() > latencyThreshold;
}

Expand Down