-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix trace and logging user agent, and add tests (#714)
* prepend user agent to avoid overwriting provided options * cloudmock records user agent header * add user agent to text fixture protos * update fixtures with user agent * check user agent in integration tests * set {{version}} in logging exporter * add fixture case for custom user agent
- Loading branch information
Showing
68 changed files
with
3,858 additions
and
89 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -188,6 +188,7 @@ func NewLogTestExporter( | |
ctx, | ||
cfg, | ||
logger, | ||
"latest", | ||
) | ||
require.NoError(t, err) | ||
|
||
|
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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 |
---|---|---|
|
@@ -451,5 +451,6 @@ | |
], | ||
"partialSuccess": true | ||
} | ||
] | ||
], | ||
"userAgent": "opentelemetry-collector-contrib latest grpc-go/1.57.0" | ||
} |
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 |
---|---|---|
|
@@ -406,5 +406,6 @@ | |
], | ||
"partialSuccess": true | ||
} | ||
] | ||
], | ||
"userAgent": "opentelemetry-collector-contrib latest grpc-go/1.57.0" | ||
} |
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 |
---|---|---|
|
@@ -456,5 +456,6 @@ | |
], | ||
"partialSuccess": true | ||
} | ||
] | ||
], | ||
"userAgent": "opentelemetry-collector-contrib latest grpc-go/1.57.0" | ||
} |
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 |
---|---|---|
|
@@ -178,5 +178,6 @@ | |
], | ||
"partialSuccess": true | ||
} | ||
] | ||
], | ||
"userAgent": "opentelemetry-collector-contrib latest grpc-go/1.57.0" | ||
} |
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 |
---|---|---|
|
@@ -26,5 +26,6 @@ | |
], | ||
"partialSuccess": true | ||
} | ||
] | ||
], | ||
"userAgent": "opentelemetry-collector-contrib latest grpc-go/1.57.0" | ||
} |
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 |
---|---|---|
|
@@ -179,5 +179,6 @@ | |
], | ||
"partialSuccess": true | ||
} | ||
] | ||
], | ||
"userAgent": "opentelemetry-collector-contrib latest grpc-go/1.57.0" | ||
} |
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 |
---|---|---|
|
@@ -43,5 +43,6 @@ | |
], | ||
"partialSuccess": true | ||
} | ||
] | ||
], | ||
"userAgent": "opentelemetry-collector-contrib latest grpc-go/1.57.0" | ||
} |
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 |
---|---|---|
|
@@ -776,5 +776,6 @@ | |
], | ||
"partialSuccess": true | ||
} | ||
] | ||
], | ||
"userAgent": "opentelemetry-collector-contrib latest grpc-go/1.57.0" | ||
} |
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 |
---|---|---|
|
@@ -771,5 +771,6 @@ | |
], | ||
"partialSuccess": true | ||
} | ||
] | ||
], | ||
"userAgent": "opentelemetry-collector-contrib latest grpc-go/1.57.0" | ||
} |
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 |
---|---|---|
|
@@ -127,5 +127,6 @@ | |
], | ||
"partialSuccess": true | ||
} | ||
] | ||
], | ||
"userAgent": "opentelemetry-collector-contrib latest grpc-go/1.57.0" | ||
} |
Oops, something went wrong.