Skip to content

IIS Application Pool metrics #34924

Open
Open
@syron

Description

@syron

Component(s)

receiver/iis

Is your feature request related to a problem? Please describe.

An application pool can be stopped or started. Sometimes, due to password changes and server restarts, the application pools can not be started and is therefore stopped.

Describe the solution you'd like

It would be great to get a list of all available application pools while also scraping the performance counters and for each and every one of them, the state (whether they are running or not).

An application pool can have the following states:

State Id Description
Started 1 The Site, ApplicationPool, or WorkerProcess object has started.
Starting 0 The object is in the process of starting.
Stopped 3 The object has stopped.
Stopping 2 The object is in the process of stopping.
Unknown 4 The object is in an unknown state.

(Source: https://learn.microsoft.com/en-us/dotnet/api/microsoft.web.administration.objectstate?view=iis-dotnet)

Describe alternatives you've considered

Developing a windows exporter in dotnet that runs as a Windows service providing the data to the otel collector.

Additional context

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions