Browse Source

Show pattern type on created anomaly

master
rozetko 7 years ago
parent
commit
2f18ad7dde
  1. 14728
      dist/module.js
  2. 2
      dist/module.js.map
  3. 11
      dist/partials/tab_analytics.html
  4. 9
      src/partials/tab_analytics.html

14728
dist/module.js vendored

File diff suppressed because one or more lines are too long

2
dist/module.js.map vendored

File diff suppressed because one or more lines are too long

11
dist/partials/tab_analytics.html vendored

@ -9,6 +9,15 @@
ng-disabled="true" ng-disabled="true"
> >
<label class="gf-form-label width-8"> Pattern type </label>
<div class="gf-form-select-wrapper">
<select class="gf-form-input width-12"
ng-model="anomalyType.pattern"
ng-options="pattern as pattern disable when pattern !== 'General approach' for pattern in ctrl.patterns"
ng-disabled="true"
/>
</div>
<!-- <!--
<label class="gf-form-label width-6"> Confidence </label> <label class="gf-form-label width-6"> Confidence </label>
<input <input
@ -100,7 +109,7 @@
<label> <label>
<i ng-if="anomalyType.status === 'learning'" class="grafana-tip fa fa-leanpub ng-scope" bs-tooltip="'Learning'"></i> <i ng-if="anomalyType.status === 'learning'" class="grafana-tip fa fa-leanpub ng-scope" bs-tooltip="'Learning'"></i>
<i ng-if="anomalyType.status === 'pending'" class="grafana-tip fa fa-list-ul ng-scope" bs-tooltip="'Pending'"></i> <i ng-if="anomalyType.status === 'pending'" class="grafana-tip fa fa-list-ul ng-scope" bs-tooltip="'Pending'"></i>
<i ng-if="anomalyType.status === 'failed'" class="grafana-tip fa fa-exclamation-circle ng-scope" bs-tooltip="'Failed'"></i> <i ng-if="anomalyType.status === 'failed'" class="grafana-tip fa fa-exclamation-circle ng-scope" bs-tooltip="'Error: ' + anomalyType.error"></i>
</label> </label>
</div> </div>

9
src/partials/tab_analytics.html

@ -9,6 +9,15 @@
ng-disabled="true" ng-disabled="true"
> >
<label class="gf-form-label width-8"> Pattern type </label>
<div class="gf-form-select-wrapper">
<select class="gf-form-input width-12"
ng-model="anomalyType.pattern"
ng-options="pattern as pattern disable when pattern !== 'General approach' for pattern in ctrl.patterns"
ng-disabled="true"
/>
</div>
<!-- <!--
<label class="gf-form-label width-6"> Confidence </label> <label class="gf-form-label width-6"> Confidence </label>
<input <input

Loading…
Cancel
Save