-
Notifications
You must be signed in to change notification settings - Fork 52
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(metric-architecture)!: remove loggregator support and make log-cache the default metric source #2983
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* remove anchor containing all ops-files for loggregator deployment * remove acceptance-job * run performance tests with log-cache sending metrics to syslog-server
geigerj0
force-pushed
the
appautoscaler-703/make-logcache-default
branch
2 times, most recently
from
June 4, 2024 11:23
1c73767
to
63ae3ca
Compare
geigerj0
force-pushed
the
appautoscaler-703/make-logcache-default
branch
from
June 4, 2024 11:24
63ae3ca
to
907e134
Compare
geigerj0
changed the title
feat(metric-architecture)!: remove loggregator support and make log-cache the default
feat(metric-architecture)!: remove loggregator support and make log-cache the default metric source
Jun 5, 2024
geigerj0
force-pushed
the
appautoscaler-703/make-logcache-default
branch
3 times, most recently
from
June 5, 2024 08:57
a7f2d31
to
772f71a
Compare
geigerj0
force-pushed
the
appautoscaler-703/make-logcache-default
branch
3 times, most recently
from
June 7, 2024 14:57
9cb18e7
to
75ac14e
Compare
geigerj0
force-pushed
the
appautoscaler-703/make-logcache-default
branch
2 times, most recently
from
June 7, 2024 16:07
8a7819b
to
b874465
Compare
…utoscaler.yml manifest also: remove ops file that sets nozzle shard id
…late, related ops-files and manifest-tests
bonzofenix
requested changes
Jun 13, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
initial review, I still have more code to review. I will finish tomorrow morning
…eventgenerator to be able to get rid of the src/metricsserver/ folder completely, apply changeset that deletes appinstancemetrics table during the pre-start of the eventgenerator
bonzofenix
reviewed
Jun 14, 2024
src/autoscaler/eventgenerator/cmd/eventgenerator/eventgenerator_suite_test.go
Outdated
Show resolved
Hide resolved
bonzofenix
approved these changes
Jun 14, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
geigerj0
force-pushed
the
appautoscaler-703/make-logcache-default
branch
from
June 14, 2024 15:35
fd032ee
to
3f4e6df
Compare
Quality Gate failedFailed conditions |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
allow-acceptance-tests
This label needs to be added to enable the acceptance tests to run.
breaking-change
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.
Some context upfront
Application Autoscaler comes with two different deployment variants:
metricsserver
andmetricssgateway
jobs to be deployed via the deployment manifest.metricsserver
andmetricssgateway
jobs but requires the feature flaguse_log_cache
and to be configured and valid Log Cache properties to be set under themetricscollector
property of theeventgenerator
job.What is this breaking change about?
This PR introduces a breaking change by removing the possibility to deploy Application Autoscaler with metrics retrieved from the Loggregator metric stack. In case you deploy Application Autoscaler with
metricsserver
- andmetricsgateway
-job, your deployment will fail.Why is this breaking change necessary?
metricsserver
andmetricsgateway
).Migration FAQs
How can I switch from Loggregator to Log Cache?
metricsserver
andmetricsgateway
jobs from your deployment manifest.metricscollector
of theeventgenerator
job with valid Log Cache properties. Example:Do I need to take action if I am already using the feature flag
use_log_cache
?If you are already using the Log Cache variant and have configured the
use_log_cache
feature flag in your deployment manifest, everything will continue to work. However, note that this feature flag has been removed, so configuringuse_log_cache
no longer has any effect. Feel free to removeuse_log_cache
from your deployment manifest .