grpc: factor out base classes for gRPC based drivers#5174
Merged
HofiOne merged 26 commits intosyslog-ng:developfrom Feb 26, 2025
Merged
grpc: factor out base classes for gRPC based drivers#5174HofiOne merged 26 commits intosyslog-ng:developfrom
HofiOne merged 26 commits intosyslog-ng:developfrom
Conversation
0fd3338 to
272f973
Compare
Merged
HofiOne
added a commit
to HofiOne/syslog-ng
that referenced
this pull request
Nov 25, 2024
Signed-off-by: Hofi <[email protected]>
15366d2 to
da1c361
Compare
HofiOne
pushed a commit
to HofiOne/syslog-ng
that referenced
this pull request
Nov 25, 2024
Signed-off-by: Hofi <[email protected]>
da1c361 to
1965ecc
Compare
HofiOne
pushed a commit
to HofiOne/syslog-ng
that referenced
this pull request
Nov 25, 2024
Signed-off-by: Hofi <[email protected]>
1965ecc to
c75e95c
Compare
HofiOne
pushed a commit
to HofiOne/syslog-ng
that referenced
this pull request
Nov 25, 2024
Signed-off-by: Hofi <[email protected]>
c75e95c to
b48a8c3
Compare
HofiOne
pushed a commit
to HofiOne/syslog-ng
that referenced
this pull request
Feb 13, 2025
Signed-off-by: Hofi <[email protected]>
HofiOne
pushed a commit
to HofiOne/syslog-ng
that referenced
this pull request
Feb 21, 2025
Signed-off-by: Hofi <[email protected]>
b48a8c3 to
75a9e0f
Compare
Contributor
This Pull Request introduces config grammar changessyslog-ng/9eeadc5090ec183f4fd42f49d4b862ae82939bed -> HofiOne/grpc-factor-out-common-classes Details--- a/destination
+++ b/destination
bigquery(
+ KW_AUTH(
+ KW_ADC(<empty>)
+ KW_ALTS(
+ <empty>
+ KW_TARGET_SERVICE_ACCOUNTS(
+ <empty>
+ <string>
+ )
+ )
+ KW_INSECURE(<empty>)
+ KW_TLS(
+ <empty>
+ KW_CA_FILE(<string>)
+ KW_CERT_FILE(<string>)
+ KW_KEY_FILE(<string>)
+ )
+ )
+ KW_BATCH_BYTES(<positive-integer>)
+ KW_CHANNEL_ARGS(
+ <empty>
+ <string> => <number>
+ <string> => <string>
+ )
+ KW_COMPRESSION(<yesno>)
+ KW_HEADERS(
+ <empty>
+ <string> => <string>
+ )
+ KW_KEEP_ALIVE(
+ <empty>
+ KW_MAX_PINGS_WITHOUT_DATA(<nonnegative-integer>)
+ KW_TIME(<nonnegative-integer>)
+ KW_TIMEOUT(<nonnegative-integer>)
+ )
+ KW_URL(<string>)
- batch-bytes(<positive-integer>)
- channel-args(
- <empty>
- <string> => <number>
- <string> => <string>
- )
- compression(<yesno>)
- headers(
- <empty>
- <string> => <string>
- )
- keep-alive(
- <empty>
- max-pings-without-data(<nonnegative-integer>)
- time(<nonnegative-integer>)
- timeout(<nonnegative-integer>)
- )
- url(<string>)
)
loki(
+ KW_AUTH(
+ KW_ADC(<empty>)
+ KW_ALTS(
+ <empty>
+ KW_TARGET_SERVICE_ACCOUNTS(
+ <empty>
+ <string>
+ )
+ )
+ KW_INSECURE(<empty>)
+ KW_TLS(
+ <empty>
+ KW_CA_FILE(<string>)
+ KW_CERT_FILE(<string>)
+ KW_KEY_FILE(<string>)
+ )
+ )
+ KW_BATCH_BYTES(<positive-integer>)
+ KW_CHANNEL_ARGS(
+ <empty>
+ <string> => <number>
+ <string> => <string>
+ )
+ KW_COMPRESSION(<yesno>)
+ KW_HEADERS(
+ <empty>
+ <string> => <string>
+ )
+ KW_KEEP_ALIVE(
+ <empty>
+ KW_MAX_PINGS_WITHOUT_DATA(<nonnegative-integer>)
+ KW_TIME(<nonnegative-integer>)
+ KW_TIMEOUT(<nonnegative-integer>)
+ )
+ KW_URL(<string>)
- auth(
- adc(<empty>)
- alts(
- <empty>
- target-service-accounts(
- <empty>
- <string>
- )
- )
- insecure(<empty>)
- tls(
- <empty>
- ca-file(<string>)
- cert-file(<string>)
- key-file(<string>)
- )
- )
- channel-args(
- <empty>
- <string> => <number>
- <string> => <string>
- )
- headers(
- <empty>
- <string> => <string>
- )
- keep-alive(
- <empty>
- max-pings-without-data(<nonnegative-integer>)
- time(<nonnegative-integer>)
- timeout(<nonnegative-integer>)
- )
- url(<string>)
)
opentelemetry(
+ KW_AUTH(
+ KW_ADC(<empty>)
+ KW_ALTS(
+ <empty>
+ KW_TARGET_SERVICE_ACCOUNTS(
+ <empty>
+ <string>
+ )
+ )
+ KW_INSECURE(<empty>)
+ KW_TLS(
+ <empty>
+ KW_CA_FILE(<string>)
+ KW_CERT_FILE(<string>)
+ KW_KEY_FILE(<string>)
+ )
+ )
+ KW_BATCH_BYTES(<positive-integer>)
+ KW_CHANNEL_ARGS(
+ <empty>
+ <string> => <number>
+ <string> => <string>
+ )
+ KW_COMPRESSION(<yesno>)
+ KW_HEADERS(
+ <empty>
+ <string> => <string>
+ )
+ KW_KEEP_ALIVE(
+ <empty>
+ KW_MAX_PINGS_WITHOUT_DATA(<nonnegative-integer>)
+ KW_TIME(<nonnegative-integer>)
+ KW_TIMEOUT(<nonnegative-integer>)
+ )
+ KW_URL(<string>)
- auth(
- adc(<empty>)
- alts(
- <empty>
- target-service-accounts(
- <empty>
- <string>
- )
- )
- insecure(<empty>)
- tls(
- <empty>
- ca-file(<string>)
- cert-file(<string>)
- key-file(<string>)
- )
- )
- batch-bytes(<positive-integer>)
- channel-args(
- <empty>
- <string> => <number>
- <string> => <string>
- )
- compression(<yesno>)
- headers(
- <empty>
- <string> => <string>
- )
- url(<string>)
)
syslog-ng-otlp(
+ KW_AUTH(
+ KW_ADC(<empty>)
+ KW_ALTS(
+ <empty>
+ KW_TARGET_SERVICE_ACCOUNTS(
+ <empty>
+ <string>
+ )
+ )
+ KW_INSECURE(<empty>)
+ KW_TLS(
+ <empty>
+ KW_CA_FILE(<string>)
+ KW_CERT_FILE(<string>)
+ KW_KEY_FILE(<string>)
+ )
+ )
+ KW_BATCH_BYTES(<positive-integer>)
+ KW_CHANNEL_ARGS(
+ <empty>
+ <string> => <number>
+ <string> => <string>
+ )
+ KW_COMPRESSION(<yesno>)
+ KW_HEADERS(
+ <empty>
+ <string> => <string>
+ )
+ KW_KEEP_ALIVE(
+ <empty>
+ KW_MAX_PINGS_WITHOUT_DATA(<nonnegative-integer>)
+ KW_TIME(<nonnegative-integer>)
+ KW_TIMEOUT(<nonnegative-integer>)
+ )
+ KW_URL(<string>)
- auth(
- adc(<empty>)
- alts(
- <empty>
- target-service-accounts(
- <empty>
- <string>
- )
- )
- insecure(<empty>)
- tls(
- <empty>
- ca-file(<string>)
- cert-file(<string>)
- key-file(<string>)
- )
- )
- batch-bytes(<positive-integer>)
- channel-args(
- <empty>
- <string> => <number>
- <string> => <string>
- )
- compression(<yesno>)
- headers(
- <empty>
- <string> => <string>
- )
- url(<string>)
)
--- a/source
+++ b/source
opentelemetry(
+ KW_AUTH(
+ KW_ALTS(<empty>)
+ KW_INSECURE(<empty>)
+ KW_TLS(
+ <empty>
+ KW_CA_FILE(<string>)
+ KW_CERT_FILE(<string>)
+ KW_KEY_FILE(<string>)
+ KW_PEER_VERIFY(
+ KW_OPTIONAL_TRUSTED
+ KW_OPTIONAL_UNTRUSTED
+ KW_REQUIRED_TRUSTED
+ KW_REQUIRED_UNTRUSTED
+ )
+ )
+ )
+ KW_CHANNEL_ARGS(
+ <empty>
+ <string> => <number>
+ <string> => <string>
+ )
+ KW_CONCURRENT_REQUESTS(<positive-integer>)
+ KW_PORT(<positive-integer>)
- auth(
- alts(<empty>)
- insecure(<empty>)
- tls(
- <empty>
- ca-file(<string>)
- cert-file(<string>)
- key-file(<string>)
- peer-verify(
- optional-trusted
- optional-untrusted
- required-trusted
- required-untrusted
- )
- )
- )
- channel-args(
- <empty>
- <string> => <number>
- <string> => <string>
- )
- concurrent-requests(<positive-integer>)
- port(<string-or-number>)
)
syslog-ng-otlp(
+ KW_AUTH(
+ KW_ALTS(<empty>)
+ KW_INSECURE(<empty>)
+ KW_TLS(
+ <empty>
+ KW_CA_FILE(<string>)
+ KW_CERT_FILE(<string>)
+ KW_KEY_FILE(<string>)
+ KW_PEER_VERIFY(
+ KW_OPTIONAL_TRUSTED
+ KW_OPTIONAL_UNTRUSTED
+ KW_REQUIRED_TRUSTED
+ KW_REQUIRED_UNTRUSTED
+ )
+ )
+ )
+ KW_CHANNEL_ARGS(
+ <empty>
+ <string> => <number>
+ <string> => <string>
+ )
+ KW_CONCURRENT_REQUESTS(<positive-integer>)
+ KW_PORT(<positive-integer>)
- auth(
- alts(<empty>)
- insecure(<empty>)
- tls(
- <empty>
- ca-file(<string>)
- cert-file(<string>)
- key-file(<string>)
- peer-verify(
- optional-trusted
- optional-untrusted
- required-trusted
- required-untrusted
- )
- )
- )
- channel-args(
- <empty>
- <string> => <number>
- <string> => <string>
- )
- concurrent-requests(<positive-integer>)
- port(<string-or-number>)
)
|
Signed-off-by: Attila Szakacs <[email protected]> Signed-off-by: Hofi <[email protected]>
Signed-off-by: Attila Szakacs <[email protected]> Signed-off-by: Hofi <[email protected]>
Signed-off-by: Attila Szakacs <[email protected]> Signed-off-by: Hofi <[email protected]>
…lasses Signed-off-by: Attila Szakacs <[email protected]> Signed-off-by: Hofi <[email protected]>
…se classes Signed-off-by: Attila Szakacs <[email protected]> Signed-off-by: Hofi <[email protected]>
Signed-off-by: Attila Szakacs <[email protected]> Signed-off-by: Hofi <[email protected]>
Signed-off-by: Attila Szakacs <[email protected]> Signed-off-by: Hofi <[email protected]>
Signed-off-by: Attila Szakacs <[email protected]> Signed-off-by: Hofi <[email protected]>
Signed-off-by: Attila Szakacs <[email protected]> Signed-off-by: Hofi <[email protected]>
Signed-off-by: Attila Szakacs <[email protected]> Signed-off-by: Hofi <[email protected]>
Signed-off-by: Attila Szakacs <[email protected]> Signed-off-by: Hofi <[email protected]>
Signed-off-by: Attila Szakacs <[email protected]> Signed-off-by: Hofi <[email protected]>
Signed-off-by: Attila Szakacs <[email protected]> Signed-off-by: Hofi <[email protected]>
Signed-off-by: Attila Szakacs <[email protected]> Signed-off-by: Hofi <[email protected]>
Signed-off-by: Attila Szakacs <[email protected]> Signed-off-by: Hofi <[email protected]>
Signed-off-by: Attila Szakacs <[email protected]> Signed-off-by: Hofi <[email protected]>
Signed-off-by: Attila Szakacs <[email protected]> Signed-off-by: Hofi <[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: Hofi <[email protected]>
Signed-off-by: Attila Szakacs <[email protected]> Signed-off-by: Hofi <[email protected]>
Signed-off-by: Attila Szakacs <[email protected]> Signed-off-by: Hofi <[email protected]>
Signed-off-by: Attila Szakacs <[email protected]> Signed-off-by: Hofi <[email protected]>
Signed-off-by: Attila Szakacs <[email protected]> Signed-off-by: Hofi <[email protected]>
Signed-off-by: Attila Szakacs <[email protected]> Signed-off-by: Hofi <[email protected]>
Signed-off-by: Attila Szakacs <[email protected]> Signed-off-by: Hofi <[email protected]>
Signed-off-by: Hofi <[email protected]>
Signed-off-by: Hofi <[email protected]>
75a9e0f to
72ef2e3
Compare
kovgeri01
approved these changes
Feb 26, 2025
HofiOne
pushed a commit
to HofiOne/syslog-ng
that referenced
this pull request
Feb 26, 2025
Signed-off-by: Hofi <[email protected]>
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.
Slightly modified backport of #276 by @alltilla