From 4f12f8c85cb5e7fb3843f8b55e032a47165b062e Mon Sep 17 00:00:00 2001 From: Srikanth Chekuri Date: Tue, 14 Jun 2022 01:09:44 +0530 Subject: [PATCH 1/2] fix: incorrect 5xx rate calculation (#1229) --- pkg/query-service/app/clickhouseReader/reader.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/query-service/app/clickhouseReader/reader.go b/pkg/query-service/app/clickhouseReader/reader.go index a55977c35f..1258060c41 100644 --- a/pkg/query-service/app/clickhouseReader/reader.go +++ b/pkg/query-service/app/clickhouseReader/reader.go @@ -1188,7 +1188,7 @@ func (r *ClickHouseReader) GetServices(ctx context.Context, queryParams *model.G m4xx := make(map[string]uint64) for j := range service4xxItems { - m5xx[service4xxItems[j].ServiceName] = service4xxItems[j].Num4XX + m4xx[service4xxItems[j].ServiceName] = service4xxItems[j].Num4XX } for i := range serviceItems { From 24e84bac2a52f4e6a8c8c6768bf0473d92dfc109 Mon Sep 17 00:00:00 2001 From: Ankit Nayan Date: Tue, 14 Jun 2022 20:50:13 +0530 Subject: [PATCH 2/2] Create codeball.yml --- .github/workflows/codeball.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/codeball.yml diff --git a/.github/workflows/codeball.yml b/.github/workflows/codeball.yml new file mode 100644 index 0000000000..ed69d5c10e --- /dev/null +++ b/.github/workflows/codeball.yml @@ -0,0 +1,17 @@ +name: Codeball +on: [pull_request] + +jobs: + codeball_job: + runs-on: ubuntu-latest + name: Codeball + steps: + # Run Codeball on all new Pull Requests 🚀 + # For customizations and more documentation, see https://github.com/sturdy-dev/codeball-action + - name: Codeball + uses: sturdy-dev/codeball-action@v2 + with: + approvePullRequests: "true" + labelPullRequestsWhenApproved: "true" + labelPullRequestsWhenReviewNeeded: "false" + failJobsWhenReviewNeeded: "false"