-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Create a /quality-metrics endpoint #6608
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: cs-308-2023 <[email protected]>
Signed-off-by: cs-308-2023 <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6608 +/- ##
==========================================
+ Coverage 95.98% 96.01% +0.03%
==========================================
Files 363 363
Lines 20601 20739 +138
==========================================
+ Hits 19773 19913 +140
+ Misses 632 630 -2
Partials 196 196
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
include a screenshot demonstrating that this works in the UI
Signed-off-by: cs-308-2023 <[email protected]>
Signed-off-by: cs-308-2023 <[email protected]>
Signed-off-by: cs-308-2023 <[email protected]>
Hey @ADI-ROXX , I was working on this PR: Migrate DetailsCard from class based to function based component, but there's a problem that before migrating, the |
cmd/query/app/http_handler.go
Outdated
@@ -183,7 +262,7 @@ func (aH *APIHandler) transformOTLP(w http.ResponseWriter, r *http.Request) { | |||
} | |||
|
|||
traces, err := otlp2traces(body) | |||
if aH.handleError(w, err, http.StatusInternalServerError) { | |||
if aH.handleError(w, err, http.StatusBadRequest) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is unrelated to this PR
@@ -80,6 +80,84 @@ type APIHandler struct { | |||
tracer trace.TracerProvider | |||
} | |||
|
|||
type TQualityMetrics struct { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please move all new code (data types and sample data) to another package like app/qualitymetrics
and only leave the handler function in this pkg
Signed-off-by: cs-308-2023 <[email protected]>
Hi @yaten2302. I don't think that this PR has much change left. However, if I feel difficulty in something, I will let you know. |
Which problem is this PR solving?
Description of the changes
How was this change tested?
Checklist
jaeger
:make lint test
jaeger-ui
:npm run lint
andnpm run test