Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

fix(lint): 🚨 format prometheus config YAML and remove trailing spaces

Prashant Shahi745fd07bd87b
diff --git a/deploy/docker-swarm/clickhouse-setup/prometheus.yml b/deploy/docker-swarm/clickhouse-setup/prometheus.yml
index 16e65ff18c..6a796ea1d0 100644
--- a/deploy/docker-swarm/clickhouse-setup/prometheus.yml
+++ b/deploy/docker-swarm/clickhouse-setup/prometheus.yml
@@ -19,8 +19,7 @@ rule_files:
# A scrape configuration containing exactly one endpoint to scrape:
# Here it's Prometheus itself.
-scrape_configs:
-
+scrape_configs: []
remote_read:
- url: tcp://clickhouse:9000/?database=signoz_metrics
diff --git a/deploy/docker/clickhouse-setup/prometheus.yml b/deploy/docker/clickhouse-setup/prometheus.yml
index 16e65ff18c..6a796ea1d0 100644
--- a/deploy/docker/clickhouse-setup/prometheus.yml
+++ b/deploy/docker/clickhouse-setup/prometheus.yml
@@ -19,8 +19,7 @@ rule_files:
# A scrape configuration containing exactly one endpoint to scrape:
# Here it's Prometheus itself.
-scrape_configs:
-
+scrape_configs: []
remote_read:
- url: tcp://clickhouse:9000/?database=signoz_metrics
diff --git a/deploy/docker/common/nginx-config.conf b/deploy/docker/common/nginx-config.conf
index 99615f1f60..d822e68c40 100644
--- a/deploy/docker/common/nginx-config.conf
+++ b/deploy/docker/common/nginx-config.conf
@@ -3,7 +3,7 @@ server {
server_name _;
gzip on;
- gzip_static on;
+ gzip_static on;
gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;
gzip_proxied any;
gzip_vary on;
@@ -13,7 +13,6 @@ server {
# to handle uri issue 414 from nginx
client_max_body_size 24M;
-
large_client_header_buffers 8 16k;
location / {
diff --git a/frontend/Dockerfile b/frontend/Dockerfile
index d7fff6c0bb..71188e71c9 100644
--- a/frontend/Dockerfile
+++ b/frontend/Dockerfile
@@ -13,7 +13,7 @@ WORKDIR /frontend
COPY package.json ./
# Install the dependencies and make the folder
-RUN CI=1 yarn install
+RUN CI=1 yarn install
COPY . .
diff --git a/pkg/query-service/config/prometheus.yml b/pkg/query-service/config/prometheus.yml
index d7c0ce6911..88ee92961b 100644
--- a/pkg/query-service/config/prometheus.yml
+++ b/pkg/query-service/config/prometheus.yml
@@ -19,8 +19,7 @@ rule_files:
# A scrape configuration containing exactly one endpoint to scrape:
# Here it's Prometheus itself.
-scrape_configs:
-
+scrape_configs: []
remote_read:
- url: tcp://localhost:9000/?database=signoz_metrics
diff --git a/pkg/query-service/tests/test-deploy/prometheus.yml b/pkg/query-service/tests/test-deploy/prometheus.yml
index 16e65ff18c..6a796ea1d0 100644
--- a/pkg/query-service/tests/test-deploy/prometheus.yml
+++ b/pkg/query-service/tests/test-deploy/prometheus.yml
@@ -19,8 +19,7 @@ rule_files:
# A scrape configuration containing exactly one endpoint to scrape:
# Here it's Prometheus itself.
-scrape_configs:
-
+scrape_configs: []
remote_read:
- url: tcp://clickhouse:9000/?database=signoz_metrics