feat: ship agent-first mission control v0.2.57
CI - Build & Test / Backend (.NET) (push) Successful in 42s
CI - Build & Test / Frontend (Vue/TS) (push) Successful in 2m46s
CI - Build & Test / Security Check (push) Successful in 3s
CI - Build & Test / Deploy Nexus (push) Successful in 56s

This commit is contained in:
AzuTear
2026-07-31 22:39:47 +02:00
parent 3bc7622977
commit f5552218bc
535 changed files with 95242 additions and 8791 deletions
@@ -0,0 +1,35 @@
using System.Diagnostics;
using OpenTelemetry;
namespace Nexus.Api.Observability;
/// <summary>
/// Removes content-bearing attributes before an activity reaches an exporter.
/// Standard HTTP exception recording is disabled separately so exception
/// events cannot contain messages or stack traces.
/// </summary>
public sealed class NexusTelemetryRedactionProcessor : BaseProcessor<Activity>
{
private static readonly HashSet<string> RedactedTagNames = new(
[
"url.query",
"url.full",
"url.path",
"http.url",
"http.target",
"exception.message",
"exception.stacktrace",
"db.statement",
"db.query.text"
],
StringComparer.OrdinalIgnoreCase);
public override void OnEnd(Activity activity)
{
foreach (var tag in activity.TagObjects.ToArray())
{
if (RedactedTagNames.Contains(tag.Key))
activity.SetTag(tag.Key, null);
}
}
}