Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lizardK
Copy link
Contributor

@lizardK lizardK commented Nov 28, 2024

Question Answer
Branch? master
Bug fix? no
New feature? no
Breaking change? no
Tickets Fix #MANAGER-14513
License BSD 3-Clause
  • Try to keep pull requests small so they can be easily reviewed.
  • Commits are signed-off
  • Only FR translations have been updated
  • Branch is up-to-date with target branch
  • Lint has passed locally
  • Standalone app was ran and tested locally
  • Ticket reference is mentioned in linked commits (internal only)
  • Breaking change is mentioned in relevant commits

Description

Move Webhosting metrics to mimir

Copy link
Contributor

yarn.lock changes

Click to toggle table visibility
Name Status Previous Current
chartjs-plugin-datasource-prometheus UPDATED 2.2.0 2.3.0

Copy link

sonarcloud bot commented Nov 28, 2024

Comment on lines +99 to +100
findInBorderColorMap: () => '#848CBC',
findInBackgroundColorMap: () => '#EAECF4',
Copy link
Contributor

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 ?

Copy link
Contributor Author

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

Comment on lines +115 to +123
return fetch(url, { headers })
.then((response) => {
if (response.ok) {
return response.json();
}

return null;
})
.then((response) => response.data);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will should be $http

Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants