Container Diagnostic Collection

  • Last update: 2026-11-18
  • Overview

    Version

    FineOps Version
    Functional Change
    V2.39.0/
    V2.41.0Added Access Anomaly Diagnosis, which could be used to collect troubleshooting data when an application exited, froze, or stopped responding during runtime.

    Function Introduction

    Diagnostic Collection helps admins collect logs and runtime records when a container has an exception and download them as a package for technical support to troubleshoot issues. You can select a collection scenario based on the issue type.

    • Startup Failure: The application reports an error during startup or cannot be used normally after startup.

    • Access Anomaly Diagnosis: The application was originally available but exits, freezes, or stops responding during runtime.

    Prerequisites

    Before starting diagnostic collection, make sure that the following requirements have been met.

    Check Item
    Requirement
    Project deployment typeFineOps-deployed project
    Platform versionV2.39.0 and later versions
    Target componentStartup Failure: FineReport, FineBI - Application Node, and FineDataLink, or Engine - Metadata Node and Engine - Calculation Node
    Access Anomaly Diagnosis: FineReport, FineBI - Application Node, and FineDataLink
    Node statusOPS Agent on the host where the target container resides is running and can communicate with FineOps.

    Startup Failure Diagnosis

    Accessing the Collection Entry

    1. Log in to FineOps as the admin and enter the O&M project where the exception occurred.
    2. Choose Maintenance > Component Management.
    3. Find the target container b
    y container name and physical node.
    4. Click the  icon on the far right of the Operation column for the container to open the Diagnostic Collection dialog box.

    iconNote:

    The entry is still available when the container status is not running.

    Setting Start Time

    1. Click the Startup Failure tab in the Diagnostic Collection dialog box.
    2. In Start Time, selec
    t the time when the startup issue occurred. If a corresponding startup record exists on the page, you can select the record.
    The system collects data for up to one hour from the
    set start time. If the duration from the start time to the current time is less than one hour, data is collected until the current time.
    For example, if the start time is 10:00 and collection is started at 10:20, data from 10:00 to 10:20 is collected.

    iconNote:
    If no startup record exists, manually input the time when the startup issue occurred. Do not use the most recent startup record if it is unrelated to this issue.

    Starting Collection and Downloading the Diagnostic Package

    1. After confirming the target container, collection scenario, and time, click Start Collection.
    2. Wait until the collection task ends. Do not submit the same task repeatedly.
    3. After collection is complete, save the diagnostic data package downloaded by the browser.

    Different components generate different logs. The related log files are described as follows:

    File 
    Content and Purpose
    fanruan.log

    It is the application service log of the fr, bi-web, or fdl container, used for technical support to view application errors.

    This file is not generated for FineBI engine-related components.

    polars.logIt is the runtime log of the bi-engine-master or bi-engine-worker container.
    catalina.out or server.log

    This file contains logs from the service software used to run the application, that is, middleware logs.

    One of the two files is generated depending on the environment.

    docker.log

    It contains the container's standard output (stdout) and standard error (stderr), including startup script output and error messages not recorded in application logs.

    events.jsonIt records Docker events of the container in the time window, such as start, stop, and exit events.
    thread-dump-yyyyMMdd-HHmmss.txtIt records thread dumps, including up to three historical automatic dumps and one real-time dump, used for technical support to analyze issues such as an unresponsive application
    manifest.json

    It records basic information about this collection, the collection status of each data item, and failure causes.

    Access Anomaly Diagnosis

    Accessing the Collection Entry

    1. Log in to FineOps as the admin and enter the O&M project where the exception occurred.
    2. Choose Maintenance > Component Management.
    3. Find the target container by container name and physical node.
    4. Click the  icon on the far right of the Operation column for the container to open the Diagnostic Collection
    dialog box.

    iconNote:
    This entry point can still be clicked when the container status is not running.

    Setting Issue Time

    1. Click the Access Anomaly Diagnosis tab in the Diagnostic Collection dialog box.
    2. In Issue Time, select the time when the exception occurred.
    When the container exits, you can select the corresponding exit record. If the application freezes but does not exit, or if no exit record exists on the page, manually select the time when the exception was found.

    iconNote:
    Enter the actual time when the exception occurred. Do not subtract 10 minutes from the actual issue time. The system automatically collects middleware logs from 10 minutes before this time to this time, as well as other related data on the day of the issue.

    For example, if the issue time is 15:30, the middleware log collection range is 15:20 to 15:30. Access logs and error logs are collected for the day of the issue and are not limited to these 10 minutes.

    iconNote:

    If no exit record exists in the last seven days, you can still select a time. When troubleshooting an issue from several days ago, input the actual exception time instead of using the current time. Some historical data may have been cleared.

    Starting Collection and Downloading the Diagnostic Package

    1. After confirming the target container, collection scenario, and time, click Start Collection.
    2. Wait until the collection task ends. Do not submit the same task repeatedly.
    3. After collection is complete, save the diagnostic data package downloaded by the browser.


    The collection period varies by data type and is not limited to the 10 minutes before the issue occurred.

    File or Data
    Collection Scope and Purpose
    catalina.out or server.logThese are middleware logs from the 10 minutes before the issue occurred. They help technical support check errors leading up to the issue.
    Tomcat access logsThese logs contain access records from the day of the issue. Check the collection results to see whether these logs were collected.
    Nginx access logs and error logsThese logs contain access and error records associated with the target project from the day of the issue.
    system-logs/This directory contains system logs from the day of the issue, collected from the server hosting the target container.
    Crash logs, garbage collection logs, and existing performance analysis filesThese are available files from the day of the issue. They help technical support investigate application exits, memory issues, and thread issues. The files collected depend on the environment, which files have been retained, and whether collection succeeds.
    events.jsonThis file contains recorded events for the target container within the retention period, up to the collection cutoff time. These are not limited to the 10 minutes before the issue occurred.
    jvm-config.jsonThis file contains application runtime parameters and container CPU and memory limits at the time of collection. It does not reconstruct the configuration in effect when the issue occurred.
    inspection-report.html

    This is the latest health inspection report from the day of the issue.

    If no report exists for that day, a new inspection is performed. The new report reflects the state at the time of collection.

    performance-stack.json

    This file contains performance stack records for the project from the three days preceding collection. These records help technical support review performance analysis records.

    This period is based on the collection time, not the time of the issue.

    alerts.jsonThis file contains alert details for the entire project from the day of the issue, not limited to the target container.
    manifest.jsonThis file records the target container, selected time, version at the time of collection, and collection results for each data item.

    Troubleshooting

    1. Will the diagnostic package tell me what caused the failure?

    No. The diagnostic package contains troubleshooting data, not an automatic diagnosis report. Submit the package to technical support along with a description of the symptoms, when the issue occurred, and which users or services were affected.

    2. Can I submit the package if only some data are collected?
    Yes. Keep the complete ZIP package. Do not delete manifest.json or send only selected logs. Technical support can determine which data are available and which data need to be supplemented based on the result list.
    3. Why is fanruan.log missing?
    This does not necessarily mean collection failed. Access Anomaly Diagnosis does not collect this file by default. In the Startup Failure scenario, this file may also be missing due to the component type, non-existent files, no records within the time range, or read failures. Check the scenario first, and then view the result list.
    4. If events.json or alerts.json contains only [], does it mean an error occurred?
    Not necessarily. Check the collection status of the corresponding item first. If the status is SUCCESS and the content is [], no records within the range were found in this query. This does not mean the issue did not occur. Events that have not been reported or records that have been cleared may also affect query results.


    Attachment List


    Theme: Project Management
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    10s後關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy