From 3aa8a12e8e8e39048ebb40ed8a46ff288fc7ecb2 Mon Sep 17 00:00:00 2001 From: Michael Fero <6863207+mikefero@users.noreply.github.com> Date: Mon, 1 Jul 2024 16:25:55 -0400 Subject: [PATCH] fix: update otel version to match Kong Gateway version --- kong/plugins/opentelemetry/handler.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kong/plugins/opentelemetry/handler.lua b/kong/plugins/opentelemetry/handler.lua index 444e3435a26..7fe30340a17 100644 --- a/kong/plugins/opentelemetry/handler.lua +++ b/kong/plugins/opentelemetry/handler.lua @@ -4,6 +4,7 @@ local clone = require "table.clone" local otlp = require "kong.plugins.opentelemetry.otlp" local propagation = require "kong.tracing.propagation" local tracing_context = require "kong.tracing.tracing_context" +local kong_meta = require "kong.meta" local ngx = ngx @@ -24,7 +25,7 @@ local _log_prefix = "[otel] " local OpenTelemetryHandler = { - VERSION = "0.1.0", + VERSION = kong_meta.version, PRIORITY = 14, }