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

fast worward #1

Merged
merged 172 commits into from
Aug 24, 2023
Merged

fast worward #1

merged 172 commits into from
Aug 24, 2023

Conversation

AartBluestoke
Copy link
Owner

No description provided.

gandharbika-deb and others added 30 commits August 7, 2020 13:27
We are logging warnings if we are not able to parse the log files due to invalid or incorrect entries. However, we are adding those null values to "entries" list, which in turn causing NullReferenceException from Microsoft.Azure.WebJobs.Host.Blobs.Listeners.GetPathsForValidBlobWrites method at line no 88. 
I have encountered one issue where same storage has been used by multiple resources and there were invalid entries within log file. When Azure Function (Blob triggered) tried to parse those logs it started throwing : "An unhandled exception has occurred. Host is shutting down." and host was getting restarted. This situation should not throw unhandled exception. Please see the below exception.

System.NullReferenceException : Object reference not set to an instance of an object.
   at Microsoft.Azure.WebJobs.Host.Blobs.Listeners.BlobLogListener.<>c.<GetPathsForValidBlobWrites>b__12_0(StorageAnalyticsLogEntry entry) at C:\projects\azure-webjobs-sdk-rqm4t\src\Microsoft.Azure.WebJobs.Extensions.Storage\Blobs\Listeners\BlobLogListener.cs : 88
   at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
   at async Microsoft.Azure.WebJobs.Host.Blobs.Listeners.BlobLogListener.GetRecentBlobWritesAsync(CancellationToken cancellationToken,Int32 hoursWindow) at C:\projects\azure-webjobs-sdk-rqm4t\src\Microsoft.Azure.WebJobs.Extensions.Storage\Blobs\Listeners\BlobLogListener.cs : 75
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at async Microsoft.Azure.WebJobs.Host.Blobs.Listeners.PollLogsStrategy.ExecuteAsync(CancellationToken cancellationToken) at C:\projects\azure-webjobs-sdk-rqm4t\src\Microsoft.Azure.WebJobs.Extensions.Storage\Blobs\Listeners\PollLogsStrategy.cs : 115
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at async Microsoft.Azure.WebJobs.Host.Blobs.Listeners.ScanBlobScanLogHybridPollingStrategy.ExecuteAsync(CancellationToken cancellationToken) at C:\projects\azure-webjobs-sdk-rqm4t\src\Microsoft.Azure.WebJobs.Extensions.Storage\Blobs\Listeners\ScanBlobScanLogHybridPollingStrategy.cs : 128
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at async Microsoft.Azure.WebJobs.Host.Timers.TaskSeriesTimer.RunAsync(CancellationToken cancellationToken) at C:\projects\azure-webjobs-sdk-rqm4t\src\Microsoft.Azure.WebJobs.Host\Timers\TaskSeriesTimer.cs : 147
Reducing the number of async transitions in the core execution pipeline
ApplicationInsights performance improvements
* Rename log param to blobName
Fix name collision in indexer cache (#2645)
Fixing SDK version to 3.0.27
* add BinaryData default bindings.

* poke CI?

* fix build.

* fix build.
This change fixes #2349 by adding a description for the Microsoft.Azure.WebJobs.Extensions.Storage library.

By default, SDK-style nuget projects will use the default value of "Package description", which is not very helpful. The description was written to be similar to the format used by other WebJobs packages.
alrod and others added 29 commits November 8, 2022 10:50
* Replace Flush() method with FlushAsync()

* Revert WebJobs.Logging.ApplicationInsights.csproj

* Add DiagnosticListener to log flushing exceptions

* Update comment

* Remove unnecessary using statement

* Add default timeout of 5 seconds

* Modify diagnostic listener name and add WebJobs diagnostic prefix

* Upgrade Moq framework used and add unit tests

* Add ApplicationInsightsDiagnosticConstants type to public surface area and increase delay in unit test

* Add ApplicationInsightsDiagnosticConstants to other unit tests

* Add timeout to CancellationToken

* Update comment and adjust unit tests

* Update comments and flushing message

* Dispose DiagnosticListener
Performance Improvements - AI Logging pipeline
Co-authored-by: Andy Staples <[email protected]>
…ot decommissioning (#2997)

* Add prIssueManagement.yml to onboard repo to GitOps.ResourceManagement as FabricBot replacement

Owners of the FabricBot configuration should have received email notification. The same information contained in the email is published internally at: https://aka.ms/gim/fabricbot. Details on the replacement service and the syntax of the new yaml configuration file is available publicly at: https://microsoft.github.io/GitOps/policies/resource-management.html

Please review and merge this PR to complete the process of onboarding to the new service.

* Deleting fabricbot.json

---------

Co-authored-by: microsoft-github-policy-service[bot] <77245923+microsoft-github-policy-service[bot]@users.noreply.github.com>
* Add structured logging support to custom log states.
* Make sure formatters don't capture locals.
* Update LoggerExtensions.cs
We ignore these `Aggregate`, `Result` and `Metric` logs and don't log it anywhere. We rely on the formatted message to ignore these logs (one example here https://github.com/Azure/azure-functions-host/blob/b42df4d4e63ab87f7a737f5a65dadf3eb7ba7de4/src/WebJobs.Script/Diagnostics/FileLogger.cs#L50). 
Setting the formatter to `null` so that we still ignore these.


---------

Co-authored-by: Rohit Ranjan <[email protected]>
@AartBluestoke AartBluestoke merged commit 2dfd4f6 into AartBluestoke:dev Aug 24, 2023
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.