Discrepancies between logged requests by the Kong and metrics in the Datadog #11671
Unanswered
piotr-maslanka
asked this question in
Help
Replies: 1 comment
-
Given this is an old ticket, please ignore me if it's already fixed for you. I noticed that the missing statuses are: The DD logs look like a fraction of Kong logs. Could you share more details, like what period both logs are counted? DD metrics could be filtered and scoped and maybe it's just about how we operate the DD dashboard. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello.
Recently we set up Datadog plugin and noticed some discrepancies between Kong requests logs and Datadog metrics provided by it.
Data gathered in our logs:
Data from DD metrics:
As you can see we have two major problems:
Our Kong version is 3.2 (upgraded from 3.1 to mitigate this issue: #10044)
Metrics plugin definition that we use:
We already changed
stat_type
fromcounter
tometer
since it seems to better represent the actual number of requests after sending metrics to DD (counter was automatically converted to rate).Additionally, we also use these plugins: jwt, request-transformer, response-transformer, our own custom plugin.
Is it some kind of bug, misconfiguration on our side or maybe there is some kind of logic regarding which requests should be provided in the metrics (and which shouldn't)?
Beta Was this translation helpful? Give feedback.
All reactions