From 24e84bac2a52f4e6a8c8c6768bf0473d92dfc109 Mon Sep 17 00:00:00 2001 From: Ankit Nayan Date: Tue, 14 Jun 2022 20:50:13 +0530 Subject: [PATCH 1/8] 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" From 1f2ec0d728f360d945c84afc20a6125c6e4e3cad Mon Sep 17 00:00:00 2001 From: Prashant Shahi Date: Tue, 14 Jun 2022 18:14:26 +0530 Subject: [PATCH 2/8] =?UTF-8?q?chore(release):=20=F0=9F=93=8C=20pin=20vers?= =?UTF-8?q?ions:=20SigNoz=200.8.2,=20OtelCollector=200.45.1-0.3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Prashant Shahi --- deploy/docker-swarm/clickhouse-setup/docker-compose.yaml | 8 ++++---- deploy/docker/clickhouse-setup/docker-compose.arm.yaml | 8 ++++---- deploy/docker/clickhouse-setup/docker-compose.yaml | 8 ++++---- .../tests/test-deploy/docker-compose.arm.yaml | 4 ++-- pkg/query-service/tests/test-deploy/docker-compose.yaml | 4 ++-- 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/deploy/docker-swarm/clickhouse-setup/docker-compose.yaml b/deploy/docker-swarm/clickhouse-setup/docker-compose.yaml index 8806533caa..bc58e956b5 100644 --- a/deploy/docker-swarm/clickhouse-setup/docker-compose.yaml +++ b/deploy/docker-swarm/clickhouse-setup/docker-compose.yaml @@ -37,7 +37,7 @@ services: condition: on-failure query-service: - image: signoz/query-service:0.8.1 + image: signoz/query-service:0.8.2 command: ["-config=/root/config/prometheus.yml"] # ports: # - "6060:6060" # pprof port @@ -65,7 +65,7 @@ services: - clickhouse frontend: - image: signoz/frontend:0.8.1 + image: signoz/frontend:0.8.2 deploy: restart_policy: condition: on-failure @@ -78,7 +78,7 @@ services: - ../common/nginx-config.conf:/etc/nginx/conf.d/default.conf otel-collector: - image: signoz/otelcontribcol:0.45.1-0.2 + image: signoz/otelcontribcol:0.45.1-0.3 command: ["--config=/etc/otel-collector-config.yaml"] volumes: - ./otel-collector-config.yaml:/etc/otel-collector-config.yaml @@ -104,7 +104,7 @@ services: - clickhouse otel-collector-metrics: - image: signoz/otelcontribcol:0.45.1-0.2 + image: signoz/otelcontribcol:0.45.1-0.3 command: ["--config=/etc/otel-collector-metrics-config.yaml"] volumes: - ./otel-collector-metrics-config.yaml:/etc/otel-collector-metrics-config.yaml diff --git a/deploy/docker/clickhouse-setup/docker-compose.arm.yaml b/deploy/docker/clickhouse-setup/docker-compose.arm.yaml index e4197cfbc3..c30bf82064 100644 --- a/deploy/docker/clickhouse-setup/docker-compose.arm.yaml +++ b/deploy/docker/clickhouse-setup/docker-compose.arm.yaml @@ -37,7 +37,7 @@ services: query-service: - image: signoz/query-service:0.8.1 + image: signoz/query-service:0.8.2 container_name: query-service command: ["-config=/root/config/prometheus.yml"] # ports: @@ -64,7 +64,7 @@ services: condition: service_healthy frontend: - image: signoz/frontend:0.8.1 + image: signoz/frontend:0.8.2 container_name: frontend restart: on-failure depends_on: @@ -76,7 +76,7 @@ services: - ../common/nginx-config.conf:/etc/nginx/conf.d/default.conf otel-collector: - image: signoz/otelcontribcol:0.45.1-0.2 + image: signoz/otelcontribcol:0.45.1-0.3 command: ["--config=/etc/otel-collector-config.yaml"] volumes: - ./otel-collector-config.yaml:/etc/otel-collector-config.yaml @@ -97,7 +97,7 @@ services: condition: service_healthy otel-collector-metrics: - image: signoz/otelcontribcol:0.45.1-0.2 + image: signoz/otelcontribcol:0.45.1-0.3 command: ["--config=/etc/otel-collector-metrics-config.yaml"] volumes: - ./otel-collector-metrics-config.yaml:/etc/otel-collector-metrics-config.yaml diff --git a/deploy/docker/clickhouse-setup/docker-compose.yaml b/deploy/docker/clickhouse-setup/docker-compose.yaml index e6d2de2f3c..44a0e25554 100644 --- a/deploy/docker/clickhouse-setup/docker-compose.yaml +++ b/deploy/docker/clickhouse-setup/docker-compose.yaml @@ -36,7 +36,7 @@ services: # Notes for Maintainers/Contributors who will change Line Numbers of Frontend & Query-Section. Please Update Line Numbers in `./scripts/commentLinesForSetup.sh` & `./CONTRIBUTING.md` query-service: - image: signoz/query-service:0.8.1 + image: signoz/query-service:0.8.2 container_name: query-service command: ["-config=/root/config/prometheus.yml"] # ports: @@ -63,7 +63,7 @@ services: condition: service_healthy frontend: - image: signoz/frontend:0.8.1 + image: signoz/frontend:0.8.2 container_name: frontend restart: on-failure depends_on: @@ -75,7 +75,7 @@ services: - ../common/nginx-config.conf:/etc/nginx/conf.d/default.conf otel-collector: - image: signoz/otelcontribcol:0.45.1-0.2 + image: signoz/otelcontribcol:0.45.1-0.3 command: ["--config=/etc/otel-collector-config.yaml"] volumes: - ./otel-collector-config.yaml:/etc/otel-collector-config.yaml @@ -96,7 +96,7 @@ services: condition: service_healthy otel-collector-metrics: - image: signoz/otelcontribcol:0.45.1-0.2 + image: signoz/otelcontribcol:0.45.1-0.3 command: ["--config=/etc/otel-collector-metrics-config.yaml"] volumes: - ./otel-collector-metrics-config.yaml:/etc/otel-collector-metrics-config.yaml diff --git a/pkg/query-service/tests/test-deploy/docker-compose.arm.yaml b/pkg/query-service/tests/test-deploy/docker-compose.arm.yaml index 387daed353..48a1449fe4 100644 --- a/pkg/query-service/tests/test-deploy/docker-compose.arm.yaml +++ b/pkg/query-service/tests/test-deploy/docker-compose.arm.yaml @@ -51,7 +51,7 @@ services: condition: service_healthy otel-collector: - image: signoz/otelcontribcol:0.45.1-0.2 + image: signoz/otelcontribcol:0.45.1-0.3 command: ["--config=/etc/otel-collector-config.yaml"] volumes: - ./otel-collector-config.yaml:/etc/otel-collector-config.yaml @@ -64,7 +64,7 @@ services: condition: service_healthy otel-collector-metrics: - image: signoz/otelcontribcol:0.45.1-0.2 + image: signoz/otelcontribcol:0.45.1-0.3 command: ["--config=/etc/otel-collector-metrics-config.yaml"] volumes: - ./otel-collector-metrics-config.yaml:/etc/otel-collector-metrics-config.yaml diff --git a/pkg/query-service/tests/test-deploy/docker-compose.yaml b/pkg/query-service/tests/test-deploy/docker-compose.yaml index 28bfb726af..4a3ad41870 100644 --- a/pkg/query-service/tests/test-deploy/docker-compose.yaml +++ b/pkg/query-service/tests/test-deploy/docker-compose.yaml @@ -56,7 +56,7 @@ services: condition: service_healthy otel-collector: - image: signoz/otelcontribcol:0.45.1-0.2 + image: signoz/otelcontribcol:0.45.1-0.3 command: ["--config=/etc/otel-collector-config.yaml"] volumes: - ./otel-collector-config.yaml:/etc/otel-collector-config.yaml @@ -69,7 +69,7 @@ services: condition: service_healthy otel-collector-metrics: - image: signoz/otelcontribcol:0.45.1-0.2 + image: signoz/otelcontribcol:0.45.1-0.3 command: ["--config=/etc/otel-collector-metrics-config.yaml"] volumes: - ./otel-collector-metrics-config.yaml:/etc/otel-collector-metrics-config.yaml From 988557284222d3b6d12e525a8ca62235e35bd199 Mon Sep 17 00:00:00 2001 From: Palash gupta Date: Fri, 17 Jun 2022 08:07:33 +0530 Subject: [PATCH 3/8] feat: nginx uri issue is handled by increasing buffers --- deploy/docker/common/nginx-config.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/deploy/docker/common/nginx-config.conf b/deploy/docker/common/nginx-config.conf index 705656bb6e..02fc9a8e69 100644 --- a/deploy/docker/common/nginx-config.conf +++ b/deploy/docker/common/nginx-config.conf @@ -11,6 +11,16 @@ server { gzip_buffers 16 8k; gzip_http_version 1.1; + # to handle uri issue 414 from nginx + fastcgi_buffers 8 16k; + fastcgi_buffer_size 32k; + + client_max_body_size 24M; + client_body_buffer_size 128k; + + client_header_buffer_size 5120k; + large_client_header_buffers 16 5120k; + location / { if ( $uri = '/index.html' ) { add_header Cache-Control no-store always; From 43e4f637d1c7eac64e52531c50fdc4a711bacb20 Mon Sep 17 00:00:00 2001 From: Palash gupta Date: Fri, 17 Jun 2022 12:31:48 +0530 Subject: [PATCH 4/8] fix: remove fastcgi --- deploy/docker/common/nginx-config.conf | 3 --- 1 file changed, 3 deletions(-) diff --git a/deploy/docker/common/nginx-config.conf b/deploy/docker/common/nginx-config.conf index 02fc9a8e69..a26c6662ca 100644 --- a/deploy/docker/common/nginx-config.conf +++ b/deploy/docker/common/nginx-config.conf @@ -12,9 +12,6 @@ server { gzip_http_version 1.1; # to handle uri issue 414 from nginx - fastcgi_buffers 8 16k; - fastcgi_buffer_size 32k; - client_max_body_size 24M; client_body_buffer_size 128k; From 8871d53ae05bab6f8fc45ac72f516a59fc68ffa1 Mon Sep 17 00:00:00 2001 From: Palash Date: Tue, 21 Jun 2022 15:12:03 +0530 Subject: [PATCH 5/8] nginx config is updated --- deploy/docker/common/nginx-config.conf | 1 - 1 file changed, 1 deletion(-) diff --git a/deploy/docker/common/nginx-config.conf b/deploy/docker/common/nginx-config.conf index a26c6662ca..e61719198b 100644 --- a/deploy/docker/common/nginx-config.conf +++ b/deploy/docker/common/nginx-config.conf @@ -13,7 +13,6 @@ server { # to handle uri issue 414 from nginx client_max_body_size 24M; - client_body_buffer_size 128k; client_header_buffer_size 5120k; large_client_header_buffers 16 5120k; From 7f64dfd023365785db5b5c31ab54554f7de73dd6 Mon Sep 17 00:00:00 2001 From: Palash Date: Tue, 21 Jun 2022 16:05:18 +0530 Subject: [PATCH 6/8] chore: nginx config is updated --- deploy/docker/common/nginx-config.conf | 1 - 1 file changed, 1 deletion(-) diff --git a/deploy/docker/common/nginx-config.conf b/deploy/docker/common/nginx-config.conf index e61719198b..da7f1b63f1 100644 --- a/deploy/docker/common/nginx-config.conf +++ b/deploy/docker/common/nginx-config.conf @@ -14,7 +14,6 @@ server { # to handle uri issue 414 from nginx client_max_body_size 24M; - client_header_buffer_size 5120k; large_client_header_buffers 16 5120k; location / { From fdca72b9b24ea316301f0f07758b2f97382b449f Mon Sep 17 00:00:00 2001 From: Palash Date: Tue, 21 Jun 2022 16:09:17 +0530 Subject: [PATCH 7/8] chore: nginx config is updated --- deploy/docker/common/nginx-config.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/docker/common/nginx-config.conf b/deploy/docker/common/nginx-config.conf index da7f1b63f1..99615f1f60 100644 --- a/deploy/docker/common/nginx-config.conf +++ b/deploy/docker/common/nginx-config.conf @@ -14,7 +14,7 @@ server { # to handle uri issue 414 from nginx client_max_body_size 24M; - large_client_header_buffers 16 5120k; + large_client_header_buffers 8 16k; location / { if ( $uri = '/index.html' ) { From bcb5256de0577cd9225e6ea05f134f866154b0fe Mon Sep 17 00:00:00 2001 From: Palash Date: Tue, 21 Jun 2022 17:25:59 +0530 Subject: [PATCH 8/8] Update CODEOWNERS (#1265) --- .github/CODEOWNERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index afd70250c4..b717ca9eee 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -2,5 +2,5 @@ # Owners are automatically requested for review for PRs that changes code # that they own. * @ankitnayan -/frontend/ @palash-signoz @pranshuchittora +/frontend/ @palashgdev @pranshuchittora /deploy/ @prashant-shahi