mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-13 17:59:02 +08:00
chore: 🔧 set dimensions_cache_size in signozspanmetrics processor (#885)
* chore: 🔧 set dimensions_cache_size in signozspanmetrics processor
- add example usage of limit_percentage and spike_limit_percentage
Signed-off-by: Prashant Shahi <prashant@signoz.io>
This commit is contained in:
parent
79a1f79b7c
commit
8aa5eb78b2
@ -27,14 +27,18 @@ processors:
|
|||||||
signozspanmetrics/prometheus:
|
signozspanmetrics/prometheus:
|
||||||
metrics_exporter: prometheus
|
metrics_exporter: prometheus
|
||||||
latency_histogram_buckets: [100us, 1ms, 2ms, 6ms, 10ms, 50ms, 100ms, 250ms, 500ms, 1000ms, 1400ms, 2000ms, 5s, 10s, 20s, 40s, 60s ]
|
latency_histogram_buckets: [100us, 1ms, 2ms, 6ms, 10ms, 50ms, 100ms, 250ms, 500ms, 1000ms, 1400ms, 2000ms, 5s, 10s, 20s, 40s, 60s ]
|
||||||
|
dimensions_cache_size: 10000
|
||||||
# memory_limiter:
|
# memory_limiter:
|
||||||
# # Same as --mem-ballast-size-mib CLI argument
|
|
||||||
# ballast_size_mib: 683
|
|
||||||
# # 80% of maximum memory up to 2G
|
# # 80% of maximum memory up to 2G
|
||||||
# limit_mib: 1500
|
# limit_mib: 1500
|
||||||
# # 25% of limit up to 2G
|
# # 25% of limit up to 2G
|
||||||
# spike_limit_mib: 512
|
# spike_limit_mib: 512
|
||||||
# check_interval: 5s
|
# check_interval: 5s
|
||||||
|
#
|
||||||
|
# # 50% of the maximum memory
|
||||||
|
# limit_percentage: 50
|
||||||
|
# # 20% of max memory usage spike expected
|
||||||
|
# spike_limit_percentage: 20
|
||||||
# queued_retry:
|
# queued_retry:
|
||||||
# num_workers: 4
|
# num_workers: 4
|
||||||
# queue_size: 100
|
# queue_size: 100
|
||||||
|
@ -17,13 +17,16 @@ processors:
|
|||||||
send_batch_size: 1000
|
send_batch_size: 1000
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
# memory_limiter:
|
# memory_limiter:
|
||||||
# # Same as --mem-ballast-size-mib CLI argument
|
|
||||||
# ballast_size_mib: 683
|
|
||||||
# # 80% of maximum memory up to 2G
|
# # 80% of maximum memory up to 2G
|
||||||
# limit_mib: 1500
|
# limit_mib: 1500
|
||||||
# # 25% of limit up to 2G
|
# # 25% of limit up to 2G
|
||||||
# spike_limit_mib: 512
|
# spike_limit_mib: 512
|
||||||
# check_interval: 5s
|
# check_interval: 5s
|
||||||
|
#
|
||||||
|
# # 50% of the maximum memory
|
||||||
|
# limit_percentage: 50
|
||||||
|
# # 20% of max memory usage spike expected
|
||||||
|
# spike_limit_percentage: 20
|
||||||
# queued_retry:
|
# queued_retry:
|
||||||
# num_workers: 4
|
# num_workers: 4
|
||||||
# queue_size: 100
|
# queue_size: 100
|
||||||
|
@ -27,14 +27,18 @@ processors:
|
|||||||
signozspanmetrics/prometheus:
|
signozspanmetrics/prometheus:
|
||||||
metrics_exporter: prometheus
|
metrics_exporter: prometheus
|
||||||
latency_histogram_buckets: [100us, 1ms, 2ms, 6ms, 10ms, 50ms, 100ms, 250ms, 500ms, 1000ms, 1400ms, 2000ms, 5s, 10s, 20s, 40s, 60s ]
|
latency_histogram_buckets: [100us, 1ms, 2ms, 6ms, 10ms, 50ms, 100ms, 250ms, 500ms, 1000ms, 1400ms, 2000ms, 5s, 10s, 20s, 40s, 60s ]
|
||||||
|
dimensions_cache_size: 10000
|
||||||
# memory_limiter:
|
# memory_limiter:
|
||||||
# # Same as --mem-ballast-size-mib CLI argument
|
|
||||||
# ballast_size_mib: 683
|
|
||||||
# # 80% of maximum memory up to 2G
|
# # 80% of maximum memory up to 2G
|
||||||
# limit_mib: 1500
|
# limit_mib: 1500
|
||||||
# # 25% of limit up to 2G
|
# # 25% of limit up to 2G
|
||||||
# spike_limit_mib: 512
|
# spike_limit_mib: 512
|
||||||
# check_interval: 5s
|
# check_interval: 5s
|
||||||
|
#
|
||||||
|
# # 50% of the maximum memory
|
||||||
|
# limit_percentage: 50
|
||||||
|
# # 20% of max memory usage spike expected
|
||||||
|
# spike_limit_percentage: 20
|
||||||
# queued_retry:
|
# queued_retry:
|
||||||
# num_workers: 4
|
# num_workers: 4
|
||||||
# queue_size: 100
|
# queue_size: 100
|
||||||
|
@ -17,13 +17,16 @@ processors:
|
|||||||
send_batch_size: 1000
|
send_batch_size: 1000
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
# memory_limiter:
|
# memory_limiter:
|
||||||
# # Same as --mem-ballast-size-mib CLI argument
|
|
||||||
# ballast_size_mib: 683
|
|
||||||
# # 80% of maximum memory up to 2G
|
# # 80% of maximum memory up to 2G
|
||||||
# limit_mib: 1500
|
# limit_mib: 1500
|
||||||
# # 25% of limit up to 2G
|
# # 25% of limit up to 2G
|
||||||
# spike_limit_mib: 512
|
# spike_limit_mib: 512
|
||||||
# check_interval: 5s
|
# check_interval: 5s
|
||||||
|
#
|
||||||
|
# # 50% of the maximum memory
|
||||||
|
# limit_percentage: 50
|
||||||
|
# # 20% of max memory usage spike expected
|
||||||
|
# spike_limit_percentage: 20
|
||||||
# queued_retry:
|
# queued_retry:
|
||||||
# num_workers: 4
|
# num_workers: 4
|
||||||
# queue_size: 100
|
# queue_size: 100
|
||||||
|
Loading…
x
Reference in New Issue
Block a user