From e7d47c961801c53052933ea45c4f1d7ee78b85a2 Mon Sep 17 00:00:00 2001
From: quocbao <quocbao747@gmail.com>
Date: Sun, 1 Dec 2024 03:22:04 +0000
Subject: [PATCH] out_opentelemetry: fix a typo

Signed-off-by: quocbao <quocbao747@gmail.com>
---
 plugins/out_opentelemetry/opentelemetry.c | 2 +-
 plugins/out_opentelemetry/opentelemetry.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugins/out_opentelemetry/opentelemetry.c b/plugins/out_opentelemetry/opentelemetry.c
index ae614a9c575..56aa8769bd9 100644
--- a/plugins/out_opentelemetry/opentelemetry.c
+++ b/plugins/out_opentelemetry/opentelemetry.c
@@ -796,7 +796,7 @@ static struct flb_config_map config_map[] = {
     {
      FLB_CONFIG_MAP_BOOL, "log_response_payload", "true",
      0, FLB_TRUE, offsetof(struct opentelemetry_context, log_response_payload),
-     "Specify if the response paylod should be logged or not"
+     "Specify if the response payload should be logged or not"
     },
     {
      FLB_CONFIG_MAP_STR, "logs_metadata_key", "otlp",
diff --git a/plugins/out_opentelemetry/opentelemetry.h b/plugins/out_opentelemetry/opentelemetry.h
index 1041409e0ca..dd1839c34fc 100644
--- a/plugins/out_opentelemetry/opentelemetry.h
+++ b/plugins/out_opentelemetry/opentelemetry.h
@@ -120,7 +120,7 @@ struct opentelemetry_context {
     /* Number of logs to flush at a time */
     int batch_size;
 
-    /* Log the response paylod */
+    /* Log the response payload */
     int log_response_payload;
 
     /* config reader for 'add_label' */