Skip to content

Commit 0e56bc2

Browse files
eschabellpatrick-stephens
authored andcommitted
in_opentelemetry: added five missing configuration option descriptions. Fixes #11191.
Signed-off-by: Eric D. Schabell <[email protected]>
1 parent 11802da commit 0e56bc2

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

plugins/in_opentelemetry/opentelemetry.c

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ static struct flb_config_map config_map[] = {
200200
{
201201
FLB_CONFIG_MAP_BOOL, "http2", "true",
202202
0, FLB_TRUE, offsetof(struct flb_opentelemetry, enable_http2),
203-
NULL
203+
"Enable HTTP/2 protocol support for the OpenTelemetry receiver"
204204
},
205205

206206
{
@@ -219,19 +219,19 @@ static struct flb_config_map config_map[] = {
219219
{
220220
FLB_CONFIG_MAP_SIZE, "buffer_max_size", HTTP_BUFFER_MAX_SIZE,
221221
0, FLB_TRUE, offsetof(struct flb_opentelemetry, buffer_max_size),
222-
""
222+
"Maximum size of the HTTP request buffer"
223223
},
224224

225225
{
226226
FLB_CONFIG_MAP_SIZE, "buffer_chunk_size", HTTP_BUFFER_CHUNK_SIZE,
227227
0, FLB_TRUE, offsetof(struct flb_opentelemetry, buffer_chunk_size),
228-
""
228+
"Size of each buffer chunk allocated for HTTP requests"
229229
},
230230

231231
{
232232
FLB_CONFIG_MAP_STR, "tag_key", NULL,
233233
0, FLB_TRUE, offsetof(struct flb_opentelemetry, tag_key),
234-
""
234+
"Record accessor key to use for generating tags from incoming records"
235235
},
236236
{
237237
FLB_CONFIG_MAP_BOOL, "tag_from_uri", "true",
@@ -252,6 +252,7 @@ static struct flb_config_map config_map[] = {
252252
{
253253
FLB_CONFIG_MAP_STR, "logs_metadata_key", "otlp",
254254
0, FLB_TRUE, offsetof(struct flb_opentelemetry, logs_metadata_key),
255+
"Key name to store OpenTelemetry logs metadata in the record"
255256
},
256257
{
257258
FLB_CONFIG_MAP_STR, "logs_body_key", NULL,

0 commit comments

Comments
 (0)