-
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.99% 96.03% +0.04%
==========================================
Files 363 364 +1
Lines 20601 20696 +95
==========================================
+ Hits 19775 19876 +101
+ Misses 630 626 -4
+ Partials 196 194 -2
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
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. |
Signed-off-by: cs-308-2023 <[email protected]>
@yurishkuro Do you have any idea for any test in mind for data.go? I don't have any idea for the same. |
"github.com/jaegertracing/jaeger/pkg/testutils" | ||
) | ||
|
||
func TestDummy(*testing.T) { |
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.
why can't you add a test for GetSampleData?
Signed-off-by: cs-308-2023 <[email protected]>
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