AppMetrics / Docs.DocFx

Documentation source for App Metrics

Home Page:https://alhardy.github.io/app-metrics-docs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AspNet Middleware Configuration: IgnoredRoutesRegexPatterns vs IgnoredRequestPatterns

JasonSoares opened this issue · comments

First off, this library is some fantastic work!

When comparing the documentation for the following files, I noticed that the json file uses the IgnoredRequestPatterns key while the configuration.md file lists the IgnoredRoutesRegexPatterns key.

  • /src/samples/App.Metrics.Formatters.Json.Samples/AspNetOptions.json
  • web-applictaion-monitoring/configuration.md

I believe the key in the json file should be changed to IgnoredRoutesRegexPatterns. I tested this in an app that I'm working on, and IgnoredRequestPatterns does not work, but IgnoredRoutesRegexPatterns does.

@JasonSoares thank you for feedback and for pointing out a couple of issues in the documentation, really helps 👍