-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Expand file tree
/
Copy pathApp.config
More file actions
32 lines (31 loc) · 2.1 KB
/
App.config
File metadata and controls
32 lines (31 loc) · 2.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
</startup>
<connectionStrings>
<add name="Db" connectionString="Server=tcp:YOUR_SERVER.database.windows.net,1433;Database=ConnectedCar;User ID=YOUR_USERNAME;Password=YOUR_PASSWORD;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30;" />
</connectionStrings>
<appSettings>
<add key="insertSPName" value="InsertEvent" /> <!--Stored Procedure Name-->
<add key="numberOfTasks" value="5" /> <!--Number of concurrent async tasks that the Data Generator will use-->
<add key="numberOfCars" value="2500" /> <!--Number of unique cars-->
<add key="batchSize" value="250" /> <!--Row Batch Size that every task produces-->
<add key="commandDelay" value="10" /> <!--Delay between sql commands. You can set this to 0 for max high volume workload-->
<add key="commandTimeout" value="600" /> <!--SQL Command Timeout-->
<add key="enableShock" value="0" /> <!--Flag that turns on/off the data shock. This should be set to 0 for max high volume workload-->
<add key="rpsFrequency" value="1000" /> <!--How frequently the Data Generator Rows Per Second(RPS) is polled-->
<add key="logFileName" value="log.txt" /> <!--Log File Path-->
<!--random number generator settings-->
<add key="HighSpeedProbabilityPower" value="0.5" />
<add key="LowSpeedProbabilityPower" value="0.9" />
<add key="HighOilProbabilityPower" value="0.3" />
<add key="LowOilProbabilityPower" value="1.2" />
<add key="HighTyrePressureProbabilityPower" value="0.5" />
<add key="LowTyrePressureProbabilityPower" value="1.7" />
<add key="HighOutsideTempProbabilityPower" value="0.3" />
<add key="LowOutsideTempProbabilityPower" value="1.2" />
<add key="HighEngineTempProbabilityPower" value="0.3" />
<add key="LowEngineTempProbabilityPower" value="1.2" />
</appSettings>
</configuration>