Power service updates

- Upgrade to .NET 8
- Remove ApplicationInsights
- Add OpenTelemetry
This commit is contained in:
2024-01-22 18:54:18 -05:00
parent 911e7fbdb9
commit 2a58b26eb3
16 changed files with 361 additions and 366 deletions

View File

@@ -1,13 +1,12 @@
using JetBrains.Annotations;
using System;
namespace ChrisKaczor.HomeMonitor.Power.Service.Models
namespace ChrisKaczor.HomeMonitor.Power.Service.Models;
[PublicAPI]
public class PowerStatusGrouped
{
[PublicAPI]
public class PowerStatusGrouped
{
public DateTimeOffset Bucket { get; set; }
public long AverageGeneration { get; set; }
public long AverageConsumption { get; set; }
}
}
public DateTimeOffset Bucket { get; set; }
public long AverageGeneration { get; set; }
public long AverageConsumption { get; set; }
}