提交 ce6e5187 编写于 作者: lwplvx's avatar lwplvx

基本配置

上级 6d555846
......@@ -6,5 +6,28 @@
"Microsoft.Hosting.Lifetime": "Information"
}
},
"HttpReportsDashboard": {
"ExpireDay": 3,
"Storage": {
//"ConnectionString": "DataBase=HttpReports;Data Source=localhost;User Id=root;Password=123456;",
"ConnectionString": "Server=xx.xx.xx.xx; Port=3306;User Id=httpreportsuser;Password=httpreports123456;Database=HttpReports;Allow User Variables=True",
"DeferSecond": 10,
"DeferThreshold": 100
},
"Check": {
"Mode": "Self",
"Switch": true,
"Endpoint": "",
"Range": "500,2000"
},
"Mail": {
"Server": "smtp.163.com",
"Port": 465,
"Account": "HttpReports@qq.com",
"Password": "*******",
"EnableSsL": true,
"Switch": true
}
},
"AllowedHosts": "*"
}
......@@ -28,5 +28,20 @@
"SqlServer": "Data Source=192.168.1.139;Initial Catalog=PTS2;User ID=sa;Password=;Encrypt=False;TrustServerCertificate=False;Pooling=true;max Pool Size=50;min Pool Size=1;MultipleActiveResultSets=True",
"PostgreSql": "Server=localhost;Database=Simon_blog;User ID=xxxxxx;Password=666",
"Sqlite": "Data Source=D:/xxx.db;"
},
"HttpReports": {
"Transport": {
"CollectorAddress": "http://localhost:7000/",
"DeferSecond": 10,
"DeferThreshold": 100
},
"Server": "http://localhost:5000",
"Service": "User",
"Switch": true,
"RequestFilter": [ "/api/health/*", "/HttpReports*" ],
"WithRequest": true,
"WithResponse": true,
"WithCookie": true,
"WithHeader": true
}
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册