-
Notifications
You must be signed in to change notification settings - Fork 297
Make internal telemetrycontext public #3137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 16 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
83b291f
initial draft for public context
harsimar 1b65fa9
component context
harsimar 1426546
add device version
harsimar f817df5
public cloud
harsimar 13b81bb
remove context not in schema, remove metric context support, need to …
harsimar 38e697b
p1 - add processors, will use later
harsimar e4a8793
more changes, figure out why logging processor doesn't work in tests …
harsimar 485ff79
cleanup
harsimar eb4db4d
Add TelemetryContextLogProcessorTests and optimize TelemetryContext p…
rajkumar-rangaraj 696acc8
Add TelemetryContext processors for Activity and Logger in Applicatio…
rajkumar-rangaraj 2985a41
fix user agent
harsimar 0883c23
bring back user agent & update documentation
harsimar 888664c
Merge branch 'main' into harskaur/publicContext
harsimar c0abfd4
Merge branch 'main' into harskaur/publicContext
harsimar 956a581
Remove Cloud and Component context settings from HomeController example
Copilot 384a7c3
Replace real connection string with dummy value; remove Setting Conte…
Copilot 7d23d45
Replace Assert.Fail with Assert.True(false, ...) for xUnit v2 compati…
Copilot 97e9ae9
pr comments
harsimar 4c30f54
Merge branch 'harskaur/publicContext' of https://github.com/microsoft…
harsimar 13b1932
Merge branch 'main' into harskaur/publicContext
harsimar c984b3a
Merge branch 'main' into harskaur/publicContext
rajkumar-rangaraj File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| Microsoft.ApplicationInsights.DataContracts.TelemetryContext.Device.get -> Microsoft.ApplicationInsights.Extensibility.Implementation.DeviceContext | ||
| Microsoft.ApplicationInsights.DataContracts.TelemetryContext.Session.get -> Microsoft.ApplicationInsights.Extensibility.Implementation.SessionContext | ||
| Microsoft.ApplicationInsights.Extensibility.Implementation.DeviceContext | ||
| Microsoft.ApplicationInsights.Extensibility.Implementation.DeviceContext.Id.get -> string | ||
| Microsoft.ApplicationInsights.Extensibility.Implementation.DeviceContext.Id.set -> void | ||
| Microsoft.ApplicationInsights.Extensibility.Implementation.DeviceContext.Model.get -> string | ||
| Microsoft.ApplicationInsights.Extensibility.Implementation.DeviceContext.Model.set -> void | ||
| Microsoft.ApplicationInsights.Extensibility.Implementation.DeviceContext.OperatingSystem.get -> string | ||
| Microsoft.ApplicationInsights.Extensibility.Implementation.DeviceContext.OperatingSystem.set -> void | ||
| Microsoft.ApplicationInsights.Extensibility.Implementation.DeviceContext.Type.get -> string | ||
| Microsoft.ApplicationInsights.Extensibility.Implementation.DeviceContext.Type.set -> void | ||
| Microsoft.ApplicationInsights.Extensibility.Implementation.OperationContext.SyntheticSource.get -> string | ||
| Microsoft.ApplicationInsights.Extensibility.Implementation.OperationContext.SyntheticSource.set -> void | ||
| Microsoft.ApplicationInsights.Extensibility.Implementation.SessionContext | ||
| Microsoft.ApplicationInsights.Extensibility.Implementation.SessionContext.Id.get -> string | ||
| Microsoft.ApplicationInsights.Extensibility.Implementation.SessionContext.Id.set -> void | ||
| Microsoft.ApplicationInsights.Extensibility.Implementation.UserContext.AccountId.get -> string | ||
| Microsoft.ApplicationInsights.Extensibility.Implementation.UserContext.AccountId.set -> void | ||
| Microsoft.ApplicationInsights.Extensibility.Implementation.UserContext.UserAgent.get -> string | ||
|
harsimar marked this conversation as resolved.
Outdated
|
||
| Microsoft.ApplicationInsights.Extensibility.Implementation.UserContext.UserAgent.set -> void | ||
| Microsoft.ApplicationInsights.DataContracts.TelemetryContext.Component.get -> Microsoft.ApplicationInsights.Extensibility.Implementation.ComponentContext | ||
| Microsoft.ApplicationInsights.Extensibility.Implementation.ComponentContext | ||
| Microsoft.ApplicationInsights.Extensibility.Implementation.ComponentContext.Version.get -> string | ||
| Microsoft.ApplicationInsights.Extensibility.Implementation.ComponentContext.Version.set -> void | ||
| Microsoft.ApplicationInsights.DataContracts.TelemetryContext.Cloud.get -> Microsoft.ApplicationInsights.Extensibility.Implementation.CloudContext | ||
| Microsoft.ApplicationInsights.Extensibility.Implementation.CloudContext | ||
| Microsoft.ApplicationInsights.Extensibility.Implementation.CloudContext.RoleName.get -> string | ||
| Microsoft.ApplicationInsights.Extensibility.Implementation.CloudContext.RoleName.set -> void | ||
| Microsoft.ApplicationInsights.Extensibility.Implementation.CloudContext.RoleInstance.get -> string | ||
| Microsoft.ApplicationInsights.Extensibility.Implementation.CloudContext.RoleInstance.set -> void | ||
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.