-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Fixed invalid string type issue for array-valued tags #7350
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed invalid string type issue for array-valued tags #7350
Conversation
Signed-off-by: Parship Chowdhury <i.am.parship@gmail.com>
|
|
please include how the value looks in ES JSON (the ticket has the command showing how to load from ES) |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #7350 +/- ##
==========================================
- Coverage 96.49% 96.46% -0.03%
==========================================
Files 378 378
Lines 22910 22910
==========================================
- Hits 22107 22101 -6
- Misses 608 612 +4
- Partials 195 197 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Pull Request is not mergeable
7948c3b
Which problem is this PR solving?
Description of the changes
[value1, value2]
, the ui showedinvalid string type
errorinternal/storage/v2/elasticsearch/tracestore/to_dbmodel.go
, theattributeToDbTag
function only handledValueTypeMap
for JSON serializationValueTypeSlice
(arrays) were falling through to the default case, this causing the type mismatchingpcommon.ValueTypeSlice
to the existing case that handles JSON serializationHow was this change tested?
(blockers: ["7510-2"])
Screenshot:
Checklist
jaeger
:make lint test
jaeger-ui
:npm run lint
andnpm run test