I have written the following DQL and it works for my current use case but I was wondering about efficiency.
timeseries series = avg(dt.synthetic.http.availability),
by: { dt.entity.synthetic_test, dt.entity.synthetic_location, dt.entity.http_check },
filter: { contains(entityAttr(dt.entity.http_check, “entity.name”), “variable”) }
| append [
timeseries series = avg(dt.synthetic.browser.availability),
by: { dt.entity.synthetic_test, dt.entity.synthetic_location },
filter: { contains(entityAttr(dt.entity.synthetic_test, “entity.name”), “variable”) }
]
Is this the most efficient way to run this combined data set?
i have 2 questions.
1. In DQL can the variable be set as a variable and not a string that I have to modify in 2 places.
2. In DQL is there a more efficient way to combine the data. (Is append the best way?)