Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oximeter timeouts for seemingly-tiny queries #7494

Open
iximeow opened this issue Feb 6, 2025 · 0 comments
Open

Oximeter timeouts for seemingly-tiny queries #7494

iximeow opened this issue Feb 6, 2025 · 0 comments
Assignees

Comments

@iximeow
Copy link
Member

iximeow commented Feb 6, 2025

given a query through the CLI like

./target/release/oxide --profile dogfood experimental system timeseries query --query 'get hardware_component:input_current | filter sensor == "V54_PSU0" | filter timestamp > @now() - 1m | align mean_within(1m) | group_by [sensor], mean'

i sometimes see data, and sometimes get timeouts. in one case,

{
  "tables": [
    {
      "name": "hardware_component:input_current",
      "timeseries": {
        "2042112899084979388": {
          "fields": {
            "sensor": {
              "type": "string",
              "value": "V54_PSU0"
            }
          },
          "points": {
            "timestamps": [
              "2025-02-06T19:31:56.852979543Z"
            ],
            "values": [
              {
                "metric_type": "gauge",
                "values": {
                  "type": "double",
                  "values": [
                    6.230603204257246
                  ]
                }
              }
            ]
          }
        }
      }
    }
  ]
}

which seems reasonable, but rerunning the same query yielded

Communication Error: error sending request for url (https://oxide.sys.rack2.eng.oxide.computer/v1/system/timeseries/query): error sending request for url (https://oxide.sys.rack2.eng.oxide.computer/v1/system/timeseries/query): operation timed out

separately, there are some tables i'm not sure have any data, such as hardware_component:power, always time out for me..

./target/release/oxide --profile dogfood experimental system timeseries query --query 'get hardware_component:power | filter timestamp > @now() - 1m | align mean_within(1m)'
error
Communication Error: error sending request for url (https://oxide.sys.rack2.eng.oxide.computer/v1/system/timeseries/query): error sending request for url (https://oxide.sys.rack2.eng.oxide.computer/v1/system/timeseries/query): operation timed out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants