Azure / Azure/azure-functions-host
host.json schema validation — add OTel specific rules
- Dominant language
- C#
- Stars
- 2k
- Forks
- 482
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 38
Description
#### What problem would the feature you're requesting solve? Please describe.
With OTel, users can sometimes configure host.json in a way that is incorrect, such as mixing OTel and App Insights settings.
#### Describe the solution you'd like
Update host.json schema on schemastore to flag incompatible configurations related to OTel, such as `telemetryMode=OpenTelemetry` but there's an `appInsights` section defined with sampling, etc.
#### Describe alternatives you've considered
Add warnings to the host, which we want to do as well.
@RohitRanjanMS
Contributor guide
Research direction
Start by locating the host.json schema on SchemaStore and review the telemetryMode and appInsights settings described in the issue. Define the incompatible OpenTelemetry and Application Insights combinations that should be flagged, then verify the schema reports those configurations while allowing valid ones.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- json
- Domain
- backend, observability-sre
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100