Skip to content

Commit f9f578b

Browse files
Feat(OTEL): Cache hit behavior (#3807)
* Add FAQ * Update app/_kong_plugins/opentelemetry/index.md Co-authored-by: Diana <[email protected]> --------- Co-authored-by: Diana <[email protected]>
1 parent 9ce05d0 commit f9f578b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

app/_kong_plugins/opentelemetry/index.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,14 @@ related_resources:
4848
url: /plugins/zipkin/
4949
- text: "{{site.base_gateway}} monitoring and metrics"
5050
url: /gateway/monitoring/
51+
52+
faqs:
53+
- q: Why am I not getting traces for my request when it results in a cache hit?
54+
a: |
55+
Since the [Proxy Caching Advanced](/plugins/proxy-cache-advanced/) plugin runs before the OpenTelemetry plugin, when a response results in a cache hit, the process ends before the OpenTelemetry plugin can run. This means that no traces are produced for that request.
56+
57+
If needed, you can use [dynamic plugin ordering](/gateway/entities/plugin/#dynamic-plugin-ordering) to run the OpenTelemetry plugin first, but be aware that this could impact performance.
58+
5159
---
5260

5361
The OpenTelemetry plugin provides metrics, traces, and logs in the OpenTelemetry format and can be used with any OpenTelemetry compatible backend.

0 commit comments

Comments
 (0)