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

feat: Add option to run indefinitely; fix races #90

Merged
merged 5 commits into from
Sep 27, 2024
Merged

feat: Add option to run indefinitely; fix races #90

merged 5 commits into from
Sep 27, 2024

Conversation

bwplotka
Copy link
Member

@bwplotka bwplotka commented Sep 27, 2024

cc @jmichalek132

This is on top of your #89 as mentioned offline

Tested manually:

  • go run cmd/avalanche.go --remote-url=http://remote.com --remote-tenant=redacted --remote-requests-count=-1 --remote-tenant-header=redacted --gauge-metric-count=200
  • go run cmd/avalanche.go --remote-url=http://remote.com --remote-tenant=redacted --remote-requests-count=20 --remote-tenant-header=redacted --gauge-metric-count=200

jmichalek132 and others added 5 commits September 27, 2024 15:00
Co-authored-by: Bartlomiej Plotka <[email protected]>
Signed-off-by: Juraj Michálek <[email protected]>
Signed-off-by: Juraj Michalek <[email protected]>
@jmichalek132
Copy link
Contributor

LGTM.

@bwplotka bwplotka merged commit 8c669a0 into main Sep 27, 2024
7 checks passed
@bwplotka bwplotka deleted the j branch September 27, 2024 18:17
prateeknayak pushed a commit to prateeknayak/avalanche that referenced this pull request Jan 2, 2025
)

* feat add option to run indefinitely


* Update metrics/write.go

Co-authored-by: Bartlomiej Plotka <[email protected]>

* ran go fmt


* fix rename the variable everywhere


* fix: Fixed race during update, improved infinite run logging and readability.


---------

Co-authored-by: Juraj Michalek <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants