Revenue and visibility

Seeing every API and AI call end to end: Kong with Dynatrace

A customer reports that checkout is slow. The gateway team says the gateway is fine. The application team says the service is fine. The AI team points out that the model provider had a bad afternoon. Each has a dashboard proving it, none of the dashboards connect, and the incident call runs for two hours before anyone finds the database query that caused it.

How do you see an API or AI call end to end?

You trace it. The gateway starts or continues a distributed trace for every request, records what it did, including authentication, rate limiting, caching and for AI calls the model, tokens and cost, and passes the trace context on. The observability platform then joins that span to the services, databases, infrastructure and model calls behind it, so one trace shows the whole journey.

With Kong and Dynatrace, the gateway sends traces, metrics and logs over OpenTelemetry, and Dynatrace places them in the live map of your environment it already holds. When something slows down, Dynatrace’s AI follows the dependencies to the root cause instead of leaving each team to defend its own dashboard.

One trace from the Kong gateway to the root cause in DynatraceAn illustrative trace waterfall. The Kong gateway span covers authentication, limits and cache, followed by the checkout service, an AI model call with tokens and cost attached, and a slow database query. The spans travel over OpenTelemetry to Dynatrace, which joins them to services, hosts and deployments in Smartscape and identifies the slow database query as the root cause.Kong gateway: auth, limits, cacheCheckout serviceAI model callDatabase queryDYNATRACERoot cause: slow database querySpans joined to services, hostsand deployments in SmartscapeONE TRACEtokens and cost attachedOpenTelemetryC4C is an official partner of both
Illustrative. Kong sends the gateway’s part of the trace over OpenTelemetry, and Dynatrace joins it to everything behind.

How Kong solves it

How Kong and Dynatrace fit together

Kong lists Dynatrace as a premium technology partner, and both vendors document the integration.

OpenTelemetry from the gateway

Kong’s OpenTelemetry plugin exports traces, logs and metrics from every gateway, and Kong publishes a guide to sending them to Dynatrace, recommending the Dynatrace Collector for production.

Kong extensions in Dynatrace Hub

Dynatrace provides a Kong Prometheus extension for Kong Gateway and Konnect, and a Kong AI entry for Kong AI Gateway, so gateway metrics arrive ready to use.

Documented in Dynatrace

Dynatrace documents Kong Gateway monitoring through OneAgent, OpenTelemetry and Prometheus, so the gateway is part of the same estate as everything else Dynatrace observes.

AI calls with cost attached

Kong AI Gateway records the model, token counts and cost of each AI call, and with OpenTelemetry enabled these travel with the trace, so a slow or expensive AI request is visible in context.

Root cause, not more dashboards

Dynatrace’s OneAgent, Smartscape dependency map and Dynatrace Intelligence take the gateway’s spans and follow them to the service, database or deployment that caused the problem.

Agents and MCP traced

Model calls, MCP tool calls and agent to agent calls through Kong are traced like any other request, so an agent’s chain of actions can be followed in Dynatrace.

Sources: Kong, premium technology partners; Kong, OpenTelemetry plugin; Kong, set up Dynatrace with OpenTelemetry; Dynatrace Hub, Kong Prometheus extension; Dynatrace, Kong Gateway monitoring.

What C4C does

Partners to both, so the join is ours

Official Kong partner in the UK

C4C Group is an official partner of both Kong and Dynatrace in the UK. We design the Kong deployment with observability built in, set up the OpenTelemetry export and the Dynatrace extensions, and build the views each team needs: gateway health for the platform team, latency and errors per service for application owners, and AI usage and cost per team for finance.

Because one team supplies, implements and supports both platforms, there is nobody to hand the integration over to and nothing for it to fall between.

Talk to us

Join the gateway to everything behind it

  1. Tell us what you run today: Kong or another gateway, Dynatrace or another monitoring platform, and where incidents take longest to resolve.
  2. We come back with how Kong and Dynatrace would be joined, what each team would see, and the order to do it in.
  3. We implement it with your teams, on one or both platforms, and supply and support both.

We reply within one working day. Prefer email? Write to us at hello@c4cgroup.co.uk.

Prefer email? Write to us at hello@c4cgroup.co.uk.

Questions

End to end visibility: Kong with Dynatrace: frequently asked questions

Does Kong integrate with Dynatrace?

Yes. Kong’s OpenTelemetry plugin sends traces, logs and metrics to Dynatrace, Kong publishes a setup guide for it, Dynatrace provides Kong extensions in Dynatrace Hub, and Kong lists Dynatrace as a premium technology partner.

Can Dynatrace show AI token use and cost from Kong?

Kong AI Gateway records the model, tokens and cost of each AI call, and with OpenTelemetry enabled that detail travels with the trace into Dynatrace, alongside the services the call touched.

Do we need both products from the same partner?

No, but it helps. C4C Group is an official partner of both Kong and Dynatrace in the UK, so the gateway, the observability platform and the join between them are supplied, implemented and supported by one team.

We already run Dynatrace. Where do we start?

With the gateway. Put Kong in front of the services that matter most, switch on the OpenTelemetry export and the Dynatrace extension, and the gateway joins the traces Dynatrace already has.

Related Kong use cases

Further reading