-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappsettings.json
More file actions
83 lines (83 loc) · 2.21 KB
/
appsettings.json
File metadata and controls
83 lines (83 loc) · 2.21 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"Serilog": {
"Using": ["Serilog.Sinks.Console", "Serilog.Sinks.File"],
"MinimumLevel": {
"Default": "Information",
"Override": {
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information",
"Microsoft.EntityFrameworkCore": "Warning",
"Microsoft.EntityFrameworkCore.Database.Command": "Debug",
"System": "Warning"
}
},
"WriteTo": [
{
"Name": "Console",
"Args": {
"outputTemplate": "[{Timestamp:HH:mm:ss} {Level:u3}] {SourceContext}: {Message:lj}{NewLine}{Exception}"
}
},
{
"Name": "File",
"Args": {
"path": "C:\\ProgramData\\ThingConnect.Pulse\\logs\\pulse-.log",
"rollingInterval": "Day",
"retainedFileCountLimit": 30,
"fileSizeLimitBytes": 10485760,
"rollOnFileSizeLimit": true,
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} [{Level:u3}] [{SourceContext}] {Message:lj}{NewLine}{Exception}",
"shared": true
}
}
],
"Enrich": ["FromLogContext", "WithMachineName", "WithProcessId", "WithThreadId"],
"Properties": {
"Application": "ThingConnect.Pulse",
"Environment": "Development"
}
},
"Logging": {
"Retention": {
"DaysToKeep": 30,
"MaxTotalSizeMB": 500,
"CleanupSchedule": "02:00:00"
}
},
"AllowedHosts": "*",
"Urls": "http://[::]:8090",
"ConnectionStrings": {
"DefaultConnection": "Data Source=C:\\ProgramData\\ThingConnect.Pulse\\data\\pulse.db"
},
"Data": {
"Retention": {
"RawDays": 60,
"Rollup15mDays": 365,
"RollupDailyDays": -1,
"OutageDays": -1,
"ConfigHistoryDays": -1
},
"Pruning": {
"Enabled": true,
"IntervalHours": 168,
"BatchSize": 1000,
"MaxExecutionMinutes": 30
}
},
"Pulse": {
"ConfigPath": "C:\\ProgramData\\ThingConnect.Pulse\\config\\config.yaml",
"DataRetentionDays": 60,
"ProbeSettings": {
"MaxConcurrentProbes": 100,
"TimeoutMs": 5000,
"RetryCount": 2,
"FlapDamping": {
"FailureThreshold": 2,
"SuccessThreshold": 2
}
}
},
"Monitoring": {
"MaxConcurrentProbes": 100
}
}