-
Notifications
You must be signed in to change notification settings - Fork 440
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix URL in ES exporter, fix ipv6 supporting for http client. (#3081)
- Loading branch information
Showing
3 changed files
with
92 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -123,7 +123,62 @@ TEST(UrlParserTests, BasicTests) | |
{"path", "/path1@bbb/path2"}, | ||
{"query", "q1=a1&q2=a2"}, | ||
{"success", "true"}}}, | ||
|
||
{"http://1.2.3.4/path1/path2?q1=a1&q2=a2", | ||
{{"host", "1.2.3.4"}, | ||
{"port", "80"}, | ||
{"scheme", "http"}, | ||
{"path", "/path1/path2"}, | ||
{"query", "q1=a1&q2=a2"}, | ||
{"success", "true"}}}, | ||
{"user:[email protected]:8080/path1/path2?q1=a1&q2=a2", | ||
{{"host", "1.2.3.4"}, | ||
{"port", "8080"}, | ||
{"scheme", "http"}, | ||
{"path", "/path1/path2"}, | ||
{"query", "q1=a1&q2=a2"}, | ||
{"success", "true"}}}, | ||
{"https://[email protected]/path1/path2?q1=a1&q2=a2", | ||
{{"host", "1.2.3.4"}, | ||
{"port", "443"}, | ||
{"scheme", "https"}, | ||
{"path", "/path1/path2"}, | ||
{"query", "q1=a1&q2=a2"}, | ||
{"success", "true"}}}, | ||
{"http://1.2.3.4/path1@bbb/path2?q1=a1&q2=a2", | ||
{{"host", "1.2.3.4"}, | ||
{"port", "80"}, | ||
{"scheme", "http"}, | ||
{"path", "/path1@bbb/path2"}, | ||
{"query", "q1=a1&q2=a2"}, | ||
{"success", "true"}}}, | ||
{"http://[fe80::225:93da:bfde:b5f5]/path1/path2?q1=a1&q2=a2", | ||
{{"host", "[fe80::225:93da:bfde:b5f5]"}, | ||
{"port", "80"}, | ||
{"scheme", "http"}, | ||
{"path", "/path1/path2"}, | ||
{"query", "q1=a1&q2=a2"}, | ||
{"success", "true"}}}, | ||
{"user:password@[fe80::225:93da:bfde:b5f5]:8080/path1/path2?q1=a1&q2=a2", | ||
{{"host", "[fe80::225:93da:bfde:b5f5]"}, | ||
{"port", "8080"}, | ||
{"scheme", "http"}, | ||
{"path", "/path1/path2"}, | ||
{"query", "q1=a1&q2=a2"}, | ||
{"success", "true"}}}, | ||
{"https://user@[fe80::225:93da:bfde:b5f5]/path1/path2?q1=a1&q2=a2", | ||
{{"host", "[fe80::225:93da:bfde:b5f5]"}, | ||
{"port", "443"}, | ||
{"scheme", "https"}, | ||
{"path", "/path1/path2"}, | ||
{"query", "q1=a1&q2=a2"}, | ||
{"success", "true"}}}, | ||
{"http://[fe80::225:93da:bfde:b5f5]/path1@bbb/path2?q1=a1&q2=a2", | ||
{{"host", "[fe80::225:93da:bfde:b5f5]"}, | ||
{"port", "80"}, | ||
{"scheme", "http"}, | ||
{"path", "/path1@bbb/path2"}, | ||
{"query", "q1=a1&q2=a2"}, | ||
{"success", "true"}}}, | ||
}; | ||
for (auto &url_map : urls_map) | ||
{ | ||
|
3910b04
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possible performance regression was detected for benchmark 'OpenTelemetry-cpp api Benchmark'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold
2
.BM_SpinLockThrashing/1/process_time/real_time
1.6807089460656999
ms/iter0.08150736490885417
ms/iter20.62
BM_SpinLockThrashing/2/process_time/real_time
0.4759903390507037
ms/iter0.22357382230310632
ms/iter2.13
This comment was automatically generated by workflow using github-action-benchmark.