Skip to content

Instantly share code, notes, and snippets.

@bmorelli25
Created February 21, 2019 16:51
Show Gist options
  • Save bmorelli25/815986a68ee3735832da68e16260ac67 to your computer and use it in GitHub Desktop.
Save bmorelli25/815986a68ee3735832da68e16260ac67 to your computer and use it in GitHub Desktop.
# WITH COMMENTS
apm-server:
# RUM
rum:
# To enable real user monitoring (RUM) support set this to true.
enabled: true
# If you're using version 0.x or 1.x of the RUM agent and APM Server <= 6.4
# Rate limit per second and IP address for requests sent to the RUM endpoint.
rate_limit: 10
# If you're using version 2.x or 3.x of the RUM agent and APM Server >= 6.5
event_rate:
# Defines the maximum amount of events allowed to be sent to the APM Server v2 RUM
# endpoint per ip per second. Defaults to 300.
limit: 300
# An LRU cache is used to keep a rate limit per IP for the most recently seen IPs.
# This setting defines the number of unique IPs that can be tracked in the cache.
# Sites with many concurrent clients should consider increasing this limit. Defaults to 1000.
lru_size: 1000
# MAX EVENT SIZE
# APM Server <= 6.4 and supported agents
# Maximum permitted size in bytes of an unzipped request accepted by the server to be processed.
max_unzipped_size: 31457280
# Maximum duration request will be queued before being read.
max_request_queue_time: 2s
# Maximum number of requests permitted to be sent to the server concurrently.
concurrent_requests: 5
# APM Server >= 6.5 and supported agents
# Maximum allowed size in bytes of a single event
max_event_size: 307200
# SAME STUFF AS ABOVE, NO COMMENTS
apm-server:
rum:
enabled: true
rate_limit: 10
event_rate:
limit: 300
lru_size: 1000
max_unzipped_size: 31457280
max_request_queue_time: 2s
concurrent_requests: 5
max_event_size: 307200
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment