Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement scaling latency metrics through revisions #983

Merged
merged 62 commits into from
Jul 22, 2024
Merged

Commits on Jul 9, 2024

  1. go.mod: fix dependency version

    Otherwise, the following fails:
    
    ~> go list -m all
    go: github.com/optiopay/[email protected]: invalid version: unknown revision 000000000000
    
    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    b5ba2a9 View commit details
    Browse the repository at this point in the history
  2. lint: bump golangci-lint to v1.59.1 and fix new warnings

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    3b19cc5 View commit details
    Browse the repository at this point in the history
  3. Implement scaling latency metrics through logical clock

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    805292d View commit details
    Browse the repository at this point in the history
  4. generate CRD

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    628552a View commit details
    Browse the repository at this point in the history
  5. add kind

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    d5f6798 View commit details
    Browse the repository at this point in the history
  6. fix lint

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    3af9d62 View commit details
    Browse the repository at this point in the history
  7. replace kind with flags

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    70fef0b View commit details
    Browse the repository at this point in the history
  8. finish the implementation

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    20be2d9 View commit details
    Browse the repository at this point in the history
  9. fix earliest

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    fc2e3d6 View commit details
    Browse the repository at this point in the history
  10. fix tests

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    e6b7144 View commit details
    Browse the repository at this point in the history
  11. self-review changes

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    0e1ab3b View commit details
    Browse the repository at this point in the history
  12. couple of renames

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    ca9e6c4 View commit details
    Browse the repository at this point in the history
  13. add comments

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    5561734 View commit details
    Browse the repository at this point in the history
  14. don't exclude Action from exhaustruct

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    63605e1 View commit details
    Browse the repository at this point in the history
  15. move DesiredLogicalTime out of Guest

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    b43dd40 View commit details
    Browse the repository at this point in the history
  16. small changes

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    eb1e6b1 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2024

  1. mErge branch 'main' into oleg/latency-metrics

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    2c13d94 View commit details
    Browse the repository at this point in the history
  2. move labels calculation into logiclock pkg

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    3118e51 View commit details
    Browse the repository at this point in the history
  3. cleanup extract vm info

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    5a6b537 View commit details
    Browse the repository at this point in the history
  4. add tests for logic clock

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    e26c155 View commit details
    Browse the repository at this point in the history
  5. get rid of separate UpdateLogicalTime

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    fa758c0 View commit details
    Browse the repository at this point in the history
  6. rewind clock everywhere

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    5f9c9d1 View commit details
    Browse the repository at this point in the history
  7. fix lint

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    96890c8 View commit details
    Browse the repository at this point in the history
  8. tmp: no dedicated .UpdateLogicalTime for Plugin

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    896d0df View commit details
    Browse the repository at this point in the history
  9. revert unused param

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    ce1dbb3 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2024

  1. rename logic clock to revisions

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    358f6c7 View commit details
    Browse the repository at this point in the history
  2. revert some of the changes and fix tests

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    73de584 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2024

  1. fix tests

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 14, 2024
    Configuration menu
    Copy the full SHA
    365af63 View commit details
    Browse the repository at this point in the history
  2. more changes of wording

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 14, 2024
    Configuration menu
    Copy the full SHA
    7b6b08d View commit details
    Browse the repository at this point in the history
  3. codestyle fixes

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 14, 2024
    Configuration menu
    Copy the full SHA
    af5b683 View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2024

  1. add aux metrics

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    fc436aa View commit details
    Browse the repository at this point in the history
  2. test minor latency

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    df45965 View commit details
    Browse the repository at this point in the history
  3. couple more tests

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    1c80201 View commit details
    Browse the repository at this point in the history
  4. fix comment

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    62bb952 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2024

  1. add revisions e2e test

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    a6e5781 View commit details
    Browse the repository at this point in the history
  2. rollback accidental changes

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    6389105 View commit details
    Browse the repository at this point in the history
  3. tmp: use expectedRevision in tests

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    76df85b View commit details
    Browse the repository at this point in the history
  4. incremental cleanup

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    0908e1b View commit details
    Browse the repository at this point in the history
  5. iterative changes

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    5b0f93d View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2024

  1. prevent unbounded growth

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    0e0b2ca View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2024

  1. fix format

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    9facc7d View commit details
    Browse the repository at this point in the history
  2. one more test

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    88675b9 View commit details
    Browse the repository at this point in the history
  3. simplify tests

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    49813c7 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2024

  1. fix tiny thing

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    7f39806 View commit details
    Browse the repository at this point in the history
  2. replace boolean values in metrics with direction label

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    be700ff View commit details
    Browse the repository at this point in the history
  3. Merge branch 'main' into oleg/latency-metrics

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    280163e View commit details
    Browse the repository at this point in the history
  4. misc renames

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    9b07933 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2024

  1. rollback extra diff

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    84fa062 View commit details
    Browse the repository at this point in the history
  2. add initial revision

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    0df27ac View commit details
    Browse the repository at this point in the history
  3. fix revision updating when it is the same

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    d9dee98 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'main' into oleg/latency-metrics

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    6d6c25f View commit details
    Browse the repository at this point in the history
  5. don't propagate if we are already current

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    2099577 View commit details
    Browse the repository at this point in the history
  6. fix the test

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    3e3c765 View commit details
    Browse the repository at this point in the history
  7. fix test

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    7e5ad35 View commit details
    Browse the repository at this point in the history
  8. fix test

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    f269424 View commit details
    Browse the repository at this point in the history
  9. fix test

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    5228335 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2024

  1. add new test

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    8dcd87a View commit details
    Browse the repository at this point in the history
  2. change behaviour to count both upscalings

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    49bd61a View commit details
    Browse the repository at this point in the history
  3. final thing

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    3f59c87 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    eb491f2 View commit details
    Browse the repository at this point in the history
  5. but but

    Signed-off-by: Oleg Vasilev <[email protected]>
    Omrigan committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    5a2355e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    fcd957f View commit details
    Browse the repository at this point in the history