Skip to content

Commit

Permalink
otel: rename syslog-ng-otlp() to axosyslog-otlp()
Browse files Browse the repository at this point in the history
Signed-off-by: László Várady <[email protected]>
  • Loading branch information
MrAnno committed May 18, 2024
1 parent 773524c commit deedcf5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions modules/grpc/otel/otel-grammar.ym
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ GrpcClientCredentialsBuilderW *last_grpc_client_credentials_builder;
%token KW_URL
%token KW_TARGET_SERVICE_ACCOUNTS
%token KW_ADC
%token KW_SYSLOG_NG_OTLP
%token KW_AXOSYSLOG_OTLP
%token KW_COMPRESSION
%token KW_BATCH_BYTES
%token KW_CONCURRENT_REQUESTS
Expand All @@ -93,7 +93,7 @@ start

kw_opentelemetry_or_syslog_ng_otlp
: KW_OPENTELEMETRY
| KW_SYSLOG_NG_OTLP
| KW_AXOSYSLOG_OTLP
;

source_otel
Expand Down Expand Up @@ -182,7 +182,7 @@ destination_otel_channel_arg
;

destination_syslog_ng_otlp
: KW_SYSLOG_NG_OTLP
: KW_AXOSYSLOG_OTLP
{
last_driver = *instance = syslog_ng_otlp_dd_new(configuration);
}
Expand Down
3 changes: 2 additions & 1 deletion modules/grpc/otel/otel-parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ static CfgLexerKeyword otel_keywords[] =
{ "url", KW_URL },
{ "target_service_accounts", KW_TARGET_SERVICE_ACCOUNTS },
{ "adc", KW_ADC },
{ "syslog_ng_otlp", KW_SYSLOG_NG_OTLP },
{ "axosyslog_otlp", KW_AXOSYSLOG_OTLP },
{ "syslog_ng_otlp", KW_AXOSYSLOG_OTLP },
{ "compression", KW_COMPRESSION },
{ "batch_bytes", KW_BATCH_BYTES },
{ "concurrent_requests", KW_CONCURRENT_REQUESTS },
Expand Down

0 comments on commit deedcf5

Please sign in to comment.