Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

v2.1.0

Compare
Choose a tag to compare
@Baliedge Baliedge released this 10 Oct 19:14
· 47 commits to master since this release
d6d8f17

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.
    • 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 to gubernator_worker_queue_length.
        • Added gubernator_command_counter: Counter of commands executed in WorkerPool.
        • Removed gubernator_check_counter.
          • Redundant. Use gubernator_getratelimit_counter{calltype="local"}.
      • Global behavior metrics:
        • Added gubernator_global_queue_length: Size of global broadcast queue.
        • Renamed gubernator_broadcast_durations to gubernator_broadcast_duration.
        • Added gubernator_broadcast_counter: Rate of global broadcasts. Label condition may be timer|queue_full to indicate what triggered the broadcast.
        • Changed gubernator_concurrent_checks_counter from summary to gauge type.
      • Batch behavior metrics:
        • Renamed gubernator_async_durations to gubernator_batch_send_duration.
        • Renamed gubernator_asyncrequest_retries to gubernator_batch_retries.
        • Renamed gubernator_queue_length to gubernator_batch_queue_length.
          • Changed from summary to gauge type.