-
Notifications
You must be signed in to change notification settings - Fork 598
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
Cortex Exporter Send Pipeline #210
Conversation
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.
Kudos for making the pieces of this new exporter easy to review.
} | ||
exporter := Exporter{*test.config} | ||
|
||
// Create an empty Snappy-compressed message. |
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.
nit: I'd like to see a non-empty request and have the payload verified, but I expect you're planning that for a future PR.
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.
Yes, I'm planning on adding that later. Thanks for the feedback!
This PR implements the pipeline for sending data to Cortex. It includes functions for converting a slice of TimeSeries to a Snappy-compressed protocol buffer message, building a HTTP request, and sending the request to Cortex. Authentication will be added in a separate PR.
The design doc for the project can be found here: #188.
cc @alolita @connorlindsey