This repository has been archived by the owner on Apr 19, 2024. It is now read-only.
v2.1.0
What's Changed
- Disable Batching and Force Global configuration by @Baliedge in #190
- Batching functionality may be disabled by configuration
Behaviors.DisableBatching = true
.- Frees up some resources, goroutines.
- Eliminates small delay in each request as batches are assembled and dispatched that may not be beneficial if batch size is typically small.
- Force global behavior on all rate checks by configuration
Behaviors.ForceGlobal = true
.- Global behavior is unaffected by
DisableBatching
setting.
- Global behavior is unaffected by
- Change
GlobalSyncWait
default from 500µs to 500ms to reduce global sync traffic. - Remove unnecessary buffer from
WorkerPool
command channels. - Remove extraneous tracing detail.
- Metric updates
WorkerPool
metrics:- Renamed
gubnernator_pool_queue_length
togubernator_worker_queue_length
. - Added
gubernator_command_counter
: Counter of commands executed inWorkerPool
. - Removed
gubernator_check_counter
.- Redundant. Use
gubernator_getratelimit_counter{calltype="local"}
.
- Redundant. Use
- Renamed
- Global behavior metrics:
- Added
gubernator_global_queue_length
: Size of global broadcast queue. - Renamed
gubernator_broadcast_durations
togubernator_broadcast_duration
. - Added
gubernator_broadcast_counter
: Rate of global broadcasts. Labelcondition
may betimer
|queue_full
to indicate what triggered the broadcast. - Changed
gubernator_concurrent_checks_counter
from summary to gauge type.
- Added
- Batch behavior metrics:
- Renamed
gubernator_async_durations
togubernator_batch_send_duration
. - Renamed
gubernator_asyncrequest_retries
togubernator_batch_retries
. - Renamed
gubernator_queue_length
togubernator_batch_queue_length
.- Changed from summary to gauge type.
- Renamed
- Batching functionality may be disabled by configuration