Search docs.molo17.com

    Resource monitor

    The resource monitor in the Control Plane top bar shows how busy the Core Hub machine is and how much change data waits in each pipeline before it reaches the target.

    Available from Gluesync 2.3.3.0.

    It answers three questions without opening Grafana or a shell on the host:

    • Is the machine running short of CPU, memory, JVM heap or disk?

    • Is a pipeline building up a backlog in its local CDC cache, and is that backlog growing or draining?

    • Is a pipeline short of JDBC connections?

    The same figures are available to scripts through the REST API; see Use the API.

    Who can see it

    The monitor needs no setup. It shows to these roles:

    Role Sees the monitor API response

    Super Admin

    Yes

    200

    Manager

    Yes

    200

    Monitor

    Yes

    200

    Viewer

    No, the button is hidden

    403

    External module

    No

    403

    Not signed in

    No

    401

    The monitor is part of the desktop layout. On a phone the top bar is unchanged.

    Open the monitor

    Click the Activity icon in the top bar, between Platform updates and the lifebuoy button. A dropdown opens with two parts, Machine and Pipelines.

    The badge on the button names the platform Core Hub runs on: Docker Compose, Docker Swarm, Podman or Kubernetes. Conductor or the Gluesync Kubernetes Operator report it when they manage the installation. When nothing reports it, Core Hub detects the container runtime itself. It can then tell Docker, Podman and Kubernetes apart, but not Docker Compose from Docker Swarm. Outside a container there is no badge.

    Machine

    Row What it shows Watch for

    CPU load

    A sparkline of the last 90 seconds or so, and the current percentage

    Load that stays near 100%

    RAM used

    A bar, used out of total

    The bar turns the warning colour above 85%

    JVM heap

    A bar, used out of the maximum heap (-Xmx)

    Above 85%, Core Hub is close to its heap limit

    Disk used

    A bar, used out of total, for the filesystem that holds Core Hub’s data directory

    Above 85%, backups and caches run short of room

    Network I/O

    A sparkline and the current receive and send rates

    A rate that drops to zero while pipelines run

    Uptime

    Time since the operating system started

    An unexpected restart

    OS / CPU

    The operating system and the CPU model

    Inside a container, CPU, RAM and uptime are the host’s, not the container’s. The JVM heap is Core Hub’s own, and the disk is the filesystem of its data directory.

    Network rates count the host’s real interfaces only. Loopback, bridges, virtual Ethernet pairs, tunnels and overlays are left out, so traffic between Core Hub and a container or virtual machine on the same host is not counted.

    Pipelines

    Each row shows the data waiting in the pipeline’s local CDC cache and its JDBC connections. Waiting data is changes already read from the source and not yet written to the target.

    • Cache size, with an arrow showing whether it grew or drained over the last two minutes.

    • Hover the size to see the age of the oldest waiting change and the number of rows waiting.

    • Connections, in use out of the pools' maximum, for example 12/50. The figure turns the warning colour when the pool is full or a request waits for a connection.

    Pipelines with a cache come first, the largest backlog first, then the others by name. With five pipelines or fewer, all of them are listed. With more, only the three largest caches are listed.

    To see every pipeline:

    1. Click View all beside the Pipelines heading.

    2. Sort the table by any column: size, rows waiting, oldest change or connections.

    3. Click a pipeline to open it.

    The monitor refreshes every 60 seconds, only while the dropdown or the dialog is open. The footer reads Updated N s ago · every 60 s. When a refresh fails, it reads Couldn’t refresh over the last figures.

    Message Meaning

    Collecting the first measurements

    Core Hub has just started and has no sample yet

    No pipelines yet

    No pipeline is configured

    No pipeline uses a cache

    No pipeline reads through a source connector with a local cache

    Not measured recently

    Some figures could not be measured lately; see Troubleshooting

    Use the API

    Both routes are GET requests that read figures Core Hub keeps in memory, so they are cheap to poll. Send a token in the Authorization: Bearer <token> header, as for any other Core Hub REST call. The token must belong to one of the roles in Who can see it.

    curl -s https://<core-hub>/system/hardware \
      -H "Authorization: Bearer $GLUESYNC_TOKEN"

    An example response, with illustrative values:

    {
      "sampledAt": 1764849600000,
      "cpu": { "loadPercent": 23.5, "model": "Intel Xeon E5-2680 v4", "physicalCores": 8, "logicalCores": 16 },
      "ram": { "totalMib": 32768, "usedMib": 19210 },
      "jvmHeap": { "totalMib": 8192, "usedMib": 3120 },
      "disk": { "totalMib": 512000, "usedMib": 201344 },
      "network": { "receivedBytesPerSecond": 182340.0, "sentBytesPerSecond": 96012.0 },
      "uptimeSeconds": 864000,
      "os": { "family": "Ubuntu", "version": "24.04" },
      "recent": [
        { "sampledAt": 1764849592000, "cpuLoadPercent": 21.0, "receivedBytesPerSecond": 175000.0, "sentBytesPerSecond": 90100.0 }
      ]
    }
    curl -s https://<core-hub>/system/pipeline-caches \
      -H "Authorization: Bearer $GLUESYNC_TOKEN"
    {
      "sampledAt": 1764849600000,
      "pipelines": [
        {
          "pipelineId": "9951fa5a",
          "pipelineName": "Orders to warehouse",
          "hasCache": true,
          "pendingBytes": 52428800,
          "pendingRows": 18400,
          "lagMilliseconds": 45000,
          "stale": false,
          "connections": { "inUse": 10, "max": 10, "waiting": 2 },
          "recent": [ { "sampledAt": 1764849590000, "pendingBytes": 50331648 } ]
        },
        {
          "pipelineId": "c95fe266",
          "pipelineName": "HR sync",
          "hasCache": false,
          "stale": false,
          "connections": { "inUse": 0, "max": 50, "waiting": 0 },
          "recent": []
        }
      ]
    }

    In this example, Orders to warehouse has 50 MiB waiting, its oldest change has waited 45 seconds, and its pool is full with two requests waiting.

    The container runtime is in the detectedRuntime field of GET /system/environment: DOCKER, PODMAN, KUBERNETES, or null outside a container.

    Personal API Tokens limited to some agents

    • /system/hardware returns the whole snapshot. It does not depend on agents.

    • /system/pipeline-caches lists only the pipelines of the token’s agents.

    • A pipeline’s cache figures appear only when the token reaches the source agents they were measured on. Otherwise the pipeline is listed with hasCache: false.

    • connections counts only the pools of the agents the token reaches.

    No MCP tool serves these figures.

    Fields

    Times are epoch milliseconds on Core Hub’s clock. A value that is null or missing could not be measured.

    Table 1. GET /system/hardware
    Field Type Meaning

    sampledAt

    int64, nullable

    Time of the sample. Null before the first sample, when every other value is empty

    cpu.loadPercent

    double, nullable

    System CPU load, 0 to 100

    cpu.model, cpu.physicalCores, cpu.logicalCores

    string, int

    The CPU

    ram, jvmHeap, disk

    { totalMib, usedMib }

    Usage in MiB, rounded down. jvmHeap.totalMib is the maximum heap; disk is the data directory’s filesystem

    network.receivedBytesPerSecond, network.sentBytesPerSecond

    double, nullable

    Average rate between the last two samples

    uptimeSeconds

    int64

    Seconds since the operating system started

    os.family, os.version

    string

    For example Ubuntu and 24.04

    recent[]

    list, up to 12

    sampledAt, cpuLoadPercent, receivedBytesPerSecond and sentBytesPerSecond, oldest first

    Table 2. GET /system/pipeline-caches
    Field Type Meaning

    sampledAt

    int64

    When the figures were computed

    pipelines[].pipelineId, pipelineName

    string

    The name is the id until the name is known

    hasCache

    boolean

    At least one entity of the pipeline reports a local CDC cache

    pendingBytes

    int64, nullable

    Bytes read from the source and not yet delivered to the target

    pendingRows

    int64, nullable

    Change rows not yet delivered

    lagMilliseconds

    int64, nullable

    How long the oldest waiting change has waited

    stale

    boolean

    Some entity could not be measured lately, so the figures may be low or missing

    connections

    { inUse, max, waiting }, nullable

    JDBC connections over the pipeline’s pools. Null when the pipeline has no JDBC pool

    recent[]

    list, up to 12

    sampledAt and pendingBytes every 10 seconds, oldest first. Empty without a cache

    Troubleshooting

    You see Why What to do

    No Activity button

    Your role is Viewer or External module, or you are on a phone

    Ask an administrator for the Monitor, Manager or Super Admin role, and use a desktop browser

    An error with Retry

    Core Hub is older than 2.3.3.0, or the request failed

    Check the Core Hub version, then click Retry

    A pipeline has no cache

    The pipeline is stopped, its source connector has no local cache, or your token does not reach its source agent

    Start the pipeline, or use a token that covers its agents

    Not measured recently (stale: true)

    No lag probe for three polling intervals, as when the target stops taking changes, or the probe fails, as when the source is unreachable

    Read the size as a lower bound, and check the pipeline’s source and target

    Connections in the warning colour, for example 10/10

    The pool is full or requests are waiting

    Raise the agent’s connection pool size, or find what holds connections

    CPU or RAM larger than the container’s limit

    Inside a container these are the host’s figures

    Read JVM heap for Core Hub’s own memory

    Network I/O near zero while data flows

    The traffic stays between containers on the same host, which is not counted

    No action needed

    No oldest-change age for a pipeline

    No waiting change carries a time, or the source’s clock is ahead of Core Hub’s

    Check the clocks' time synchronization if it persists

    Trends cover about two minutes for caches (12 points, one every 10 seconds) and about 90 seconds for CPU and network.

    For history over hours or days, use the Grafana dashboards.