/
appsettings.json
65 lines (65 loc) · 1.89 KB
/
appsettings.json
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
{
"Addons": {
"CouchbaseContext": {
"ClassName": "Tweek.Drivers.Context.Couchbase.CouchBaseServiceAddon",
"AssemblyName": "Tweek.Drivers.Context.Couchbase"
},
"RedisContext": {
"ClassName": "Tweek.Drivers.Context.Redis.RedisServiceAddon",
"AssemblyName": "Tweek.Drivers.Context.Redis"
},
"InMemoryContext": {
"ClassName": "Tweek.Drivers.Context.InMemory.InMemoryServiceAddon",
"AssemblyName": "Tweek.Drivers.Context.InMemory"
},
"MultiContext": {
"ClassName": "Tweek.Drivers.Context.Multi.MultiServiceAddon",
"AssemblyName": "Tweek.Drivers.Context.Multi"
},
"MinioRules": {
"ClassName": "Tweek.Drivers.Rules.Minio.RulesMinioAddon",
"AssemblyName": "Tweek.Drivers.Rules.Minio"
},
"FileSystemRules": {
"ClassName": "Tweek.Drivers.Rules.FileSystem.RulesFileSystemAddon",
"AssemblyName": "Tweek.Drivers.Rules.FileSystem"
},
"ApplicationInsights": {
"ClassName": "Tweek.Addons.ApplicationInsights.ApplicationInsightsAddon",
"AssemblyName": "Tweek.Addons.ApplicationInsights"
}
},
"UseAddon": {
"Context": "RedisContext",
"Rules": "MinioRules",
"Metrics": "ApplicationInsights"
},
"Serilog": {
"MinimumLevel": "Warning",
"Enrich": ["FromLogContext", "WithMachineName", "WithThreadId"],
"Properties": {
"Application": "TweekApi"
}
},
"MetricsOptions": {
"DefaultContextLabel": "TweekApi",
"Enabled": true
},
"MetricsWebTrackingOptions": {
"ApdexTrackingEnabled": true,
"ApdexTSeconds": 0.5,
"IgnoredRoutesRegexPatterns": [],
"OAuth2TrackingEnabled": false
},
"MetricEndpointsOptions": {
"MetricsEndpointEnabled": true,
"MetricsTextEndpointEnabled": true,
"EnvironmentInfoEndpointEnabled": true
},
"Context": {
"Validation": {
"Mode": "Flexible",
"ErrorPolicy": "bypass_log"
}
}
}