-
Notifications
You must be signed in to change notification settings - Fork 984
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
Publish relative to PushMeterRegistry initialization time and align StepMeter boundaries to that #3450
Closed
lenin-jaganathan
wants to merge
15
commits into
micrometer-metrics:main
from
lenin-jaganathan:upstream_main
Closed
Publish relative to PushMeterRegistry initialization time and align StepMeter boundaries to that #3450
lenin-jaganathan
wants to merge
15
commits into
micrometer-metrics:main
from
lenin-jaganathan:upstream_main
Commits on Nov 17, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 82dca79 - Browse repository at this point
Copy the full SHA 82dca79View commit details -
Configuration menu - View commit details
-
Copy full SHA for 85dcfe0 - Browse repository at this point
Copy the full SHA 85dcfe0View commit details -
Test timing of publish including on stop/start
The publishing should not happen relative to the epoch step with publishAtStep set to false. Rather it should happen relative to the meters' step, which is offset from the epoch steps by `registryStartMillis`.
Configuration menu - View commit details
-
Copy full SHA for 4ae4969 - Browse repository at this point
Copy the full SHA 4ae4969View commit details -
Renames variables/methods with the intention to improve clarity and readability. Edits the description of the new config method JavaDoc.
Configuration menu - View commit details
-
Copy full SHA for 3fbd2c3 - Browse repository at this point
Copy the full SHA 3fbd2c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for fc258da - Browse repository at this point
Copy the full SHA fc258daView commit details -
Flip default to align publishing with registry instantiation
We know the previous behavior causes issues with many instances running, which makes it not a good default. We will leave this configuration for now so that users have a way to opt out of the new behavior if it causes unforeseen issues for them. Adds a warning to the JavaDoc about the side effect of aligning to the Epoch.
Configuration menu - View commit details
-
Copy full SHA for 49bbb41 - Browse repository at this point
Copy the full SHA 49bbb41View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0027687 - Browse repository at this point
Copy the full SHA 0027687View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb734a2 - Browse repository at this point
Copy the full SHA fb734a2View commit details -
The previous test was flaky and relied on system-clock timings. This is replaced with a more direct test of calculating the delay by extracting the logic to a package-private method.
Configuration menu - View commit details
-
Copy full SHA for cc0df1e - Browse repository at this point
Copy the full SHA cc0df1eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0bceaba - Browse repository at this point
Copy the full SHA 0bceabaView commit details -
Revert change to SignalFx timestamp
We can consider such a change separate from this changeset.
Configuration menu - View commit details
-
Copy full SHA for b1470a8 - Browse repository at this point
Copy the full SHA b1470a8View commit details -
Record in the middle of the step to avoid histogram counts being rotated out by the time of the simulated publication in the affected tests.
Configuration menu - View commit details
-
Copy full SHA for 9835785 - Browse repository at this point
Copy the full SHA 9835785View commit details -
This updates names to hopefully make more clear their usage, while also polishing the JavaDocs to give more background.
Configuration menu - View commit details
-
Copy full SHA for 147f183 - Browse repository at this point
Copy the full SHA 147f183View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3752129 - Browse repository at this point
Copy the full SHA 3752129View commit details -
Configuration menu - View commit details
-
Copy full SHA for 530b665 - Browse repository at this point
Copy the full SHA 530b665View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.