Azure / Azure/azure-functions-host

Unexpected characters in the Application Insights Trace

Open
#4,731 2 comments 0 reactions 0 assignees View on GitHub
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.

![image](https://user-images.githubusercontent.com/8119379/62073837-5f45ec80-b1f6-11e9-87a0-aa4a50b1b2d6.png)

Contributor guide

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.