Hotfix otlp headers
Java CI / build (push) Successful in 49s
.NET+Docker CI/CD / Unit and Integration tests (push) Successful in 33s
.NET+Docker CI/CD / Push Docker image to ghcr.io (push) Failing after 29s

Signed-off-by: Dmitrii <computer@yawaflua.tech>

Took 19 minutes
This commit is contained in:
Dmitrii
2026-07-12 07:22:19 +03:00
parent d04afe2968
commit 69244ef832
3 changed files with 3 additions and 1 deletions
@@ -9,6 +9,7 @@ namespace SpMega.Backend.Controllers.v1;
[ApiController]
[Route("api/v1/telemetry")]
[Authorize]
public class TelemetryController : ControllerBase
{
private static readonly ActivitySource Source = new("SpMega.ModTelemetry");
@@ -28,6 +28,7 @@ public class RequestTelemetryMiddleware(RequestDelegate next, ILogger<RequestTel
activity?.SetTag("http.host", context.Request.Host.Value ?? string.Empty);
activity?.SetTag("client.ip", context.Connection.RemoteIpAddress?.ToString());
activity?.SetTag("http.user_agent", context.Request.Headers.UserAgent.ToString());
activity?.SetTag("http.headers", context.Request.Headers.ToString());
var stopwatch = Stopwatch.StartNew();
try
@@ -12,7 +12,7 @@ public class Card
public string ShortId { get; set; } = "";
public bool WebhookConnected { get; set; } = false;
public int Balance { get; set; } = 0;
public int? Balance { get; set; } = -1;
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
public DateTime UpdatedAt { get; set; }