grpc: factor out base classes for gRPC based drivers#276
Merged
MrAnno merged 25 commits intoaxoflow:mainfrom Oct 7, 2024
Merged
grpc: factor out base classes for gRPC based drivers#276MrAnno merged 25 commits intoaxoflow:mainfrom
MrAnno merged 25 commits intoaxoflow:mainfrom
Conversation
Contributor
This Pull Request introduces config grammar changesaxoflow/8d8eab09d02508dfeddf1cdbc8fae5d783ef3489 -> alltilla/grpc-factor-out-common-classes Details--- a/destination
+++ b/destination
axosyslog-otlp(
+ keep-alive(
+ <empty>
+ max-pings-without-data(<nonnegative-integer>)
+ time(<nonnegative-integer>)
+ timeout(<nonnegative-integer>)
+ )
)
bigquery(
+ auth(
+ adc(<empty>)
+ alts(
+ <empty>
+ target-service-accounts(
+ <empty>
+ <string>
+ )
+ )
+ insecure(<empty>)
+ tls(
+ <empty>
+ ca-file(<string>)
+ cert-file(<string>)
+ key-file(<string>)
+ )
+ )
)
loki(
+ batch-bytes(<positive-integer>)
+ compression(<yesno>)
)
opentelemetry(
+ keep-alive(
+ <empty>
+ max-pings-without-data(<nonnegative-integer>)
+ time(<nonnegative-integer>)
+ timeout(<nonnegative-integer>)
+ )
)
syslog-ng-otlp(
+ keep-alive(
+ <empty>
+ max-pings-without-data(<nonnegative-integer>)
+ time(<nonnegative-integer>)
+ timeout(<nonnegative-integer>)
+ )
)
|
20aa005 to
7e51356
Compare
alltilla
commented
Sep 9, 2024
alltilla
commented
Sep 9, 2024
alltilla
commented
Sep 9, 2024
alltilla
commented
Sep 9, 2024
OverOrion
reviewed
Sep 9, 2024
Contributor
OverOrion
left a comment
There was a problem hiding this comment.
Let me get back to you with answers to your questions / requests.
Overall a solid looking PR, huge kudos for doing the extraction 💯
Member
Author
diff --git a/modules/grpc/common/Makefile.am b/modules/grpc/common/Makefile.am
index 541ba9f05..5c2cd99c6 100644
--- a/modules/grpc/common/Makefile.am
+++ b/modules/grpc/common/Makefile.am
@@ -3,7 +3,7 @@ include modules/grpc/common/metrics/Makefile.am
if ENABLE_GRPC
-noinst_LTLIBRARIES += modules/grpc/common/libgrpc-common.la
+lib_LTLIBRARIES += modules/grpc/common/libgrpc-common.la
GRPC_COMMON_CFLAGS = \
-I$(top_srcdir)/modules/grpc/common \causes |
faedca4 to
121be0c
Compare
alltilla
added a commit
to alltilla/axosyslog
that referenced
this pull request
Sep 17, 2024
Signed-off-by: Attila Szakacs <[email protected]>
121be0c to
02559f1
Compare
alltilla
added a commit
to alltilla/axosyslog
that referenced
this pull request
Sep 18, 2024
Signed-off-by: Attila Szakacs <[email protected]>
02559f1 to
a0eb426
Compare
OverOrion
previously approved these changes
Sep 20, 2024
MrAnno
reviewed
Sep 24, 2024
Contributor
|
I think we shouldn't introduce more dynamic libraries around the gRPC drivers, we already have one (static linking seems more than okay in this specific case). |
alltilla
added a commit
to alltilla/axosyslog
that referenced
this pull request
Sep 24, 2024
Signed-off-by: Attila Szakacs <[email protected]>
a0eb426 to
d6d37f5
Compare
Member
Author
|
Fixed one review finding and rebased to main. |
Contributor
|
Let's ask @mitzkia to check the compatibility of this PR next week (manually or in an automated way). |
alltilla
added a commit
to alltilla/axosyslog
that referenced
this pull request
Oct 4, 2024
Signed-off-by: Attila Szakacs <[email protected]>
d6d37f5 to
72e64bc
Compare
Member
Author
|
rebased to main |
Signed-off-by: Attila Szakacs <[email protected]>
Signed-off-by: Attila Szakacs <[email protected]>
…se classes Signed-off-by: Attila Szakacs <[email protected]>
Signed-off-by: Attila Szakacs <[email protected]>
Signed-off-by: Attila Szakacs <[email protected]>
Signed-off-by: Attila Szakacs <[email protected]>
Signed-off-by: Attila Szakacs <[email protected]>
alltilla
added a commit
to alltilla/axosyslog
that referenced
this pull request
Oct 7, 2024
Signed-off-by: Attila Szakacs <[email protected]>
65d3bba to
6b20819
Compare
Signed-off-by: Attila Szakacs <[email protected]>
Signed-off-by: Attila Szakacs <[email protected]>
Signed-off-by: Attila Szakacs <[email protected]>
Signed-off-by: Attila Szakacs <[email protected]>
Signed-off-by: Attila Szakacs <[email protected]>
Signed-off-by: Attila Szakacs <[email protected]>
Signed-off-by: Attila Szakacs <[email protected]>
Signed-off-by: Attila Szakacs <[email protected]>
With this a grammar file can load additional grammar files for declarations to use. Signed-off-by: Attila Szakacs <[email protected]>
Signed-off-by: Attila Szakacs <[email protected]>
Signed-off-by: Attila Szakacs <[email protected]>
Signed-off-by: Attila Szakacs <[email protected]>
Signed-off-by: Attila Szakacs <[email protected]>
Signed-off-by: Attila Szakacs <[email protected]>
Signed-off-by: Attila Szakacs <[email protected]>
Signed-off-by: Attila Szakacs <[email protected]>
6b20819 to
9413815
Compare
MrAnno
approved these changes
Oct 7, 2024
fekete-robert
pushed a commit
to axoflow/axosyslog-core-docs
that referenced
this pull request
Nov 8, 2024
fekete-robert
pushed a commit
to axoflow/axosyslog-core-docs
that referenced
this pull request
Nov 8, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TODO:
For the reviewers:
grpc-commontarget? I thought that dynamic linking would be better but I received a lot of linker warnings about it not being portable. Have I missed something?Is there a better way to merge two sets of keywords than defining a macro likeGRPC_KEYWORDS? It messes up the cfg-helper :/gcc -Eand a bit of parsing improvement inaxosyslog-cfg-helperwill be able to handle this.