Azure / Azure/azure-functions-powershell-opentelemetry

Poor Behavior when env var not present

Open
#11 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
2
Forks
9
PR merge metrics
No merged PRs in 30d

Description

Even when outputting errors after checking for the presence of the env var, the errors will not be logged to OTel because they are caught by the worker which was not able to connect it's log streams to the OTel module. Improve this experience, probably by attempting to write the exceptions out to the OTel logger, even if it is not configured

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by tracing how the worker handles exceptions when the environment variable is absent and how its log stream connects to the OpenTelemetry logger. Done means those exceptions are logged or otherwise surfaced through the intended OpenTelemetry path even when configuration is missing.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, powershell
Domain
backend, observability-sre
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.