Commit 0884c8c
authored
Validation framework fix equivalence check for metrics (#2776)
# Change Summary
This adds additional validation tests to check that all signals are
preserved through otlp/otap receiver/exporters.
Adds canonicalize_buckets fn to set values from None to Some(Buckets
{offset: 0, bucket_counts: vec![]}). Before the validation tests
involving metrics and otap receiver/exporters would fail, but now they
are succeeding
## What issue does this PR close?
* Closes #2786
## How are these changes tested?
validation test
## Are there any user-facing changes?
no1 parent 42ae9be commit 0884c8c
7 files changed
Lines changed: 415 additions & 6 deletions
File tree
- rust/otap-dataflow/crates
- pdata/src/testing/equiv
- validation
- src
- templates
- validation_pipelines
Lines changed: 20 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
252 | 268 | | |
253 | 269 | | |
254 | 270 | | |
| |||
262 | 278 | | |
263 | 279 | | |
264 | 280 | | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
265 | 284 | | |
266 | 285 | | |
267 | 286 | | |
| |||
0 commit comments