nom_nrql 0.1.2

NRQL (New Relic Query Language) streaming parser built with nom.
Documentation
1
2
3
4
5
6
7
8
9
10
{
  "select": { "items": [{ "type": "Wildcard" }] },
  "from": { "event_types": ["Transaction"] },
  "where": {
    "conditions": [
      { "attribute": { "name": "duration" }, "op": { "op": "Gt" }, "values": [{"type": "Number", "value": 1000}] }
    ]
  },
  "since": { "variant": "Relative", "n": 1, "unit": "day" }
}