You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OTEL plugin: the header_type parameter is deprecated, please update your configuration to use propagation.extract and propagation.inject instead
#13202
Closed
1 task done
garciasdos opened this issue
Jun 13, 2024
· 2 comments
· Fixed by #13220
When any service call reaches this plugin, I get a warning message:
kong-1 | 2024/06/13 11:39:50 [warn] 5363#0: *6481 [kong] init.lua:86 [opentelemetry] the header_type parameter is deprecated, please update your configuration to use propagation.extract and propagation.inject instead, client: 192.168.65.1
There are indeed redundant warnings, we have proper logic during schema validation that prevent this from happening when the value used is the default, but the ones logged during header propagation setup did not have a check for that. I removed them and attached the PR. Thanks for reporting @garciasdos.
Is there an existing issue for this?
Kong version (
$ kong version
)Kong 3.7.0
Current Behavior
When any service call reaches this plugin, I get a warning message:
Here's my opentelemetry plugin configuration:
but
header_type
is not being modified elsewhereExpected Behavior
When any service call reaches this plugin, I should not get a warning message if no custom configuration was made
Steps To Reproduce
3.7
projectopentelemetry
OSS pluginheader_type
attributeAnything else?
No response
The text was updated successfully, but these errors were encountered: