Browse Source

增加日志

datasub12_previous
H Vs 1 year ago
parent
commit
c60e5914b7
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      HealthMonitor.Service/Biz/db/TDengineService.cs

+ 1
- 0
HealthMonitor.Service/Biz/db/TDengineService.cs View File

@@ -363,6 +363,7 @@ namespace HealthMonitor.Service.Biz.db


public async Task<string?> GernalRestSqlResTextAsync(string sql) public async Task<string?> GernalRestSqlResTextAsync(string sql)
{ {
_logger.LogInformation($"SQL: {nameof(GernalRestSqlResTextAsync)}--{sql}");
var url = $"http://{_configTDengineService.Host}:{_configTDengineService.RestPort}/rest/sql/{_configTDengineService.DB}"; var url = $"http://{_configTDengineService.Host}:{_configTDengineService.RestPort}/rest/sql/{_configTDengineService.DB}";
List<KeyValuePair<string, string>> headers = new() List<KeyValuePair<string, string>> headers = new()
{ {


Loading…
Cancel
Save