mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 02:11:10 +00:00
Renames project content from Lumina to Nemera
This commit is contained in:
1 parent
0f659a4877
commit
c583c9327c
6127 files changed
+41884
-41884
No files matched your search
+4
-4
@@ -1,5 +1,5 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using Lumina.Application.Common.Telemetry;
|
||||
using Nemera.Application.Common.Telemetry;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
@@ -7,7 +7,7 @@ using System.Diagnostics.CodeAnalysis;
|
||||
using System.Diagnostics.Metrics;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Application.UnitTests.Common.Telemetry;
|
||||
namespace Nemera.Application.UnitTests.Common.Telemetry;
|
||||
|
||||
/// <summary>
|
||||
/// Test utilities for capturing the traces and metrics emitted by the application telemetry.
|
||||
@@ -57,14 +57,14 @@ internal static class TelemetryTestHelpers
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Reads the value of the <c>lumina.outcome</c> tag from the specified tag list.
|
||||
/// Reads the value of the <c>nemera.outcome</c> tag from the specified tag list.
|
||||
/// </summary>
|
||||
/// <param name="tags">The tag list of a measurement.</param>
|
||||
/// <returns>The outcome tag value, or an empty string when the tag is not present.</returns>
|
||||
private static string GetOutcomeTag(ReadOnlySpan<KeyValuePair<string, object?>> tags)
|
||||
{
|
||||
foreach (KeyValuePair<string, object?> tag in tags)
|
||||
if (tag.Key == "lumina.outcome")
|
||||
if (tag.Key == "nemera.outcome")
|
||||
return tag.Value?.ToString() ?? string.Empty;
|
||||
return string.Empty;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user