Commit 138072a
committed
fix(llmobs): prevent dots in evaluation metric labels
EVP interprets dots as nested objects (e.g., "field.1" becomes
{field: {1: value}}), causing confusion for customers submitting
custom evaluations with dots in label names.
Add validation to reject labels containing dots and raise a clear
error message directing users to use alternative naming conventions.1 parent f7999ce commit 138072a
File tree
2 files changed
+11
-0
lines changed- ddtrace/llmobs
- tests/llmobs
2 files changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1685 | 1685 | | |
1686 | 1686 | | |
1687 | 1687 | | |
| 1688 | + | |
| 1689 | + | |
| 1690 | + | |
| 1691 | + | |
1688 | 1692 | | |
1689 | 1693 | | |
1690 | 1694 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1630 | 1630 | | |
1631 | 1631 | | |
1632 | 1632 | | |
| 1633 | + | |
| 1634 | + | |
| 1635 | + | |
| 1636 | + | |
| 1637 | + | |
| 1638 | + | |
| 1639 | + | |
1633 | 1640 | | |
1634 | 1641 | | |
1635 | 1642 | | |
| |||
0 commit comments