.NET CLR LocksAndThreads Queue

From DevOps Notebook
{
  "IsEnabled": true,
  "EngineConfiguration": {
    "Components": [
      {
        "FullName": "AWS.EC2.Windows.CloudWatch.EventLog.EventLogInputComponent,AWS.EC2.Windows.CloudWatch",
        "Id": "ApplicationEventLog",
        "Parameters": {
          "Levels": "1",
          "LogName": "Application"
        }
      },
      {
        "FullName": "AWS.EC2.Windows.CloudWatch.EventLog.EventLogInputComponent,AWS.EC2.Windows.CloudWatch",
        "Id": "SystemEventLog",
        "Parameters": {
          "Levels": "7",
          "LogName": "System"
        }
      },
      {
        "FullName": "AWS.EC2.Windows.CloudWatch.EventLog.EventLogInputComponent,AWS.EC2.Windows.CloudWatch",
        "Id": "SecurityEventLog",
        "Parameters": {
          "Levels": "7",
          "LogName": "Security"
        }
      },
      {
        "FullName": "AWS.EC2.Windows.CloudWatch.EventLog.EventLogInputComponent,AWS.EC2.Windows.CloudWatch",
        "Id": "ETW",
        "Parameters": {
          "Levels": "7",
          "LogName": "Microsoft-Windows-WinINet/Analytic"
        }
      },
      {
        "FullName": "AWS.EC2.Windows.CloudWatch.CustomLog.CustomLogInputComponent,AWS.EC2.Windows.CloudWatch",
        "Id": "IISLogs",
        "Parameters": {
          "CultureName": "en-US",
          "Encoding": "UTF-8",
          "Filter": "",
          "LineCount": "3",
          "LogDirectoryPath": "C:\\inetpub\\logs\\LogFiles\\W3SVC1",
          "TimeZoneKind": "UTC",
          "TimestampFormat": "yyyy-MM-dd HH:mm:ss"
        }
      },
      {
        "FullName": "AWS.EC2.Windows.CloudWatch.CustomLog.CustomLogInputComponent,AWS.EC2.Windows.CloudWatch",
        "Id": "CustomLogs",
        "Parameters": {
          "CultureName": "en-US",
          "Encoding": "UTF-8",
          "Filter": "",
          "LogDirectoryPath": "C:\\CustomLogs\\",
          "TimeZoneKind": "Local",
          "TimestampFormat": "MM/dd/yyyy HH:mm:ss"
        }
      },
      {
        "FullName": "AWS.EC2.Windows.CloudWatch.PerformanceCounterComponent.PerformanceCounterInputComponent,AWS.EC2.Windows.CloudWatch",
        "Id": "PerformanceCounter",
        "Parameters": {
          "CategoryName": "Process",
          "CounterName": "Thread Count",
          "DimensionName": "InstanceId",
          "DimensionValue": "{instance_id}",
          "InstanceName": "Sportifier.UpdatesService",
          "MetricName": "UpdatesService-Thread count",
          "Unit": "Count"
        }
      },
      {
        "FullName": "AWS.EC2.Windows.CloudWatch.PerformanceCounterComponent.PerformanceCounterInputComponent,AWS.EC2.Windows.CloudWatch",
        "Id": "PerformanceCounter1",
        "Parameters": {
          "CategoryName": ".NET CLR LocksAndThreads",
          "CounterName": "Current Queue Length",
          "DimensionName": "InstanceId",
          "DimensionValue": "{instance_id}",
          "InstanceName": "Sportifier.UpdatesService",
          "MetricName": "UpdatesService-Current Queue Length",
          "Unit": "Count"
        }
      },
      {
        "FullName": "AWS.EC2.Windows.CloudWatch.PerformanceCounterComponent.PerformanceCounterInputComponent,AWS.EC2.Windows.CloudWatch",
        "Id": "PerformanceCounter2",
        "Parameters": {
          "CategoryName": ".NET CLR LocksAndThreads",
          "CounterName": "Queue Length / sec",
          "DimensionName": "InstanceId",
          "DimensionValue": "{instance_id}",
          "InstanceName": "Sportifier.UpdatesService",
          "MetricName": "UpdatesService-Queue Length / sec",
          "Unit": "Count"
        }
      },	  
      {
        "FullName": "AWS.EC2.Windows.CloudWatch.CloudWatchLogsOutput,AWS.EC2.Windows.CloudWatch",
        "Id": "CloudWatchLogs",
        "Parameters": {
          "AccessKey": "",
          "LogGroup": "Default-Log-Group",
          "LogStream": "{instance_id}",
          "Region": "us-east-1",
          "SecretKey": ""
        }
      },
      {
        "FullName": "AWS.EC2.Windows.CloudWatch.CloudWatch.CloudWatchOutputComponent,AWS.EC2.Windows.CloudWatch",
        "Id": "CloudWatch",
        "Parameters": {
          "AccessKey": "",
          "NameSpace": "Windows",
          "Region": "us-east-1",
          "SecretKey": ""
        }
      }
    ],
    "Flows": {
      "Flows": [
        "(PerformanceCounter,PerformanceCounter1,PerformanceCounter2),CloudWatch"
      ]
    },
    "PollInterval": "00:00:15"
  }
}