Commit 959247b
committed
fix(observability): tolerate otel schema URL conflicts in resource merge
resource.Merge returns ErrSchemaURLConflict when resource.Default()
and our semconv attributes use different schema versions (e.g. 1.39.0
vs 1.34.0 due to transitive dependency version skew). The merged
resource is still valid and usable, so we tolerate this specific error.1 parent 76266d3 commit 959247b
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
55 | 60 | | |
56 | 61 | | |
57 | 62 | | |
| |||
0 commit comments