Azure / Azure/azure-functions-host

Log application_Version in App Insights

Open
#2,890 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C#
Stars
2k
Forks
482
Avg merge
2d 12h
Merged PRs (30d)
38

Description

From https://github.com/MicrosoftDocs/azure-docs/issues/9030

If someone is using an application version in their precompiled assemblies, we may be able to apply that to their App Insights logging in the `application_Version` field. It's somewhat possible to do this manually today with structured logging, but that only applies to user logs.

Options for non-precompiled assemblies could be to generate a hash on startup based on files -- we've prototyped this in the past but never went any further.

Contributor guide

Open the contributing guide

Research direction

No file, test, or entry point is named. Start by reviewing the existing App Insights logging path and how precompiled assemblies expose an application version; clarify whether the goal is to support precompiled assemblies, generate a startup hash for other assemblies, or both, then define a testable version value in the application_Version field.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp
Domain
observability
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.