# Micro-metrics Monitoring (M3) Mode

Micro-metrics Monitoring (M3) Mode (opens new window) is a predictive monitoring feature in the yc-360 script that proactively detects early signs of performance degradation in your application. By continuously collecting lightweight system and runtime metrics, including JVM metrics for Java applications, CLR metrics for .NET applications, and event loop and memory metrics for Node.js applications. It helps forecast problems before they impact end users, such as potential OutOfMemoryErrors in Java, memory pressure issues in .NET, or event loop blocking in Node.js.

Choose your environment to follow step-by-step instructions:

    # Sample YAML Configuration File

    version: '1'
    options:
      k: mycompany@aeiou-c3eb-4c9a-8254-f000d07245cc
      s: "http://ycrash.mycompany:8080/"
      j: "/usr/lib/jvm/java-XX-openjdk-amd64/"
      processTokens:
        - buggyApp.jar$myApp1
      accessLogs:
        - /var/log/nginx/access.log$myApp1
      accessLogFormats:
        - "%h %l %u %t %r %s %b %D$myApp1"
      accessLogSources:
    	- Apache$myApp1
    
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13

    # First Incident Report

    To help you get familiar with the incident reporting workflow, the yc-360 script is designed to automatically generate a sample incident report the first time it runs. This is known as the first-incident.

    If no prior M3 incidents exist in the yCrash dashboard, the yc-360 script will submit this first-incident within the interval defined by m3Frequency (default: 3 minutes) of its initial launch. This feature allows you to explore the dashboard and understand how incident data is displayed and analyzed—even if no real issues have occurred yet.

    Note: This sample report is generated only once, tagged as first-incident, and only if no existing M3 incident is present in the dashboard.