aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Telemetry/Reporting/DestinationStatusSummary.cs
blob: a8dc52123a10b0fed0181918dce5d9f693e00844 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
namespace Tango.Telemetry.Reporting
{
    /// <summary>
    /// Represents an aggregated summary of telemetry publish results for a specific destination,
    /// tracking the number of successful, failed, postponed, and unavailable attempts.
    /// </summary>
    public class DestinationStatusSummary
    {
        /// <summary>
        /// Gets or sets the name of the telemetry destination (e.g., IoTHub, LocalStorage).
        /// </summary>
        public string DestinationName { get; set; }

        /// <summary>
        /// Gets or sets the number of telemetry packages successfully published to this destination.
        /// </summary>
        public int Passed { get; set; }

        /// <summary>
        /// Gets or sets the number of telemetry packages that failed to publish to this destination.
        /// </summary>
        public int Failed { get; set; }

        /// <summary>
        /// Gets or sets the number of telemetry packages that were postponed for this destination,
        /// typically due to retry logic or temporary conditions.
        /// </summary>
        public int Postponed { get; set; }

        /// <summary>
        /// Gets or sets the number of telemetry packages that could not be published due to the destination being unavailable.
        /// </summary>
        public int Unavailable { get; set; }
    }

}