Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
Qinyouzeng committed Nov 6, 2023
1 parent 3e9405f commit 7397ece
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ public Task<PaginatedListBase<TraceResponseDto>> ListAsync(BaseRequestDto query)
{
return Task.FromResult(_dbConnection.QueryTrace(query));
}

//需要优化

public Task<PaginatedListBase<TraceResponseDto>> ScrollAsync(BaseRequestDto query)
{
return Task.FromResult(_dbConnection.QueryTrace(query));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public static Activity AddMasaSupplement(this Activity activity, HttpResponse ht
{
activity.SetTag(OpenTelemetryAttributeName.Http.RESPONSE_CONTENT_LENGTH, httpResponse.ContentLength);
activity.SetTag(OpenTelemetryAttributeName.Http.RESPONSE_CONTENT_TYPE, httpResponse.ContentType);
activity.SetTag(OpenTelemetryAttributeName.Host.NAME, Dns.GetHostName());
activity.SetTag(OpenTelemetryAttributeName.Host.NAME, Dns.GetHostName());

if ((httpResponse.HttpContext.User?.Claims.Count() ?? 0) > 0)
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// Copyright (c) MASA Stack All rights reserved.
// Licensed under the MIT License. See LICENSE.txt in the project root for license information.

using Microsoft.Extensions.Logging;

namespace Masa.Contrib.StackSdks.Tsc.Clickhouse.Tests;

[TestClass]
Expand Down

0 comments on commit 7397ece

Please sign in to comment.