Skip to content

Crucible metrics not reflecting read/write activities #1852

@askfongjojo

Description

@askfongjojo

I have a bunch of database workloads that have disk metrics reporting zero read/write ops and bytes when there were heavy activities. The metrics API, metrics database, propolis producer pipeline seems healthy (cpu and network i/o metrics are being reported).

Here are some example instances on rack2 (running ci c298def/c43b3b5):

ID                                   STATE   INTENT  PROPOLIS_ID                          SLED_ID                              HOST_SERIAL NAME   
3ca505de-d3b2-4236-92eb-9cd639b553a8 running running 91d3ddbc-970e-4720-ba1c-036b59117b1e a2adea92-b56e-44fc-8a0d-7d63b5fd3b93 BRM42220031 fio
6b252c74-548c-4f1b-a98a-6c0e2da02c09 running running f471942d-82c3-4c18-8c2a-2bb5250ecc39 b886b58a-1e3f-4be1-b9f2-0c2e66c6bc88 BRM42220006 mongodb-xfs-bs4096-primary 

Propolis log for this instance has active metrics queries that all responded http 200 without any obvious issues.

$ oxide --insecure experimental system timeseries query --query 'get virtual_disk:bytes_read | filter timestamp > @now() - 15m &&  disk_id == "d0a14ae0-2c88-4f39-99ca-e7de947bc935" '
{
  "tables": [
    {
      "name": "virtual_disk:bytes_read",
      "timeseries": [
        {
          "fields": {
            "attached_instance_id": {
              "type": "uuid",
              "value": "6b252c74-548c-4f1b-a98a-6c0e2da02c09"
            },
            "project_id": {
              "type": "uuid",
              "value": "5e49b6de-cb2d-438d-83af-95c415bbb901"
            },
            "silo_id": {
              "type": "uuid",
              "value": "7bd7623a-68ed-4636-8ecb-b59e3b068787"
            },
            "block_size": {
              "type": "u32",
              "value": 4096
            },
            "disk_id": {
              "type": "uuid",
              "value": "d0a14ae0-2c88-4f39-99ca-e7de947bc935"
            }
          },
          "points": {
            "start_times": [
              "2025-12-24T17:10:59.153672591Z",
              "2025-12-30T02:24:02.905844787Z",
              "2025-12-30T02:24:12.906906714Z",
              "2025-12-30T02:24:22.907043460Z",
              "2025-12-30T02:24:32.907736135Z",
              "2025-12-30T02:24:42.907847793Z",
              "2025-12-30T02:24:52.908849987Z",
              "2025-12-30T02:25:02.910416705Z",
              "2025-12-30T02:25:12.909862207Z",
              "2025-12-30T02:25:22.909584185Z",
              "2025-12-30T02:25:32.911403294Z",
              "2025-12-30T02:25:42.911389984Z",
              "2025-12-30T02:25:52.910284606Z",
              "2025-12-30T02:26:02.912875373Z",
              "2025-12-30T02:26:13.029090188Z",
              "2025-12-30T02:26:22.912092856Z",
              "2025-12-30T02:26:32.916248823Z",
              "2025-12-30T02:26:42.916597432Z",
              "2025-12-30T02:26:52.914014420Z",
              "2025-12-30T02:27:02.914193998Z",
              "2025-12-30T02:27:12.915753883Z",
              "2025-12-30T02:27:22.914757437Z",
              "2025-12-30T02:27:32.916273112Z",
              "2025-12-30T02:27:42.916374870Z",
              "2025-12-30T02:27:52.916092019Z",
              "2025-12-30T02:28:02.916671068Z",
              "2025-12-30T02:28:12.917752623Z",
              "2025-12-30T02:28:22.918398970Z",
              "2025-12-30T02:28:32.917883596Z",
              "2025-12-30T02:28:42.918318721Z",
              "2025-12-30T02:28:52.919030121Z",
              "2025-12-30T02:29:02.920988194Z",
              "2025-12-30T02:29:12.921451360Z",
              "2025-12-30T02:29:22.920758838Z",
              "2025-12-30T02:29:32.921074009Z",
              "2025-12-30T02:29:42.921537705Z",
              "2025-12-30T02:29:52.921851810Z",
              "2025-12-30T02:30:02.921844069Z",
              "2025-12-30T02:30:13.028808749Z",
              "2025-12-30T02:30:22.922444814Z",
              "2025-12-30T02:30:32.924262408Z",
              "2025-12-30T02:30:42.924582051Z",
              "2025-12-30T02:30:52.925698009Z",
              "2025-12-30T02:31:02.924329379Z",
              "2025-12-30T02:31:12.924851690Z",
              "2025-12-30T02:31:22.926088490Z",
              "2025-12-30T02:31:32.926895149Z",
              "2025-12-30T02:31:42.926027623Z",
              "2025-12-30T02:31:52.926847988Z",
              "2025-12-30T02:32:02.926968985Z",
              "2025-12-30T02:32:12.929236134Z",
              "2025-12-30T02:32:22.927990449Z",
              "2025-12-30T02:32:32.928236052Z",
              "2025-12-30T02:32:42.929001825Z",
              "2025-12-30T02:32:52.929082805Z",
              "2025-12-30T02:33:02.929487669Z",
              "2025-12-30T02:33:12.930365887Z",
              "2025-12-30T02:33:22.931337291Z",
              "2025-12-30T02:33:32.932172497Z",
              "2025-12-30T02:33:42.931616282Z",
              "2025-12-30T02:33:52.932107753Z",
              "2025-12-30T02:34:02.932165349Z",
              "2025-12-30T02:34:12.932886365Z",
              "2025-12-30T02:34:22.934304300Z",
              "2025-12-30T02:34:32.933731314Z",
              "2025-12-30T02:34:42.934541051Z",
              "2025-12-30T02:34:52.936328638Z",
              "2025-12-30T02:35:02.937030097Z",
              "2025-12-30T02:35:12.935365472Z",
              "2025-12-30T02:35:22.938080276Z",
              "2025-12-30T02:35:32.936517956Z",
              "2025-12-30T02:35:42.937354514Z",
              "2025-12-30T02:35:52.937505247Z",
              "2025-12-30T02:36:02.937629836Z",
              "2025-12-30T02:36:12.938545546Z",
              "2025-12-30T02:36:22.938228025Z",
              "2025-12-30T02:36:32.938784530Z",
              "2025-12-30T02:36:42.939475378Z",
              "2025-12-30T02:36:52.939797747Z",
              "2025-12-30T02:37:02.940375521Z",
              "2025-12-30T02:37:12.941699716Z",
              "2025-12-30T02:37:22.941577167Z",
              "2025-12-30T02:37:32.941944612Z",
              "2025-12-30T02:37:42.942171829Z",
              "2025-12-30T02:37:52.942629467Z",
              "2025-12-30T02:38:02.943718816Z",
              "2025-12-30T02:38:12.945613778Z",
              "2025-12-30T02:38:22.944043154Z",
              "2025-12-30T02:38:32.946112628Z",
              "2025-12-30T02:38:42.945346734Z"
            ],
            "timestamps": [
              "2025-12-30T02:24:02.905844787Z",
              "2025-12-30T02:24:12.906906714Z",
              "2025-12-30T02:24:22.907043460Z",
              "2025-12-30T02:24:32.907736135Z",
              "2025-12-30T02:24:42.907847793Z",
              "2025-12-30T02:24:52.908849987Z",
              "2025-12-30T02:25:02.910416705Z",
              "2025-12-30T02:25:12.909862207Z",
              "2025-12-30T02:25:22.909584185Z",
              "2025-12-30T02:25:32.911403294Z",
              "2025-12-30T02:25:42.911389984Z",
              "2025-12-30T02:25:52.910284606Z",
              "2025-12-30T02:26:02.912875373Z",
              "2025-12-30T02:26:13.029090188Z",
              "2025-12-30T02:26:22.912092856Z",
              "2025-12-30T02:26:32.916248823Z",
              "2025-12-30T02:26:42.916597432Z",
              "2025-12-30T02:26:52.914014420Z",
              "2025-12-30T02:27:02.914193998Z",
              "2025-12-30T02:27:12.915753883Z",
              "2025-12-30T02:27:22.914757437Z",
              "2025-12-30T02:27:32.916273112Z",
              "2025-12-30T02:27:42.916374870Z",
              "2025-12-30T02:27:52.916092019Z",
              "2025-12-30T02:28:02.916671068Z",
              "2025-12-30T02:28:12.917752623Z",
              "2025-12-30T02:28:22.918398970Z",
              "2025-12-30T02:28:32.917883596Z",
              "2025-12-30T02:28:42.918318721Z",
              "2025-12-30T02:28:52.919030121Z",
              "2025-12-30T02:29:02.920988194Z",
              "2025-12-30T02:29:12.921451360Z",
              "2025-12-30T02:29:22.920758838Z",
              "2025-12-30T02:29:32.921074009Z",
              "2025-12-30T02:29:42.921537705Z",
              "2025-12-30T02:29:52.921851810Z",
              "2025-12-30T02:30:02.921844069Z",
              "2025-12-30T02:30:13.028808749Z",
              "2025-12-30T02:30:22.922444814Z",
              "2025-12-30T02:30:32.924262408Z",
              "2025-12-30T02:30:42.924582051Z",
              "2025-12-30T02:30:52.925698009Z",
              "2025-12-30T02:31:02.924329379Z",
              "2025-12-30T02:31:12.924851690Z",
              "2025-12-30T02:31:22.926088490Z",
              "2025-12-30T02:31:32.926895149Z",
              "2025-12-30T02:31:42.926027623Z",
              "2025-12-30T02:31:52.926847988Z",
              "2025-12-30T02:32:02.926968985Z",
              "2025-12-30T02:32:12.929236134Z",
              "2025-12-30T02:32:22.927990449Z",
              "2025-12-30T02:32:32.928236052Z",
              "2025-12-30T02:32:42.929001825Z",
              "2025-12-30T02:32:52.929082805Z",
              "2025-12-30T02:33:02.929487669Z",
              "2025-12-30T02:33:12.930365887Z",
              "2025-12-30T02:33:22.931337291Z",
              "2025-12-30T02:33:32.932172497Z",
              "2025-12-30T02:33:42.931616282Z",
              "2025-12-30T02:33:52.932107753Z",
              "2025-12-30T02:34:02.932165349Z",
              "2025-12-30T02:34:12.932886365Z",
              "2025-12-30T02:34:22.934304300Z",
              "2025-12-30T02:34:32.933731314Z",
              "2025-12-30T02:34:42.934541051Z",
              "2025-12-30T02:34:52.936328638Z",
              "2025-12-30T02:35:02.937030097Z",
              "2025-12-30T02:35:12.935365472Z",
              "2025-12-30T02:35:22.938080276Z",
              "2025-12-30T02:35:32.936517956Z",
              "2025-12-30T02:35:42.937354514Z",
              "2025-12-30T02:35:52.937505247Z",
              "2025-12-30T02:36:02.937629836Z",
              "2025-12-30T02:36:12.938545546Z",
              "2025-12-30T02:36:22.938228025Z",
              "2025-12-30T02:36:32.938784530Z",
              "2025-12-30T02:36:42.939475378Z",
              "2025-12-30T02:36:52.939797747Z",
              "2025-12-30T02:37:02.940375521Z",
              "2025-12-30T02:37:12.941699716Z",
              "2025-12-30T02:37:22.941577167Z",
              "2025-12-30T02:37:32.941944612Z",
              "2025-12-30T02:37:42.942171829Z",
              "2025-12-30T02:37:52.942629467Z",
              "2025-12-30T02:38:02.943718816Z",
              "2025-12-30T02:38:12.945613778Z",
              "2025-12-30T02:38:22.944043154Z",
              "2025-12-30T02:38:32.946112628Z",
              "2025-12-30T02:38:42.945346734Z",
              "2025-12-30T02:38:52.945111829Z"
            ],
            "values": [
              {
                "metric_type": "delta",
                "values": {
                  "type": "integer",
                  "values": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0
                  ]
                }
              }
            ]
          }
        }
      ]
    }
  ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions