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

obsservice: creating Insights Pipeline #114802

Merged
merged 2 commits into from
Nov 21, 2023
Merged

Conversation

maryliag
Copy link
Contributor

Note to Reviewers: only last commit is relevant to this PR


Create basic structure for Insights Pipeline.
Currently the Validator (always return that is valid)
and Processor (just printing the value) are very simple.

This commit is to introduce that structure so can be iterated on.

https://www.loom.com/share/b568f514753542d9bd5e551b530f917d

Part Of CC-26215

Release note: None

When an Insights is detected, we store it in memory and
also export it to Observability Service.

This behaviour is controlled by a new cluster setting
`sql.insights.export.enabled`. If the value is disabled, no
data is exported.

Epic: CC-25978

Release note: None
@maryliag maryliag requested review from a team as code owners November 21, 2023 15:05
@maryliag maryliag requested review from abarganier and removed request for a team November 21, 2023 15:05
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Contributor

@abarganier abarganier left a comment

Choose a reason for hiding this comment

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

Looks good! Getting boilerplate stuff merged to demonstrate how everything is glued together is valuable 🎉

I think we just need to fix a couple tests for the mem queue, since we altered the SizeFn signature to no longer return an error. Otherwise LGTM!

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained

Create basic structure for Insights Pipeline.
Currently the Validator (always return that is valid)
and Processor (just printing the value) are very simple.

This commit is to introduce that structure so can be iterated on.

Part Of CC-26215

Release note: None
@maryliag
Copy link
Contributor Author

bors r+

@craig
Copy link
Contributor

craig bot commented Nov 21, 2023

Build succeeded:

@craig craig bot merged commit 955b350 into cockroachdb:master Nov 21, 2023
8 checks passed
@maryliag maryliag deleted the persist-data branch November 21, 2023 19:36
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.

None yet

3 participants