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.

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

Ankit Nayanb2afb9aabc9c
diff --git a/deploy/docker-swarm/clickhouse-setup/otel-collector-config.yaml b/deploy/docker-swarm/clickhouse-setup/otel-collector-config.yaml
index 5f65e6eb5c..a998d93ab9 100644
--- a/deploy/docker-swarm/clickhouse-setup/otel-collector-config.yaml
+++ b/deploy/docker-swarm/clickhouse-setup/otel-collector-config.yaml
@@ -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
diff --git a/deploy/docker-swarm/clickhouse-setup/otel-collector-metrics-config.yaml b/deploy/docker-swarm/clickhouse-setup/otel-collector-metrics-config.yaml
index 0563a397da..3aa39b5f7e 100644
--- a/deploy/docker-swarm/clickhouse-setup/otel-collector-metrics-config.yaml
+++ b/deploy/docker-swarm/clickhouse-setup/otel-collector-metrics-config.yaml
@@ -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
diff --git a/deploy/docker/clickhouse-setup/otel-collector-config.yaml b/deploy/docker/clickhouse-setup/otel-collector-config.yaml
index bcf7ce58ce..e363f015df 100644
--- a/deploy/docker/clickhouse-setup/otel-collector-config.yaml
+++ b/deploy/docker/clickhouse-setup/otel-collector-config.yaml
@@ -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
diff --git a/deploy/docker/clickhouse-setup/otel-collector-metrics-config.yaml b/deploy/docker/clickhouse-setup/otel-collector-metrics-config.yaml
index cd5ede2358..26c629ba60 100644
--- a/deploy/docker/clickhouse-setup/otel-collector-metrics-config.yaml
+++ b/deploy/docker/clickhouse-setup/otel-collector-metrics-config.yaml
@@ -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