Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[Blocker] Add health checks, telemetry and structured logging

Open
#44 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
30/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
azure, csharp

Research direction

Start by reading LearnStack/Program.cs to understand the current hosting and logging setup, then locate the database context and App Service configuration. The work is done when /healthz reports database availability, Blazor circuit failures and specified application failures are correlated in telemetry, and the requested error-rate alert and dashboard are configured.

Written by the indexing model from the issue text.

Description

enhancement

Tier 1 — release blocker

Problem

There is no /healthz endpoint, no Application Insights, no OpenTelemetry and no structured logging. When production misbehaves the only signal is console output. Blazor Server in particular needs circuit-level visibility — dropped circuits, unhandled component exceptions and SignalR reconnects are invisible today.

Evidence
  • No AddHealthChecks, ApplicationInsights, OpenTelemetry or Serilog reference anywhere
  • LearnStack/Program.cs — default console logging only
Proposed fix
  1. AddHealthChecks().AddDbContextCheck<ApplicationDbContext>() mapped at /healthz, wired to the App Service health probe.
  2. Add Application Insights (or OpenTelemetry exporting to Azure Monitor).
  3. Track: circuit open/close, unhandled component exceptions, OpenGraph fetch failures, login failures, slow queries.
  4. Add a dashboard and an alert on the error rate.
Acceptance criteria
  • /healthz returns degraded when the database is unreachable
  • Unhandled exceptions in a Blazor circuit appear in telemetry with user/session correlation
  • An alert fires on sustained 5xx or circuit-failure rate
Dominant language
HTML
Stars
10
Forks
0
Avg merge
2h 35m
Merged PRs (30d)
21

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from kasuken/LearnStack

All issues in kasuken/LearnStack

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.