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

Self hosted release 0.23.0 #2254

Merged
merged 94 commits into from
Feb 28, 2023
Merged

Self hosted release 0.23.0 #2254

merged 94 commits into from
Feb 28, 2023

Conversation

etaques
Copy link
Contributor

@etaques etaques commented Feb 28, 2023

Self hosted release 0.23.0

etaques and others added 30 commits January 17, 2023 08:39
* tests to validate metrics scraped by handler and metric groups
[FIX] orb helm url (#2154)
[FIX] chart lock url on kind environment (#2156)
…gs. (#2135)

[ORB-203] Enable sink status update by listening to otel-collector logs. (#2135)
[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 <[email protected]>

* feat(sinker): remove skip, and add deprecation message.

Signed-off-by: Luiz Pegoraro <[email protected]>

* feat(sinker): fix deprecation message.

Signed-off-by: Luiz Pegoraro <[email protected]>

* feat(sinks): add default values for OpenTelemetry sink.

Signed-off-by: Luiz Pegoraro <[email protected]>

* feat(ui): remove sinks OpenTelemetry flag.

Signed-off-by: Luiz Pegoraro <[email protected]>

* feat(sinks): fix opentelemetry tag case

Signed-off-by: Luiz Pegoraro <[email protected]>

* feat(UI): remove OpenTelemetry flag.

Signed-off-by: Luiz Pegoraro <[email protected]>

* feat(makefile): add kubectl rollout in makefile.

Signed-off-by: Luiz Pegoraro <[email protected]>

* feat(migrate): fix identation.

Signed-off-by: Luiz Pegoraro <[email protected]>

* feat(charts): testing chart migrate true.

Signed-off-by: Luiz Pegoraro <[email protected]>

* feat(maestro): add otel flag enabled as true.

Signed-off-by: Luiz Pegoraro <[email protected]>

* feat(maestro): re-add after testing.

Signed-off-by: Luiz Pegoraro <[email protected]>

---------

Signed-off-by: Luiz Pegoraro <[email protected]>
[FIX] refactoring maestro event sourcing for sink status (#2165)
Fix delete sinks on maestro (#2167)
* feat(maestro): update cache with creation of yaml.

Signed-off-by: Luiz Pegoraro <[email protected]>

* feat(maestro): fix parse of json.

Signed-off-by: Luiz Pegoraro <[email protected]>

* feat(maestro): add debug log.

Signed-off-by: Luiz Pegoraro <[email protected]>

---------

Signed-off-by: Luiz Pegoraro <[email protected]>
[FIX] maestro event sourcing to update otel collector (#2171)
* feat(agent): fix context propagation for failure in otel

Signed-off-by: Luiz Pegoraro <[email protected]>

* feat(agent): add context propagation.

Signed-off-by: Luiz Pegoraro <[email protected]>

---------

Signed-off-by: Luiz Pegoraro <[email protected]>
* fix(sinks): fix merging of the sinks tags and config.

Signed-off-by: Luiz Pegoraro <[email protected]>

* fix(sinks): fix tests

Signed-off-by: Luiz Pegoraro <[email protected]>

* fix(sinker): fix not removing sinker cache when removing sink.

Signed-off-by: Luiz Pegoraro <[email protected]>

---------

Signed-off-by: Luiz Pegoraro <[email protected]>
* do not skip when lastactivity not found

* [FIX] only check last activity after error

* fix variables

* fix variables

---------

Co-authored-by: Luiz Henrique Pegoraro <[email protected]>
…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 <[email protected]>

* fix(maestro): add secondary step validation

Signed-off-by: Luiz Pegoraro <[email protected]>

* fix(maestro): focused every redis integration into redis eventStream service.

Signed-off-by: Luiz Pegoraro <[email protected]>

---------

Signed-off-by: Luiz Pegoraro <[email protected]>
lpegoraro and others added 29 commits February 15, 2023 09:43
* add more changes on README

* fix gh organization to orb-community
… event status (#2218)

* fix(maestro): remove only changing status in active. to go back from errors like 429.

Signed-off-by: Luiz Pegoraro <[email protected]>

* fix(maestro): alternative fix to delete collectors and create collectors correctly.

Signed-off-by: Luiz Pegoraro <[email protected]>

---------

Signed-off-by: Luiz Pegoraro <[email protected]>
Co-authored-by: Everton H. Taques <[email protected]>
…le/unknown to active (#2221)

* fix(sinker): fix active sink not updating

Signed-off-by: Luiz Pegoraro <[email protected]>

* Revert "fix(sinker): fix active sink not updating"

This reverts commit 5470945.

* fix(maestro): alternative fix on sink creation.

Signed-off-by: Luiz Pegoraro <[email protected]>

* fix(maestro): updating timestamp.

Signed-off-by: Luiz Pegoraro <[email protected]>

---------

Signed-off-by: Luiz Pegoraro <[email protected]>
Co-authored-by: Everton H. Taques <[email protected]>
* 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 <[email protected]>

* fix(sinker): added different group for sinker when otel is enabled.

Signed-off-by: Luiz Pegoraro <[email protected]>

* fix(sinker): added different group for sinker when otel is enabled.

Signed-off-by: Luiz Pegoraro <[email protected]>

---------

Signed-off-by: Luiz Pegoraro <[email protected]>
* fix install kubectl

* Update Makefile
* 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
* feat(migrate): change latest schema version to 3.

Signed-off-by: Luiz Pegoraro <[email protected]>

* feat(migrate): change logic to run just the last migrations.

Signed-off-by: Luiz Pegoraro <[email protected]>

* feat(migrate): change logic to run just the last migrations.

Signed-off-by: Luiz Pegoraro <[email protected]>

---------

Signed-off-by: Luiz Pegoraro <[email protected]>
* feat(migrate): fix last applied tag.

Signed-off-by: Luiz Pegoraro <[email protected]>

* feat(migrate): fix last applied tag.

Signed-off-by: Luiz Pegoraro <[email protected]>

---------

Signed-off-by: Luiz Pegoraro <[email protected]>
* feat(migrate): simplify to only last migration.

Signed-off-by: Luiz Pegoraro <[email protected]>

* feat(migrate): fix schema version on down.

Signed-off-by: Luiz Pegoraro <[email protected]>

---------

Signed-off-by: Luiz Pegoraro <[email protected]>
* Add otlp receiver v0.62 to orb agent

* Add mapstructure for Agent Otel Type

* Add policy context

* Fix agent to suport pktvisor OTLP exporter

* Fix infinity loop on agent
* fix(agent): added previous name to policy removal, since pktvisor backend uses name for storing policies instead of ids.

Signed-off-by: Luiz Pegoraro <[email protected]>

* fix(agent): add comment

Signed-off-by: Luiz Pegoraro <[email protected]>

---------

Signed-off-by: Luiz Pegoraro <[email protected]>
* test codecov

* test coverage

* remove test
* fix readme codecov

* test cli

* Update Dockerfile

* Update Dockerfile

* fix goreportcard-cli

* fix alpine version

* Update Dockerfile

* Update entrypoint.sh

* Update entrypoint.sh

* Update entrypoint.sh

* Update entrypoint.sh

* Update Dockerfile

* Update entrypoint.sh

* Create go-report-comment-template

* add comment

* Update entrypoint.sh

* adding gh token

* test comment

* Update action.yml

* Update entrypoint.sh

* Update go-develop.yml

* Update action.yml

* Update entrypoint.sh

* Update action.yml

* Update go-develop.yml

* Update action.yml

* test

* Update entrypoint.sh

* Update go-report-comment-template

* back to regular
* add warning state on sinker to register activity

* add warning being re-monitored by log analysis

* add bad request as reversible error
@etaques etaques merged commit 13518f0 into main Feb 28, 2023
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.

5 participants