-
Notifications
You must be signed in to change notification settings - Fork 14
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
grpc: factor out schema related functionality from bigquery to common #338
base: main
Are you sure you want to change the base?
Commits on Oct 12, 2024
-
logthrdest: fix leaking worker_partition_key template
Signed-off-by: Attila Szakacs <attila.szakacs@axoflow.com>
Configuration menu - View commit details
-
Copy full SHA for 2d1db77 - Browse repository at this point
Copy the full SHA 2d1db77View commit details -
grpc/metrics: fix leaking stats cluster key
Signed-off-by: Attila Szakacs <attila.szakacs@axoflow.com>
Configuration menu - View commit details
-
Copy full SHA for 695ef4a - Browse repository at this point
Copy the full SHA 695ef4aView commit details -
grpc: add missing worker super deinit()
Signed-off-by: Attila Szakacs <attila.szakacs@axoflow.com>
Configuration menu - View commit details
-
Copy full SHA for 61d2134 - Browse repository at this point
Copy the full SHA 61d2134View commit details -
grpc/loki: flush on worker-partition-key change
Out intention is to batch messages that correspond to the same label set. If between two messages the label set changes, but they arrive to the same worker, we should flush the previous batch. Signed-off-by: Attila Szakacs <attila.szakacs@axoflow.com>
Configuration menu - View commit details
-
Copy full SHA for e246b5f - Browse repository at this point
Copy the full SHA e246b5fView commit details -
grpc: add worker_partition_key related functions to base class
Signed-off-by: Attila Szakacs <attila.szakacs@axoflow.com>
Configuration menu - View commit details
-
Copy full SHA for fc7423d - Browse repository at this point
Copy the full SHA fc7423dView commit details -
grpc: factor out loki::Label class as grpc::NameValueTemplatePair
Will be useful for templated headers as well. Signed-off-by: Attila Szakacs <attila.szakacs@axoflow.com>
Configuration menu - View commit details
-
Copy full SHA for ce6b2d9 - Browse repository at this point
Copy the full SHA ce6b2d9View commit details -
grpc/bigquery: use NameValueTemplatePair in Field
Signed-off-by: Attila Szakacs <attila.szakacs@axoflow.com>
Configuration menu - View commit details
-
Copy full SHA for 9dff07f - Browse repository at this point
Copy the full SHA 9dff07fView commit details -
grpc: support template_options for all destinations
This will be needed for the dynamic headers. Signed-off-by: Attila Szakacs <attila.szakacs@axoflow.com>
Configuration menu - View commit details
-
Copy full SHA for 090118e - Browse repository at this point
Copy the full SHA 090118eView commit details -
grpc: add support for templated header() values
It must be enabled in the derived class, and prepare_context_dynamic() must be used if so. This is not part of this commit, enabling it will be done in subsequent commits. Signed-off-by: Attila Szakacs <attila.szakacs@axoflow.com>
Configuration menu - View commit details
-
Copy full SHA for 1237e18 - Browse repository at this point
Copy the full SHA 1237e18View commit details -
grpc/otel: support dynamic headers
Signed-off-by: Attila Szakacs <attila.szakacs@axoflow.com>
Configuration menu - View commit details
-
Copy full SHA for 885051d - Browse repository at this point
Copy the full SHA 885051dView commit details -
grpc/loki: support dynamic headers
Signed-off-by: Attila Szakacs <attila.szakacs@axoflow.com>
Configuration menu - View commit details
-
Copy full SHA for 96ec7a2 - Browse repository at this point
Copy the full SHA 96ec7a2View commit details -
grpc: use local subchannel pool
Signed-off-by: Attila Szakacs <attila.szakacs@axoflow.com>
Configuration menu - View commit details
-
Copy full SHA for c26fddc - Browse repository at this point
Copy the full SHA c26fddcView commit details -
news: add entry for axoflow#334
Signed-off-by: Attila Szakacs <attila.szakacs@axoflow.com>
Configuration menu - View commit details
-
Copy full SHA for a12a4a8 - Browse repository at this point
Copy the full SHA a12a4a8View commit details -
grpc: add boilerplate for common Schema class
Signed-off-by: Attila Szakacs <attila.szakacs@axoflow.com>
Configuration menu - View commit details
-
Copy full SHA for e3e6c83 - Browse repository at this point
Copy the full SHA e3e6c83View commit details -
grpc: move NameValueTemplatePair to common/schema
It will be needed there as well. Signed-off-by: Attila Szakacs <attila.szakacs@axoflow.com>
Configuration menu - View commit details
-
Copy full SHA for 0c71f64 - Browse repository at this point
Copy the full SHA 0c71f64View commit details -
grpc: rename grpc_dest_option to grpc_dest_general option
We are planning to introduce an opt-in grpc_dest_schema_option nonterminal. Signed-off-by: Attila Szakacs <attila.szakacs@axoflow.com>
Configuration menu - View commit details
-
Copy full SHA for a15a2e0 - Browse repository at this point
Copy the full SHA a15a2e0View commit details -
grpc/schema: factor out schema related logic from bigquery
In order to opt-in for schema support, a derived class must: * include grpc_dest_schema_option in the grammar * implement the string -> descriptor type mapping * store and init a Schema instance in the driver * implement the get_schema() method to return the stored Schema instance The derived class can interface with the Schema by these functions: * init() * empty() * format() * get_schema_descriptor() Signed-off-by: Attila Szakacs <attila.szakacs@axoflow.com>
Configuration menu - View commit details
-
Copy full SHA for c421450 - Browse repository at this point
Copy the full SHA c421450View commit details