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

Signed-off-by: Prashant Shahi <prashant@signoz.io>
This commit is contained in:
Prashant Shahi 2022-09-13 22:44:24 +05:30
parent 05de0ccba5
commit 745fd07bd8
No known key found for this signature in database
GPG Key ID: 6E62ED14180EB2C0
6 changed files with 6 additions and 11 deletions

View File

@ -19,8 +19,7 @@ rule_files:
# A scrape configuration containing exactly one endpoint to scrape: # A scrape configuration containing exactly one endpoint to scrape:
# Here it's Prometheus itself. # Here it's Prometheus itself.
scrape_configs: scrape_configs: []
remote_read: remote_read:
- url: tcp://clickhouse:9000/?database=signoz_metrics - url: tcp://clickhouse:9000/?database=signoz_metrics

View File

@ -19,8 +19,7 @@ rule_files:
# A scrape configuration containing exactly one endpoint to scrape: # A scrape configuration containing exactly one endpoint to scrape:
# Here it's Prometheus itself. # Here it's Prometheus itself.
scrape_configs: scrape_configs: []
remote_read: remote_read:
- url: tcp://clickhouse:9000/?database=signoz_metrics - url: tcp://clickhouse:9000/?database=signoz_metrics

View File

@ -3,7 +3,7 @@ server {
server_name _; server_name _;
gzip on; 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_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;
gzip_proxied any; gzip_proxied any;
gzip_vary on; gzip_vary on;
@ -13,7 +13,6 @@ server {
# to handle uri issue 414 from nginx # to handle uri issue 414 from nginx
client_max_body_size 24M; client_max_body_size 24M;
large_client_header_buffers 8 16k; large_client_header_buffers 8 16k;
location / { location / {

View File

@ -13,7 +13,7 @@ WORKDIR /frontend
COPY package.json ./ COPY package.json ./
# Install the dependencies and make the folder # Install the dependencies and make the folder
RUN CI=1 yarn install RUN CI=1 yarn install
COPY . . COPY . .

View File

@ -19,8 +19,7 @@ rule_files:
# A scrape configuration containing exactly one endpoint to scrape: # A scrape configuration containing exactly one endpoint to scrape:
# Here it's Prometheus itself. # Here it's Prometheus itself.
scrape_configs: scrape_configs: []
remote_read: remote_read:
- url: tcp://localhost:9000/?database=signoz_metrics - url: tcp://localhost:9000/?database=signoz_metrics

View File

@ -19,8 +19,7 @@ rule_files:
# A scrape configuration containing exactly one endpoint to scrape: # A scrape configuration containing exactly one endpoint to scrape:
# Here it's Prometheus itself. # Here it's Prometheus itself.
scrape_configs: scrape_configs: []
remote_read: remote_read:
- url: tcp://clickhouse:9000/?database=signoz_metrics - url: tcp://clickhouse:9000/?database=signoz_metrics