chore: changed scrape interval to 60s and batch size to 10000 (#1316)

* chore: changed scrape interval to 60s and batch size to 10000
* chore: added send_batch_max_size to the batch processor
This commit is contained in:
Ankit Nayan 2022-06-24 14:55:02 +05:30 committed by GitHub
parent a733adad2c
commit b2afb9aabc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 8 deletions

View File

@ -12,7 +12,7 @@ receivers:
grpc: grpc:
thrift_http: thrift_http:
hostmetrics: hostmetrics:
collection_interval: 30s collection_interval: 60s
scrapers: scrapers:
cpu: cpu:
load: load:
@ -22,7 +22,8 @@ receivers:
network: network:
processors: processors:
batch: batch:
send_batch_size: 1000 send_batch_size: 10000
send_batch_max_size: 11000
timeout: 10s timeout: 10s
signozspanmetrics/prometheus: signozspanmetrics/prometheus:
metrics_exporter: prometheus metrics_exporter: prometheus

View File

@ -9,12 +9,13 @@ receivers:
config: config:
scrape_configs: scrape_configs:
- job_name: "otel-collector" - job_name: "otel-collector"
scrape_interval: 30s scrape_interval: 60s
static_configs: static_configs:
- targets: ["otel-collector:8889"] - targets: ["otel-collector:8889"]
processors: processors:
batch: batch:
send_batch_size: 1000 send_batch_size: 10000
send_batch_max_size: 11000
timeout: 10s timeout: 10s
# memory_limiter: # memory_limiter:
# # 80% of maximum memory up to 2G # # 80% of maximum memory up to 2G

View File

@ -12,7 +12,7 @@ receivers:
grpc: grpc:
thrift_http: thrift_http:
hostmetrics: hostmetrics:
collection_interval: 30s collection_interval: 60s
scrapers: scrapers:
cpu: cpu:
load: load:
@ -22,7 +22,8 @@ receivers:
network: network:
processors: processors:
batch: batch:
send_batch_size: 1000 send_batch_size: 10000
send_batch_max_size: 11000
timeout: 10s timeout: 10s
signozspanmetrics/prometheus: signozspanmetrics/prometheus:
metrics_exporter: prometheus metrics_exporter: prometheus

View File

@ -9,12 +9,13 @@ receivers:
config: config:
scrape_configs: scrape_configs:
- job_name: "otel-collector" - job_name: "otel-collector"
scrape_interval: 30s scrape_interval: 60s
static_configs: static_configs:
- targets: ["otel-collector:8889"] - targets: ["otel-collector:8889"]
processors: processors:
batch: batch:
send_batch_size: 1000 send_batch_size: 10000
send_batch_max_size: 11000
timeout: 10s timeout: 10s
# memory_limiter: # memory_limiter:
# # 80% of maximum memory up to 2G # # 80% of maximum memory up to 2G