stevejgordon / CorrelationId

An ASP.NET Core middleware component which synchronises a correlation ID for cross API request logging.
MIT License
559 stars 106 forks source link

Exclude Health Check Probes #117

Open harrypooni opened 11 months ago

harrypooni commented 11 months ago

We have scenario, where i need to exclude creating correlationId when a health check probe is called. The generation of a correlation id should be prevented for health check probes if an option is available within the options config. By default it should be true.