-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Metrics API shows incorrect results #8
Comments
📝
https://docs.datadoghq.com/getting_started/integrations/#collection-interval
https://docs.datadoghq.com/developers/guide/data-collection-resolution-retention/ Not sure how Thread on datadog slack: https://datadoghq.slack.com/archives/C3BM8SGKZ/p1645426510859019 |
Vincenzo Rajo (February 08, 2022 12:31)
Suraj Banakar (February 11, 2022 11:39)
|
Vincenzo Rajo (February 11, 2022 11:57)
Suraj Banakar (February 16, 2022 12:26)
|
Suraj Banakar (February 21, 2022 13:16)
Suraj Banakar (February 23, 2022 12:32)
|
It has been 22 days since I created the support ticket. I haven't received any meaningful response from Datadog support which addresses the problem I have outlined in this issue. I am giving up on this for now because I don't think I am going to get a response. If I do get a response, I will post it as a comment on this issue. If you face an issue where the metrics being displayed in Datadog don't match with the results in Keptn, please create a new issue, link this issue and mention me. Sorry for the inconvenience and thank you for understanding. 🙇 |
Received a response! Dustin Rothschild (April 14, 2022 04:53)
|
Suraj Banakar (April 19, 2022 12:02)
|
Suraj Banakar (April 21 2022 14:23)
|
Dustin Rothschild (April 28 2022 22:51)
|
Suraj Banakar (April 29, 2022 11:51)
|
Had a conversation around this issue in the Keptn slack. Dynatrace and Sumo Logic also have similar problem which makes me think keeping the delay might be right way to do things. Relevant excerpts from the slack thread: Suraj Banakar
Andreas Grabner
Christian Kreuzberger
Suraj Banakar
|
Fatine Bentires (May 09, 2022 15:19)
|
Fatine Bentires (May 12, 2022 18:30)
|
Fatine Bentires (May 16, 2022 12:46)
|
Fatine Bentires (May 18, 2022 14:09)
|
Fatine Bentires (May 25, 2022 13:29)
|
This confirms
30s+ delay seems like the right solution to fix this problem. |
Problem
Datadog metrics API does not show me the correct results.
I have observed the following cases:
from_date
andto_date
from the API responsefrom_date
andto_date
from the API respose1 and 2 are easily reproducible if you execute the code I have attached a couple of times. I have set the query time frame to 24s duration but if I increase it to say to 30s, I get data which is close to the data I see in the UI OR I get 1 (i.e., no data when I can see the data in the UI)
Please check the attached zip file which contains the code and the screenshots.
I am using a local minikube cluster (runs in a VM). I have installed datadog using
My current datadog chart versioni is
datadog-operator-0.7.8
.Code
go.mod
go.sum
main.go
How to run
Fix
The text was updated successfully, but these errors were encountered: