-
Notifications
You must be signed in to change notification settings - Fork 758
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
Update fiddler agent to replace deprecated v2 APIs with faster v3 APIs (ECOINT-84) #2592
base: master
Are you sure you want to change the base?
Update fiddler agent to replace deprecated v2 APIs with faster v3 APIs (ECOINT-84) #2592
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left 1 comment, otherwise looks good to me
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems like we're dropping support for V2 API with these changes. Is this accurate?
fiddler/CHANGELOG.md
Outdated
|
||
***Changed***: | ||
|
||
* Changed to using v3 queries and metrics APIs. ([#2582](https://github.com/DataDog/integrations-extras/pull/2582)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's also update the PR to the current PR number.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for catching it. Fixed it.
@Kyle-Neale Our backend v2 APIs are deprecated and we are removing it's usage from here. There's no breaking change for users. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Requesting dashboard updates
- Readme installation command also needs to be updated to reference 4.0.0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did the dashboard file names get mixed up? The file name indicates v2, but dashboard name is "Fiddler Model Performance 3.0.0".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please also fix grammar in description. This is present in both dashboards.
Current:
"This dashboard displays the model performance metrics that was pulled into DataDog from the Fiddler Model Performance Management tool."
Should be:
"This dashboard displays the model performance metrics that were pulled into DataDog from the Fiddler Model Performance Management tool."
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the new dashboard, please update it to align with our template as closely as possible.
Integration_Dashboard_Template.json
What does this PR do?
This PR rewrites Fiddler's Agent to use new faster v3 APIs. The PR ensures that the results published to DataDog continue to be backwards compatible supporting old metrics names.
Changes:
Motivation
What inspired you to submit this pull request?
Functional Reasons:
The existing implementation of Fiddler-Datadog integration uses v2 APIs - list_projects, and v2/queries and metrics
These APIs are deprecated and removed once users are successfully migrated.
These APIs are replaced by v3 APIs which have been in production for 10+ months. These APIs make much more efficient use of caching at every layer, and are faster.
Review checklist
no-changelog
label attachedAdditional Notes
Anything else we should know when reviewing?