-
Notifications
You must be signed in to change notification settings - Fork 98
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
feat(web.hosting): move metrics to mimir #14320
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: cyril.biencourt <[email protected]>
Quality Gate passedIssues Measures |
.../manager/apps/web/client/app/hosting/automated-emails/hosting-automated-emails.controller.js
Show resolved
Hide resolved
findInBorderColorMap: () => '#848CBC', | ||
findInBackgroundColorMap: () => '#EAECF4', |
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.
Maybe export on a constant ?
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.
Used once only and specific to this chart
return fetch(url, { headers }) | ||
.then((response) => { | ||
if (response.ok) { | ||
return response.json(); | ||
} | ||
|
||
return null; | ||
}) | ||
.then((response) => response.data); |
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.
Will should be $http
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.
No needs and avoid angularjs dependencies
master
Description
Move Webhosting metrics to mimir