Skip to content

Latest commit

 

History

History
49 lines (38 loc) · 1.68 KB

TODO.md

File metadata and controls

49 lines (38 loc) · 1.68 KB

TODO

  • golint

  • RateLimit interface

  • Eliminate duplicated log. logging levels in Get()/Handle():

    • info: entry(for auditing)
    • debug: success return
    • error: failure return
    • warn: context.Done()
    • debug: others
  • Improve API for CircuitBreaker config, register, flush.

  • Reduce dependencies(exported symbols) to external packages like clock.

  • Alternative circuitbreaker implementation https://github.com/rubyist/circuitbreaker

  • metrics using expvar

Done

  • Opts passed by addr
  • Make Xxxxtream/Handler xXXXStgream/Handler
  • NewMockHandler/Stream(*mock.Mock)
  • Remove Semaphore because it blocks so it's not resilient. Or move it to package extra
  • Improve Observe(value, labels, optional data). remove Unused MX_XXXX.
  • Remove/export noopLogger
  • Package-wise setLogger()
  • opentracing
    • Span an be obtain from context.
    • Abstract logger to optionally writes to SpanContext.
  • Add context support.
    • context should not be embedded in Message, since context propagation is normally one-way(parent to children).

Dropped

Ref