10 lines
536 B
C#
10 lines
536 B
C#
namespace LiteCharms.Features.Email.Extensions;
|
|
|
|
public static class EmailTelemetry
|
|
{
|
|
public static readonly ActivitySource Source = new("LiteCharms.EmailService");
|
|
public static readonly Meter Meter = new("LiteCharms.EmailService");
|
|
public static readonly Counter<long> EmailsSent = Meter.CreateCounter<long>("emails_sent_total", "count", "Total successful emails sent");
|
|
public static readonly Counter<long> EmailsFailed = Meter.CreateCounter<long>("emails_failed_total", "count", "Total failed email attempts");
|
|
}
|