Azure / Azure/azure-functions-host

Inspect telemetry to analyze if configuration section is used

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

Description

Below log is added to analyze if this configuration section is added by any scenario/component. If it is not being used, we can cleanup the code using this config section - [Link](https://github.com/Azure/azure-functions-host/blob/dev/src/WebJobs.Script/Workers/Rpc/Configuration/RpcWorkerConfigFactory.cs#L51-L57). We can cleanup this telemetry too once we have enough information regarding this.

config section: `{RpcWorkerConstants.LanguageWorkersSectionName}:{WorkerConstants.WorkersDirectorySectionName}`

(below code is no in dev branch yet. Will update the link pointing to dev branch as soon as PR is merged).

https://github.com/Azure/azure-functions-host/blob/0ee087135d89bde55c04640498862f2ba07ce21e/src/WebJobs.Script/Workers/Rpc/Configuration/WorkerConfigurationResolverOptionsSetup.cs#L96

Contributor guide

Open the contributing guide

Research direction

Start with RpcWorkerConfigFactory.cs lines 51-57 and WorkerConfigurationResolverOptionsSetup.cs line 96. Inspect the telemetry for RpcWorkerConstants.LanguageWorkersSectionName:WorkerConstants.WorkersDirectorySectionName and determine whether any scenario or component uses it. Done means documenting the usage finding and, if unused, identifying the related configuration code and telemetry for cleanup.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp
Domain
backend
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.