API Endpoint Stats

Product: PowerShell Universal
Version: 3.7.10

Does PSU collect stats about how many times an endpoint is hit and/or what IP it’s being hit from? I would like to collect API usage information, but don’t want to re-invent the wheel if I can pull those stats from somewhere else.

You can use Azure App Insights to get a ton of info about PSU endpoints. This will include the IP and how often it’s executed.

You can also use Windows perf counters to get API calls but it won’t include nearly the level of info.

Thanks, not sure I missed that!