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

View File

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

View File

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

View File

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