FILE: C:\Program Files\Telegraf\conf.d\iis.conf

--
[[inputs.win_perf_counters]] [[inputs.win_perf_counters.object]] # HTTP Service request queues in the Kernel before being handed over to User Mode. ObjectName = "HTTP Service Request Queues" Instances = ["*"] Counters = [ "CurrentQueueSize", "RejectedRequests" ] Measurement = "win_http_queues" [[inputs.win_perf_counters.object]] # IIS, ASP.NET Applications ObjectName = "ASP.NET Applications" Counters = [ "Cache Total Entries", "Cache Total Hit Ratio", "Cache Total Turnover Rate", "Output Cache Entries", "Output Cache Hits", "Output Cache Hit Ratio", "Output Cache Turnover Rate", "Compilations Total", "Errors Total/Sec", "Pipeline Instance Count", "Requests Executing", "Requests in Application Queue", "Requests/Sec" ] Instances = ["*"] Measurement = "win_aspnet_app" [[inputs.win_perf_counters.object]] # IIS, ASP.NET ObjectName = "ASP.NET" Counters = [ "Application Restarts", "Request Wait Time", "Requests Current", "Requests Queued", "Requests Rejected" ] Instances = ["*"] Measurement = "win_aspnet" [[inputs.win_perf_counters.object]] # IIS, Web Service ObjectName = "Web Service" Counters = [ "Get Requests/sec", "Post Requests/sec", "Connection Attempts/sec", "Current Connections", "ISAPI Extension Requests/sec" ] Instances = ["*"] Measurement = "win_websvc" [[inputs.win_perf_counters.object]] # Web Service Cache / IIS ObjectName = "Web Service Cache" Counters = [ "URI Cache Hits %", "Kernel: URI Cache Hits %", "File Cache Hits %" ] Instances = ["*"] Measurement = "win_websvc_cache" [[inputs.win_perf_counters.object]] # .NET CLR Exceptions, in this case for IIS only ObjectName = ".NET CLR Exceptions" Counters = [ "# of Exceps Thrown / sec" ] Instances = ["w3wp"] Measurement = "win_dotnet_exceptions" [[inputs.win_perf_counters.object]] # .NET CLR Jit, in this case for IIS only ObjectName = ".NET CLR Jit" Counters = [ "% Time in Jit", "IL Bytes Jitted / sec" ] Instances = ["w3wp"] Measurement = "win_dotnet_jit" [[inputs.win_perf_counters.object]] # .NET CLR Loading, in this case for IIS only ObjectName = ".NET CLR Loading" Counters = [ "% Time Loading" ] Instances = ["w3wp"] Measurement = "win_dotnet_loading" [[inputs.win_perf_counters.object]] # .NET CLR LocksAndThreads, in this case for IIS only ObjectName = ".NET CLR LocksAndThreads" Counters = [ "# of current logical Threads", "# of current physical Threads", "# of current recognized threads", "# of total recognized threads", "Queue Length / sec", "Total # of Contentions", "Current Queue Length" ] Instances = ["w3wp"] Measurement = "win_dotnet_locks" [[inputs.win_perf_counters.object]] # .NET CLR Memory, in this case for IIS only ObjectName = ".NET CLR Memory" Counters = [ "% Time in GC", "# Bytes in all Heaps", "# Gen 0 Collections", "# Gen 1 Collections", "# Gen 2 Collections", "# Induced GC","Allocated Bytes/sec", "Finalization Survivors", "Gen 0 heap size", "Gen 1 heap size", "Gen 2 heap size", "Large Object Heap size", "# of Pinned Objects" ] Instances = ["w3wp"] Measurement = "win_dotnet_mem" [[inputs.win_perf_counters.object]] # .NET CLR Security, in this case for IIS only ObjectName = ".NET CLR Security" Counters = [ "% Time in RT checks", "Stack Walk Depth", "Total Runtime Checks" ] Instances = ["w3wp"] Measurement = "win_dotnet_security"
--