Skip to content

Additional Diagnostics #34578

Open
Open
@davidfowl

Description

@davidfowl
  • We should add an event that emits the Kestrel settings. Specifically the configured KestrelServerOptions settings (Log KestrelServerOptions when tracing is enabled #34680)
  • We should add an event that emits the IIS settings.
  • We should add an event that emits the HTTP.sys settings.
  • MVC options including what application parts were detected (@pranavkm)

Potential other diagnostics:

  • Kestrel Memory Pool utilization vs. size
    • Counter for total blocks in bytes
    • Counter for checked-out blocks in bytes
    • Event for newly allocated blocks
    • Counter for newly created pool instance (could be event too)
    • These together can be used to help us decide how much we should invest in Allow server Memory Pool to shrink #27394 which is to "Allow server Memory Pool to shrink"
    • If we do allow the memory pool to shrink, we could add an event for shrinking. We could use these events to determine how many extra allocations the shrinking caused in a given app.

similar issue in runtime repo: dotnet/runtime#56072

Metadata

Metadata

Assignees

Labels

Priority:2Work that is important, but not critical for the releasearea-mvcIncludes: MVC, Actions and Controllers, Localization, CORS, most templatesarea-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsfeature-kestrel

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions