Azure / Azure/azure-functions-host
Unexpected characters in the Application Insights Trace
- Dominant language
- C#
- Stars
- 2k
- Forks
- 482
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 38
Description
- Create a function App with Application Insight configured.
- Create an http triggerd function and add the following code to the function.
```
for(int i = 0; i < 200; i++){
log.LogInformation("会員コード, ステータス");
}
```
- Execute the function
- Open the associated Application Insight resource-> Logs ->Traces
- Go through all the rows to find unexpected characters in the Trace as seen in the screenshot below.

Contributor guide
Research direction
Reproduce the C# HTTP-triggered function with Application Insights enabled, logging the Japanese text repeatedly as described. Inspect the associated Application Insights resource under Logs > Traces and compare the displayed characters with the original message; done means the trace rows show the logged text without unexpected characters.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, csharp
- Domain
- observability-sre
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100