以下是組態詳細資料:
# Read MSIIS status information (mod_status)
[[inputs.win_perf_counters]]
[[inputs.win_perf_counters.object]]
# IIS, Web Service
ObjectName = "Web Service"
Counters = [
"Service Uptime", "Current Connections", "Bytes Sent/sec", "Total Bytes Sent", "Connection Attempts/sec",
"Bytes Received/sec", "Total Bytes Received", "Bytes Total/sec", "Total Bytes Transferred",
"Get Requests/sec","Total Get Requests", "Post Requests/sec","Total Post Requests",
"Put Requests/sec","Total Put Requests", "Delete Requests/sec","Total Delete Requests",
"Anonymous Users/sec", "NonAnonymous Users/sec", "Files Sent/sec", "Total Files Sent",
"Files Received/sec", "Total Files Received", "Files/sec", "Total Files Transferred",
"Not Found Errors/sec", "Locked Errors/sec", "Total Method Requests/sec"
]
Instances = ["*"]
Measurement = "iis.websvc"
IncludeTotal=true #Set to false to not include _Total instance.
[[inputs.win_perf_counters.object]]
# Web Service Cache / IIS
ObjectName = "Web Service Cache"
Counters = [
"Current Files Cached", "Active Flushed Entries", "Total Files Cached", "Total Flushed Files",
"File Cache Hits", "File Cache Misses", "File Cache Hits %", "File Cache Flushes",
"Current File Cache Memory Usage", "Maximum File Cache Memory Usage", "Current URIs Cached",
"Total URIs Cached", "Total Flushed URIs", "URI Cache Hits", "URI Cache Misses", "URI Cache Hits %",
"URI Cache Flushes", "Current Metadata Cached", "Total Metadata Cached", "Total Flushed Metadata",
"Metadata Cache Hits", "Metadata Cache Misses", "Metadata Cache Hits %", "Metadata Cache Flushes",
"Kernel: Current URIs Cached", "Kernel: Total URIs Cached", "Kernel: Total Flushed URIs",
"Kernel: URI Cache Hits", "Kernel: Uri Cache Hits/sec", "Kernel: URI Cache Misses", "Kernel: URI Cache Hits %",
"Kernel: URI Cache Flushes", "Cache Memory Usage"
]
Instances = ["*"]
Measurement = "iis.websvc.cache"
IncludeTotal=true #Set to false to not include _Total instance.
[[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 = "iis.aspnet"
#IncludeTotal=false #Set to true to include _Total instance when querying for all (*).
[[inputs.win_perf_counters.object]]
# IIS, ASP.NET Applications
ObjectName = "ASP.NET Applications"
Counters = ["Cache Total Entries","Cache Total Hit Ratio","Output Cache Entries","Errors Total/Sec","Requests Executing","Requests in Application Queue","Requests/Sec"]
Instances = ["*"]
Measurement = "iis.aspnet.app"
#IncludeTotal=false #Set to true to include _Total instance when querying for all (*).
[[inputs.win_perf_counters.object]]
ObjectName = ".NET CLR Exceptions"
Counters = ["# of Exceps Thrown", "# of Exceps Thrown / Sec", "# of Filters / Sec", "# of Finallys / Sec", "Throw to Catch Depth / Sec"]
Instances = ["*"]
Measurement = "iis.dotnet.exception"
[[inputs.win_perf_counters.object]]
ObjectName = ".NET CLR Jit"
Counters = ["% Time in Jit","IL Bytes Jitted / sec"]
Instances = ["*"]
Measurement = "iis.dotnet.jit"
[[inputs.win_perf_counters.object]]
ObjectName = ".NET CLR Loading"
Counters = ["% Time Loading"]
Instances = ["*"]
Measurement = "iis.dotnet.loading"
[[inputs.win_perf_counters.object]]
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 = ["*"]
Measurement = "iis.dotnet.lock"
[[inputs.win_perf_counters.object]]
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 = ["*"]
Measurement = "iis.dotnet.memory"
[[inputs.win_perf_counters.object]]
ObjectName = ".NET CLR Security"
Counters = ["% Time in RT checks","Stack Walk Depth","Total Runtime Checks"]
Instances = ["*"]
Measurement = "iis.dotnet.security"
[[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 = "iis.http.queues"
#IncludeTotal=false #Set to true to include _Total instance when querying for all (*).
[[inputs.win_perf_counters.object]]
# Process metrics, in this case for IIS only
ObjectName = "Process"
Counters = ["% Processor Time","Handle Count","Private Bytes","Thread Count","Virtual Bytes","Working Set"]
Instances = ["w3wp"]
Measurement = "iis.win.proc"
#IncludeTotal=false #Set to true to include _Total instance when querying for all (*).