Enhance error handling in TradingService by capturing exceptions with Sentry; update TypeScript version in package.json for improved features; modify tsconfig.json to exclude unnecessary directories; add new performance benchmark entries in CSV files for better tracking of telemetry data.
This commit is contained in:
@@ -487,6 +487,7 @@ public class TradingService : ITradingService
|
||||
{
|
||||
_logger.LogError(ex, "Error swapping GMX tokens for account {AccountName} and user {UserName}",
|
||||
accountName, user.Name);
|
||||
SentrySdk.CaptureException(ex);
|
||||
throw new InvalidOperationException($"Failed to swap GMX tokens: {ex.Message}", ex);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
"postgrator": "^8.0.0",
|
||||
"query-string": "7.1.1",
|
||||
"redis": "^5.8.2",
|
||||
"typescript": "5.4.2",
|
||||
"typescript": "^5.7.2",
|
||||
"universal-perf-hooks": "1.0.1",
|
||||
"viem": "^2.37.1",
|
||||
"vitest": "^3.0.8",
|
||||
|
||||
@@ -15,8 +15,9 @@
|
||||
"sourceMap": false
|
||||
},
|
||||
"include": ["@types", "src/**/*.ts"],
|
||||
"exclude": ["node_modules", "dist"],
|
||||
"ts-node": {
|
||||
"esm": true,
|
||||
"experimentalSpecifierResolution": "node",
|
||||
"experimentalSpecifierResolution": "node"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,3 +22,7 @@ DateTime,TestName,CandlesCount,ExecutionTimeSeconds,ProcessingRateCandlesPerSec,
|
||||
2025-12-19T10:54:33Z,Telemetry_ETH_RSI_EMACROSS,5760,4.93,1167.2,29.23,13.62,38.13,0.0,0,0.0,0.0,0.0,0.0,-30567.20,20,-45.32,0.00,b52f00a4,dev,development
|
||||
2025-12-20T03:01:11Z,Telemetry_ETH_RSI_EMACROSS,5760,2.22,2599.7,29.25,21.79,35.44,0.0,0,0.0,0.0,0.0,0.0,-30567.20,20,-45.32,0.00,415845ed,dev,development
|
||||
2025-12-20T03:03:51Z,Telemetry_ETH_RSI_EMACROSS,5760,3.98,1447.6,29.22,12.80,38.66,0.0,0,0.0,0.0,0.0,0.0,-30567.20,20,-45.32,0.00,415845ed,dev,development
|
||||
2025-12-20T03:16:59Z,Telemetry_ETH_RSI_EMACROSS,5760,2.37,2426.5,29.23,12.81,39.91,0.0,0,0.0,0.0,0.0,0.0,-30567.20,20,-45.32,0.00,e9b4878f,dev,development
|
||||
2025-12-20T03:19:19Z,Telemetry_ETH_RSI_EMACROSS,5760,2.65,2177.2,29.19,22.05,35.35,0.0,0,0.0,0.0,0.0,0.0,-30567.20,20,-45.32,0.00,e9b4878f,dev,development
|
||||
2025-12-20T03:20:26Z,Telemetry_ETH_RSI_EMACROSS,5760,2.46,2343.0,29.22,21.39,35.34,0.0,0,0.0,0.0,0.0,0.0,-30567.20,20,-45.32,0.00,e9b4878f,dev,development
|
||||
2025-12-20T03:23:24Z,Telemetry_ETH_RSI_EMACROSS,5760,2.32,2480.9,29.20,21.44,35.32,0.0,0,0.0,0.0,0.0,0.0,-30567.20,20,-45.32,0.00,e9b4878f,dev,development
|
||||
|
||||
|
@@ -26,3 +26,7 @@ DateTime,TestName,CandlesCount,ExecutionTimeSeconds,ProcessingRateCandlesPerSec,
|
||||
2025-12-19T14:33:20Z,Telemetry_ETH_RSI,5760,6.385,896.9,29.01,15.55,33.20,5470.73,0,0.0,617.39,0.00,0.11,-9933.44,26,-36.30,0.00,415845ed,dev,development
|
||||
2025-12-20T03:01:11Z,Telemetry_ETH_RSI,5760,1.595,3602.9,29.24,13.93,41.99,1475.81 1475.81,0,0.0,74.04,0.00,0.01,-9933.44,26,-36.30,0.00,415845ed,dev,development
|
||||
2025-12-20T03:03:51Z,Telemetry_ETH_RSI,5760,1.885,3052.6,29.22,22.05,43.48,1695.19 1695.19,0,0.0,114.09,0.00,0.02,-9933.44,26,-36.30,0.00,415845ed,dev,development
|
||||
2025-12-20T03:16:59Z,Telemetry_ETH_RSI,5760,1.635,3517.3,29.22,22.08,43.29,1509.73 1509.73,0,0.0,82.16,0.00,0.01,-9933.44,26,-36.30,0.00,e9b4878f,dev,development
|
||||
2025-12-20T03:19:19Z,Telemetry_ETH_RSI,5760,1.49,3855.8,29.26,14.16,42.28,1377.83 1377.83,0,0.0,67.07,0.00,0.01,-9933.44,26,-36.30,0.00,e9b4878f,dev,development
|
||||
2025-12-20T03:20:26Z,Telemetry_ETH_RSI,5760,1.55,3713.7,29.22,22.04,43.43,1442.07 1442.07,0,0.0,66.17,0.00,0.01,-9933.44,26,-36.30,0.00,e9b4878f,dev,development
|
||||
2025-12-20T03:23:24Z,Telemetry_ETH_RSI,5760,1.53,3758.4,29.22,22.28,42.24,1414.00 1414.00,0,0.0,70.40,0.00,0.01,-9933.44,26,-36.30,0.00,e9b4878f,dev,development
|
||||
|
||||
|
Reference in New Issue
Block a user