Commit 5bcd099
authored
fix(llmobs): prevent dots in evaluation metric labels (#15297)
## Description
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.
## Testing
Added a unit test to verify the expected behavior.
## Risks
None
## Additional Notes
JIRA ticket: https://datadoghq.atlassian.net/browse/MLOB-45571 parent 1338d6e commit 5bcd099
File tree
3 files changed
+15
-0
lines changed- ddtrace/llmobs
- releasenotes/notes
- tests/llmobs
3 files changed
+15
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1713 | 1713 | | |
1714 | 1714 | | |
1715 | 1715 | | |
| 1716 | + | |
| 1717 | + | |
| 1718 | + | |
| 1719 | + | |
1716 | 1720 | | |
1717 | 1721 | | |
1718 | 1722 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 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