-
Notifications
You must be signed in to change notification settings - Fork 32
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
Add changes on production environment #2232
Merged
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
[FIX] orb helm url (#2154)
[FIX] chart lock url on kind environment (#2156)
[FIX] change organization to orb-community (#2157)
feat(maestro): fix message with error in mid-sentence. (#2158)
…2152) * fix group tags editing - make it unable to delete tags * typo(agent): fix no_tap_match status typo * fix(fleet): partial updates for agent and endpoint unit tests * fix(fleet): partial updates for agent and service unit tests
Remove otel collector health_check extension unused (#2159)
Removing logging extension on otel collector (#2160)
[FIX] DeployCollector function (#2162)
* Update README.md
* [FIX] on logic for active and error sinks status * symplify analyzeLogs function * lastRemoteWrite is actually controlled by sinker * fix message * remove comments * remove unnecessary * deployment status should be internally controlled * fix err variable * add comments * fix comment * fix comments * add error if collector was not found * fix error * add changes * add changes * fix maestro lastactivity * fix maestro lastactivity * fix condition for idle * remove idle control on sinker * deployment check
…ry in all sinks (#2150) * feat(migrate): add migrate service, to add/remove openTelemetry, add control flag there to be able to rollback if necessary. Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> * feat(sinker): remove skip, and add deprecation message. Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> * feat(sinker): fix deprecation message. Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> * feat(sinks): add default values for OpenTelemetry sink. Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> * feat(ui): remove sinks OpenTelemetry flag. Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> * feat(sinks): fix opentelemetry tag case Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> * feat(UI): remove OpenTelemetry flag. Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> * feat(makefile): add kubectl rollout in makefile. Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> * feat(migrate): fix identation. Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> * feat(charts): testing chart migrate true. Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> * feat(maestro): add otel flag enabled as true. Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> * feat(maestro): re-add after testing. Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> --------- Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com>
[FIX] refactoring maestro event sourcing for sink status (#2165)
Fix delete sinks on maestro (#2167)
Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com>
* feat(maestro): update cache with creation of yaml. Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> * feat(maestro): fix parse of json. Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> * feat(maestro): add debug log. Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> --------- Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com>
[FIX] maestro event sourcing to update otel collector (#2171)
…p/down. (#2174) Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com>
* feat(agent): fix context propagation for failure in otel Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> * feat(agent): add context propagation. Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> --------- Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com>
* fix(sinks): fix merging of the sinks tags and config. Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> * fix(sinks): fix tests Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> * fix(sinker): fix not removing sinker cache when removing sink. Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> --------- Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com>
* do not skip when lastactivity not found * [FIX] only check last activity after error * fix variables * fix variables --------- Co-authored-by: Luiz Henrique Pegoraro <luiz.pegoraro@encora.com>
…code, to only redis package have redisClient (#2177) * fix(maestro): replace local cache for wait mechanism in getting the deployment state Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> * fix(maestro): add secondary step validation Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> * fix(maestro): focused every redis integration into redis eventStream service. Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> --------- Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com>
* fix(maestro): fix maestro redis proper client. Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> * fix(maestro): reduce time to check for pod creation Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> --------- Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com>
Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com>
* fix(maestro): added fine tuning to maestro. Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> * fix(maestro): added fine tuning to maestro. Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> * fix(maestro): more fine tuning in wait periods for k8s Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> * fix(maestro): more fine-tuning in wait periods for k8s. Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> * fix(sinks): add remote_host validation to prevent users to create sinks with invalid url Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> * fix(sinks): fix tests to adapt to new error Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> --------- Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com>
* fix(maestro): added fine tuning to maestro. Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> * fix(maestro): added fine tuning to maestro. Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> * fix(maestro): more fine tuning in wait periods for k8s Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> * fix(maestro): more fine-tuning in wait periods for k8s. Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> * fix(sinks): add remote_host validation to prevent users to create sinks with invalid url Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> * fix(sinks): fix tests to adapt to new error Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> * fix(sinks): fix error message. Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> * fix(maestro-): extracted change of status. Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> --------- Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com>
* Revert "fix(redis): add debug logs" This reverts commit 44f4b98. * fix(redis): re-add fix on iteration Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> --------- Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com>
…nd handling event errors (#2206) * fix(redis): fix breaking out of reading routine because of failure. Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> * fix(redis): fix breaking out of reading routine because of failure. Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> * fix(redis): clean up. Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> --------- Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com>
Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com>
…2211) Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com>
#2212) * fix(maestro): reverting back to file management due to throttling of k8s api. Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> * fix(maestro): fix reversion Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> --------- Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com>
Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com>
[ORB-673] Set default path for orb-agent.db (#2213)
Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com>
* add more changes on README * fix gh organization to orb-community
…errors like 429. (#2217) Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com>
… event status (#2218) * fix(maestro): remove only changing status in active. to go back from errors like 429. Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> * fix(maestro): alternative fix to delete collectors and create collectors correctly. Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> --------- Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> Co-authored-by: Everton H. Taques <97463920+etaques@users.noreply.github.com>
Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com>
…le/unknown to active (#2221) * fix(sinker): fix active sink not updating Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> * Revert "fix(sinker): fix active sink not updating" This reverts commit 5470945. * fix(maestro): alternative fix on sink creation. Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> * fix(maestro): updating timestamp. Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> --------- Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> Co-authored-by: Everton H. Taques <97463920+etaques@users.noreply.github.com>
* fix active * disable go routines to test * Update streams.go * add logs
…erfering with status (#2224) * fix(maestro): ignore old messages, set as active. Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> * fix(sinker): added different group for sinker when otel is enabled. Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> * fix(sinker): added different group for sinker when otel is enabled. Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com> --------- Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com>
Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com>
* fix install kubectl * Update Makefile
Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com>
Signed-off-by: Luiz Pegoraro <luiz.pegoraro@encora.com>
* Update monitor.go * Update kubecontrol.go * change to 10 minutes to be idle * set to change if idle be active if have activity * back to active after idle * Update kubecontrol.go * increase idle time to 15 minutes * fix idle * fix sinker activity * add changes * changes * add changes * add changes * add changes * add changes * add changes * add changes * add changes * add changes * add changes * add changes * add changes
manrodrigues
approved these changes
Feb 20, 2023
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
etaques
added a commit
that referenced
this pull request
Feb 20, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Add changes on production environment