• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

moconnell / yolo / 28287989337

27 Jun 2026 11:34AM UTC coverage: 82.408% (-0.1%) from 82.521%
28287989337

Pull #122

github

web-flow
Merge dbb1f8c86 into 3c5d5e03d
Pull Request #122: Bump Microsoft.ApplicationInsights.WorkerService from 2.23.0 to 3.1.0

343 of 393 branches covered (87.28%)

Branch coverage included in aggregate %.

0 of 7 new or added lines in 1 file covered. (0.0%)

2669 of 3262 relevant lines covered (81.82%)

27.04 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/YoloFunk/Program.cs
1
using Microsoft.Azure.Functions.Worker;
2
using Microsoft.Azure.Functions.Worker.Builder;
3
using Microsoft.Azure.Functions.Worker.OpenTelemetry;
4
using Microsoft.Extensions.Configuration;
5
using Microsoft.Extensions.DependencyInjection;
6
using Microsoft.Extensions.Hosting;
7
using Azure.Monitor.OpenTelemetry.AspNetCore;
8
using YoloFunk.Extensions;
9

10
var builder = FunctionsApplication.CreateBuilder(args);
×
11

12
builder.ConfigureFunctionsWebApplication();
×
13

14
var config = builder.Configuration;
×
15

NEW
16
var openTelemetry = builder.Services.AddOpenTelemetry();
×
NEW
17
openTelemetry.UseFunctionsWorkerDefaults();
×
NEW
18
if (!string.IsNullOrWhiteSpace(config["APPLICATIONINSIGHTS_CONNECTION_STRING"]) ||
×
NEW
19
    !string.IsNullOrWhiteSpace(config["ApplicationInsights:ConnectionString"]))
×
NEW
20
{
×
NEW
21
    openTelemetry.UseAzureMonitor();
×
NEW
22
}
×
23

24
builder.Services.AddLogging()
×
25
                .AddHttpClient()
×
26
                .AddSingleton<IConfiguration>(config);
×
27

28
// Raw API payload persistence (Blob/Table Storage)
29
builder.Services.AddAzureStorage(config);
×
30

31
// Register each strategy from configuration
32
var strategiesSection = config.GetSection("Strategies");
×
33
foreach (var strategySection in strategiesSection.GetChildren())
×
34
{
×
35
    var strategyKey = strategySection.Key.ToLowerInvariant();
×
36
    builder.Services.AddStrategy(config, strategyKey, $"Strategies:{strategySection.Key}");
×
37
}
×
38

39
builder.Build().Run();
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc