Skip to content
This repository has been archived by the owner on Sep 30, 2021. It is now read-only.

Verify {"eq":{"result.ok":"T"}} still works #78

Closed
klahnakoski opened this issue Oct 23, 2018 · 2 comments
Closed

Verify {"eq":{"result.ok":"T"}} still works #78

klahnakoski opened this issue Oct 23, 2018 · 2 comments

Comments

@klahnakoski
Copy link
Contributor

No description provided.

@klahnakoski
Copy link
Contributor Author

klahnakoski commented Oct 24, 2018

the fx-test is broken in a related way

{
  "from": "fx-test",
  "groupby": [
    {
      "name": "job",
      "value": "run.job_name"
    },
    {
      "name": "test_id",
      "value": "test.full_name"
    },
    {
      "name": "test_name",
      "value": "test.name"
    }
  ],
  "select": [
    {
      "name": "d90",
      "aggregate": "percentile",
      "percentile": 0.9,
      "value": "result.duration"
    },
    {
      "name": "dtotal",
      "aggregate": "sum",
      "value": "result.duration"
    },
    {
      "name": "count",
      "aggregate": "count"
    },
    {
      "name": "failures",
      "aggregate": "sum",
      "value": {
        "when": {
          "eq": {
            "result.ok": "F"
          }
        },
        "then": 1,
        "else": 0
      }
    },
    {
      "name": "start",
      "aggregate": "min",
      "value": "run.stats.start_time"
    },
    {
      "name": "end",
      "aggregate": "max",
      "value": "run.stats.end_time"
    }
  ],
  "where": {
    "gt": {
      "run.stats.start_time": {
        "date": "today-8week"
      }
    }
  },
  "limit": 1000
}

@klahnakoski
Copy link
Contributor Author

appears fixed now

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant