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

HAWKULAR-70: Metrics Alerts page #51

Merged
merged 1 commit into from Mar 25, 2015

Conversation

vrockai
Copy link
Contributor

@vrockai vrockai commented Mar 25, 2015

When you add new URL, two triggers (threshold & availability) are created for newly created metrics. These are easily configured in the Setup tab. To see some alerts, try to setup the values for threshold to 10ms for 1s. Wait 30 seconds and reload the alerts page. Be aware the alerts page cannot be accessed from the submenu now, but you have to make them metrics aware, like:
http://localhost:2772/metrics/alerts/x1427307245678

Notes:

  • Added angular-patternfly, because it contains the directive for patternfly select widget. Be sure to delete your lib folder and run bower install again.
  • Added dependency to bootstrap.js, but only to the index.html, not to the bower. Unfortunatelly, the directive for select (or the patternfly select itself, not sure) is dependent on jquery and bootstrap.js. I will need to fix this in a future, but this may be time consuming, so putting those links into index.html is a temporary workaround. We need to put them by hand into console index.html, too.
  • Contains a temporary workaround for the "time unit" selector, since original design used bootstrap one instead of patternfly one.

mtho11 added a commit that referenced this pull request Mar 25, 2015
HAWKULAR-70: Metrics Alerts page
@mtho11 mtho11 merged commit 6ea5324 into hawkular:master Mar 25, 2015
@mtho11
Copy link
Member

mtho11 commented Mar 25, 2015

With a fresh hawkular repo, I'm getting:
[INFO] bower patternfly#1.1.1 resolved git://github.com/patternfly/patternfly.git#1.1.1
[INFO] bower ECONFLICT Unable to find suitable version for patternfly
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Hawkular .......................................... SUCCESS [2.728s]
[INFO] hawkular-console .................................. FAILURE [49.597s]
[INFO] hawkular-pinger ................................... SKIPPED

@mtho11
Copy link
Member

mtho11 commented Mar 25, 2015

Fixed in Hawkular with hawkular/hawkular-dist-old#63

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