Skip to content
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

Adding Missing Fields to Linux Logger: ProviderName, TaskName, ActivityId, RelatedActivityId, StampName, etc #1515

Merged
merged 3 commits into from
Oct 6, 2020

Conversation

davidmrdavid
Copy link
Contributor

@davidmrdavid davidmrdavid commented Oct 6, 2020

This was originally a small test PR, but now it's grown in scope

This PR adds missing fields to our LinuxLogger class, providing now a fuller scope of logs and, hopefully, enough to make our telemetry and existing diagnostics tools more effective in debugging linux apps.

The logging validation test has been updated accordingly

@davidmrdavid davidmrdavid requested a review from bachuv October 6, 2020 00:02
@davidmrdavid davidmrdavid marked this pull request as draft October 6, 2020 00:43
@davidmrdavid davidmrdavid changed the title Removing Moniker from test and JSON output Draft: Removing Moniker from test and JSON output Oct 6, 2020
@davidmrdavid davidmrdavid changed the title Draft: Removing Moniker from test and JSON output Adding Missing Fields to Linux Logger Oct 6, 2020
@davidmrdavid davidmrdavid changed the title Adding Missing Fields to Linux Logger Adding Missing Fields to Linux Logger: ProviderName, TaskName, ActivityId, RelatedActivityId, StampName, etc Oct 6, 2020
@davidmrdavid davidmrdavid marked this pull request as ready for review October 6, 2020 02:34
@davidmrdavid davidmrdavid requested a review from cgillum October 6, 2020 16:13
Assert.Contains("EventId", keys);
Assert.Contains("TimeStamp", keys);
Assert.Contains("RoleInstance", keys);
Assert.Contains("Tenant", keys);
Assert.Contains("SourceMoniker", keys);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is what was breaking the test in master

Comment on lines +435 to +438
Assert.Contains("EventStampName", keys);
Assert.Contains("EventPrimaryStampName", keys);
Assert.Contains("ProviderName", keys);
Assert.Contains("TaskName", keys);
Copy link
Contributor Author

@davidmrdavid davidmrdavid Oct 6, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the rest of this PR should enable us to additionally also log these 4 properties in linux. That's it!

@davidmrdavid davidmrdavid merged commit b5896e6 into dev Oct 6, 2020
@davidmrdavid davidmrdavid deleted the dajusto/removeMoniker branch October 6, 2020 17:35
davidmrdavid added a commit that referenced this pull request Jan 28, 2021
davidmrdavid added a commit that referenced this pull request Jan 28, 2021
davidmrdavid added a commit that referenced this pull request Jan 28, 2021
* Replace the impl of Syscall.rename and remove Mono.Posix.NETStandard (follow-up to #1641) (#1643)

Co-authored-by: Tatsuro Shibamura <me@shibayan.jp>

* Adding Missing Fields to Linux Logger: ProviderName, TaskName, ActivityId, RelatedActivityId, StampName, etc (#1515)

* Linux Logger now supports the legacy regex logging path (#1522)

"It's done, it's finally done" - Frodo

Co-authored-by: David Justo <dajusto@microsoft.com>
Co-authored-by: Chris Gillum <cgillum@microsoft.com>

* Replace the impl of Syscall.rename and remove Mono.Posix.NETStandard (follow-up to #1641) (#1643)

Co-authored-by: Tatsuro Shibamura <me@shibayan.jp>

* Shift tracing inside conditional check

* Added Tracing options, project compiles

* Disable verbosity check in V1

* Remove unecessary xml file, remove release notes, update release version, update azurestorage

* Update azurestorage refs in test csprojs

* downgrade back to azurestorage 1.7.7

Co-authored-by: Tatsuro Shibamura <me@shibayan.jp>
Co-authored-by: David Justo <dajusto@microsoft.com>
Co-authored-by: Chris Gillum <cgillum@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants