Commit 5897873
Emit user.category for Last9 dashboard compatibility
When metadata.category is provided to @observe(), automatically emit
it as both metadata.category and user.category attributes. The Last9
dashboard LLM page specifically looks for user.category to populate
the Category column and filter dropdown.
This allows users to simply use metadata={"category": "support"} and
have it work correctly in the Last9 UI without needing to know the
platform-specific attribute name.
Also ignore send_test_spans.py in .gitignore.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 6a7557b commit 5897873
2 files changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
165 | 169 | | |
166 | 170 | | |
167 | 171 | | |
| |||
239 | 243 | | |
240 | 244 | | |
241 | 245 | | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
242 | 250 | | |
243 | 251 | | |
244 | 252 | | |
| |||
0 commit comments