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

Sync container logs #50

Open
wants to merge 12 commits into
base: next
Choose a base branch
from
Open

Sync container logs #50

wants to merge 12 commits into from

Conversation

jrauh01
Copy link
Collaborator

@jrauh01 jrauh01 commented Nov 22, 2023

Add feature to sync container logs to database.

@jrauh01 jrauh01 requested a review from lippserd November 22, 2023 15:05
@jrauh01 jrauh01 self-assigned this Nov 22, 2023
@cla-bot cla-bot bot added the cla/signed CLA is signed by all contributors of a PR label Nov 22, 2023
@jrauh01 jrauh01 force-pushed the logs branch 5 times, most recently from 5da9bc0 to 4ce99a2 Compare November 24, 2023 10:02
schema/mysql/schema.sql Outdated Show resolved Hide resolved
pkg/schema/container.go Outdated Show resolved Hide resolved
cmd/icinga-kubernetes/main.go Outdated Show resolved Hide resolved
cmd/icinga-kubernetes/main.go Outdated Show resolved Hide resolved
cmd/icinga-kubernetes/main.go Outdated Show resolved Hide resolved
cmd/icinga-kubernetes/main.go Outdated Show resolved Hide resolved
pkg/sync/spreader.go Outdated Show resolved Hide resolved
pkg/sync/spreader.go Outdated Show resolved Hide resolved
pkg/sync/sync.go Outdated Show resolved Hide resolved
pkg/sync/sync.go Outdated Show resolved Hide resolved
@jrauh01 jrauh01 requested a review from lippserd November 28, 2023 13:47
@jrauh01 jrauh01 force-pushed the logs branch 2 times, most recently from d7f236a to d7794a6 Compare November 28, 2023 15:29
Copy link
Member

@lippserd lippserd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In addition to the requested changes please also double check your doc comments after reading https://tip.golang.org/doc/comment carefully.

cmd/icinga-kubernetes/main.go Outdated Show resolved Hide resolved
pkg/sync/logs.go Outdated Show resolved Hide resolved
schema/mysql/schema.sql Outdated Show resolved Hide resolved
schema/mysql/schema.sql Outdated Show resolved Hide resolved
schema/mysql/schema.sql Outdated Show resolved Hide resolved
pkg/schema/log.go Outdated Show resolved Hide resolved
pkg/schema/log.go Outdated Show resolved Hide resolved
pkg/schema/log.go Outdated Show resolved Hide resolved
pkg/sync/logs.go Outdated Show resolved Hide resolved
pkg/sync/logs.go Outdated Show resolved Hide resolved
cmd/icinga-kubernetes/main.go Outdated Show resolved Hide resolved
pkg/sync/channel-mux.go Show resolved Hide resolved
pkg/sync/channel-mux.go Outdated Show resolved Hide resolved
pkg/sync/channel-mux.go Outdated Show resolved Hide resolved
pkg/sync/sync.go Outdated Show resolved Hide resolved
pkg/sync/channel-mux.go Outdated Show resolved Hide resolved
pkg/sync/channel-mux.go Outdated Show resolved Hide resolved
pkg/sync/channel-mux.go Outdated Show resolved Hide resolved
pkg/sync/channel-mux.go Outdated Show resolved Hide resolved
pkg/sync/channel-mux.go Outdated Show resolved Hide resolved
@jrauh01 jrauh01 changed the title Add feature to sync container logs to database Sync container logs Nov 30, 2023
@jrauh01 jrauh01 requested a review from lippserd November 30, 2023 09:26
Copy link
Member

@lippserd lippserd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general I think it makes sense to move the sync option handling to sync/options.go and only export the With...() functions. NewSyncOptions() and SyncOptions must not be exported as they are only used within the sync package.

pkg/sync/channel-mux.go Outdated Show resolved Hide resolved
pkg/sync/channel-mux.go Outdated Show resolved Hide resolved
pkg/sync/channel-mux.go Show resolved Hide resolved
pkg/sync/channel-mux.go Outdated Show resolved Hide resolved
pkg/sync/sync.go Outdated Show resolved Hide resolved
pkg/sync/sync.go Outdated Show resolved Hide resolved
pkg/sync/sync.go Outdated Show resolved Hide resolved
pkg/sync/sync.go Outdated Show resolved Hide resolved
pkg/sync/sync.go Outdated Show resolved Hide resolved
pkg/sync/sync.go Outdated Show resolved Hide resolved
@jrauh01 jrauh01 requested a review from lippserd December 11, 2023 08:16
@jrauh01 jrauh01 force-pushed the logs branch 2 times, most recently from 9e392de to a0511d4 Compare December 11, 2023 11:11
pkg/sync/logs.go Outdated Show resolved Hide resolved
pkg/sync/logs.go Outdated Show resolved Hide resolved
pkg/sync/logs.go Outdated Show resolved Hide resolved
pkg/sync/logs.go Outdated Show resolved Hide resolved
pkg/sync/logs.go Outdated Show resolved Hide resolved
pkg/sync/logs.go Outdated Show resolved Hide resolved
pkg/sync/logs.go Outdated Show resolved Hide resolved
pkg/sync/logs.go Outdated Show resolved Hide resolved
pkg/sync/logs.go Outdated Show resolved Hide resolved
pkg/sync/logs.go Outdated Show resolved Hide resolved
pkg/sync/logs.go Outdated Show resolved Hide resolved
pkg/sync/logs.go Outdated Show resolved Hide resolved
pkg/sync/logs.go Outdated Show resolved Hide resolved
pkg/sync/logs.go Outdated Show resolved Hide resolved
pkg/sync/logs.go Outdated Show resolved Hide resolved
pkg/sync/logs.go Outdated Show resolved Hide resolved
pkg/sync/logs.go Outdated Show resolved Hide resolved
pkg/sync/sync.go Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla/signed CLA is signed by all contributors of a PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants