Commit 75cc57b
authored
columnar query engine support basic filtering of spans and metrics (open-telemetry#1560)
part of open-telemetry#1508
Adds support to the columnar query engine to filter metrics and traces.
The thing that needed to be implemented to support this was just to
traverse down the tree of payload types and remove rows whose parent was
filtered out.
Because attributes w/ 32 bit parent IDs can have this column dictionary
encoded, I decided to expose the arrays::MaybeDictionaryAccessor from
the OTAP Dataflow Pdata crate. I wasn't ready to make everything in this
module public, so many methods and types are changed to `pub(crate)` in
this module.
Note - only basic filtering support is added currently. There's no
capability to say, filter metrics by datapoint attributes, filter
datapoint attributes themselves, and likewise no ability to filter
span's spanevents/span links. All this can be added in future1 parent 539eefe commit 75cc57b
7 files changed
Lines changed: 1033 additions & 140 deletions
Lines changed: 45 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
260 | 266 | | |
261 | 267 | | |
262 | 268 | | |
| |||
278 | 284 | | |
279 | 285 | | |
280 | 286 | | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
281 | 313 | | |
282 | | - | |
| 314 | + | |
283 | 315 | | |
284 | 316 | | |
285 | 317 | | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
286 | 328 | | |
287 | 329 | | |
288 | 330 | | |
289 | 331 | | |
290 | 332 | | |
291 | 333 | | |
292 | 334 | | |
293 | | - | |
| 335 | + | |
294 | 336 | | |
295 | 337 | | |
296 | 338 | | |
| |||
308 | 350 | | |
309 | 351 | | |
310 | 352 | | |
311 | | - | |
| 353 | + | |
312 | 354 | | |
313 | 355 | | |
314 | 356 | | |
| |||
0 commit comments