using System.Threading;
using System.Threading.Tasks;

namespace EonaCat.LogStack.Telemetry;

/// <summary>
/// Export telemetry snapshots to external systems.
/// Implementations can send to Prometheus, OpenTelemetry collectors, databases, etc.
/// </summary>
public interface ITelemetryExporter
{
    Task ExportAsync(TelemetrySnapshot snapshot, CancellationToken cancellationToken = default);
}