Commit Graph
100 Commits
Author SHA1 Message Date
bergquist dc2ebeb7c0 margin when listing multiple gf-form should be right
when listing multiple gf-form elements this style is
applied to all elements except the first. By having the
margin on the right side there will always be some margin
between all gf-forms
2018-11-22 11:00:27 +01:00
bergquist 14688766ef updates time range options for alert queries
add some new options for the to value.
removes '1s' option for from since thats unreasonable low

closes #12134
2018-11-21 15:43:37 +01:00
bergquist 60c291c8dc format: remove </input> and align tabs 2018-11-21 15:42:25 +01:00
bergquist 4bd8b2c130 gfdev: fixes unparseable for duration 2018-11-21 11:41:54 +01:00
bergquist afbc16c499 gfdev: adds alert always in pending state 2018-11-21 11:34:21 +01:00
bergquist 1491ea1c75 docs: adds example timeline for alerting for 2018-11-21 11:11:46 +01:00
bergquist baba8a92ee update path to alerting for image 2018-11-20 17:09:21 +01:00
bergquist 8bd0aeb56e changelog: adds note about closing #13577 2018-11-20 11:21:17 +01:00
bergquist c999394b49 adds basic auth configuration to default.ini 2018-11-20 11:07:39 +01:00
bergquist 862815d18d go meta lint errors 2018-11-19 14:00:20 +01:00
bergquist 8130067fd1 changelog: adds note about closing #7886 & #6202 2018-11-19 10:47:37 +01:00
bergquist 23b1fbcf48 changelog: adds note about closing #11893 2018-11-19 10:22:26 +01:00
bergquist bb66661cc6 changelog: adds note about closing #14043 2018-11-19 09:15:07 +01:00
bergquist 76cbd7f0de alerting: reduce the length of range queries
since we introduce deboucing the length should matter less.
But going below 5m as default might be weird depending on datasource.
2018-11-19 09:10:19 +01:00
bergquist caec36e7ec alert rule have to be pending before alerting is for is specified 2018-11-15 15:37:46 +01:00
bergquist 7ba04466a2 alerting: improve annotations for pending state 2018-11-15 14:30:36 +01:00
bergquist e7260d77b3 adds pending filter for alert list page 2018-11-15 12:46:28 +01:00
bergquist 968bfd0139 adds pending state to alert list panel 2018-11-15 12:42:47 +01:00
bergquist a70ea2101c alertmanager: adds tests for should notify 2018-11-15 12:36:11 +01:00
bergquist 28029ce4a7 alerting: support for on execution errors and notdata 2018-11-15 11:04:16 +01:00
bergquist 84eb3bd095 tests for supporting for with all alerting scenarios 2018-11-14 23:43:09 +01:00
bergquist 8fb997d935 should not notify when going from unknown to pending 2018-11-14 23:43:09 +01:00
bergquist aa340b9099 changelog: adds note about closing #14043 2018-11-14 11:30:19 +01:00
bergquist a0496d554a updates latest to 5.3.4 2018-11-13 14:04:28 +01:00
bergquist 3a672c6dc2 changelod: add release date for 5.3.3 and 5.3.4 2018-11-13 13:58:35 +01:00
bergquist 5954ab2c0d adds redis devenv block 2018-11-13 10:27:57 +01:00
bergquist d5555f123f updates macaron session package 2018-11-13 09:41:36 +01:00
bergquist 2fb78a50d6 minor fixes based on code review 2018-11-12 10:50:56 +01:00
bergquist 16bf269c31 changelog: adds note about closing #13993
[skip ci]
2018-11-08 15:04:16 +01:00
bergquist aa1b80fe45 docs: improve helper test for For 2018-11-08 14:16:58 +01:00
bergquist 975f0aa064 alerting: adds docs about the for setting 2018-11-08 13:52:06 +01:00
bergquist 0ddfd92f8c adds debounce duration for alert dashboards in ha_test 2018-11-07 22:30:23 +01:00
bergquist 7bde98aff9 rename and mark functions as private 2018-11-06 09:00:17 +01:00
bergquist 17adb58d80 export: provide more help regarding export format
this will provide the user with more info about
the export format and default to not use the format
for sharing on grafana.com etc.

ref #13781
2018-11-05 17:33:42 +01:00
bergquist 30e924611d changelog: adds note about closing #13322 2018-11-05 15:42:26 +01:00
bergquist 423331dae0 alerting: delete alerts when parent folder is deleted
closes #13322
2018-11-05 14:25:26 +01:00
bergquist 3789583014 for: use 0m as default for existing alerts and 5m for new 2018-11-05 13:51:35 +01:00
bergquist ae2d536740 adds tests for extracting for property 2018-11-05 13:29:33 +01:00
bergquist ccd89eee97 renames debouceduration to for 2018-11-05 11:05:30 +01:00
bergquist d25284a364 introduce state unknown for rules that have not been evaluated yet 2018-11-05 10:50:28 +01:00
bergquist 6f748d8a96 fixes go meta lint issue 2018-11-05 10:50:28 +01:00
bergquist 4526660cb2 wire up debounce setting in the ui 2018-11-05 10:50:28 +01:00
bergquist 2d3a575489 adds db migration for debounce_duration 2018-11-05 10:50:28 +01:00
bergquist ccfd9c89b2 introduces hard coded deboucing for alerting 2018-11-05 10:50:28 +01:00
bergquist 7c3dcb3702 alerting: adds tests for the median reducer
adds a test that verify that null values are not used
when calculating the median value in alerting

closes #10056
2018-11-05 09:03:35 +01:00
bergquist 65ace003c9 changelog: adds note about closing #13945 2018-11-03 14:03:41 +01:00
bergquist bc37e3caa2 alerting: increase default duration for queries
we should promote using longer queries since this should
increase the quality of the alerts. only using a 5min range
means that we will only have 4 datapoints in data is written
every min which is not good enough for the generic alert rule
2018-11-02 10:43:05 +01:00
bergquist b58b4ef128 changelog: adds note about closing #13876 2018-10-30 11:20:49 +01:00
bergquist c9ac762fb1 build: adds branch info to binary build 2018-10-29 13:27:29 +01:00
bergquist 0e34a6be0f removes old invalid release guide
closes #13864
2018-10-29 10:37:30 +01:00
bergquist d9cd20e43e docs: improve ES provisioning examples
closes #12281
2018-10-25 14:36:31 +02:00
bergquist 946ca5477b changelog: adds note about closing #13723
[skip ci]
2018-10-25 14:31:43 +02:00
bergquist 0a9bfc5529 delete provisioning meta data when deleting folder
prior to this fix Grafana didnt delete meta data
about the provisioned dashboard in `dashboard_provisioning`
which means that the dashboard wasn't inserted into
Grafana again if the folder was delete within Grafana.

closes #13280
2018-10-24 13:32:45 +02:00
bergquist 2afec0e7fb changelog: adds note about closing #12330 and #6696
[skip ci]
2018-10-17 11:12:39 +02:00
bergquist 70385119bc removes d in disableResolvedMessage 2018-10-17 10:41:18 +02:00
bergquist 5566a61aef alerting: tests default value for disable resolve message 2018-10-17 09:53:03 +02:00
bergquist cecf87571f set v5.3 as root docs 2018-10-10 14:00:51 +02:00
bergquist 62d23e3f8d update latest.json to 5.3.0 2018-10-10 13:20:06 +02:00
bergquist 37032a435d changelog: set date for 5.3.0 release 2018-10-10 13:06:29 +02:00
bergquist 81824370db bump master version to 5.4.0-pre1 2018-10-03 17:38:52 +02:00
bergquist 4498d75b17 provisioning: adds more logging about failed to deletion of provisioned dashboards 2018-10-03 17:38:10 +02:00
bergquist 75ed71a455 changelog: set date for 5.3.0-beta3 release 2018-10-03 16:48:07 +02:00
bergquist 96a0c9c56d build: fix for invalid pathing for release publisher 2018-10-03 16:47:37 +02:00
bergquist 00b4c175c6 changlog: adds note about closing #13551 and #13507 2018-10-03 16:30:26 +02:00
bergquist add6cee742 build: automatically publish releases to grafana.com. 2018-10-03 11:17:46 +02:00
bergquist 1935497813 changelog: adds note about closing #13492 2018-10-02 16:38:13 +02:00
bergquist 7b781e4c3c use notification state id instead of notifier id 2018-10-02 14:53:39 +02:00
bergquist 9289cba625 merges defaultShouldNotify and ShouldNotify 2018-10-02 14:28:48 +02:00
bergquist 67e5f62514 move version conflict logging for mark as complete to sqlstore package 2018-10-02 14:23:18 +02:00
bergquist 9d3659d30d improve local variable name 2018-10-02 14:04:50 +02:00
bergquist b45a1bd45c avoid exporting notificationState and notificationStateSlice 2018-10-02 14:03:30 +02:00
bergquist 9022e871e3 avoid sending full notification state to pending/complete 2018-10-02 13:57:41 +02:00
bergquist 341d8af637 rename GetNotificationStateQuery to GetOrCreateNotificationStateQuery 2018-10-02 11:23:40 +02:00
bergquist 7f1d7cefc0 reminder: uses UpdatedAt to track state changes. 2018-10-02 11:19:09 +02:00
bergquist 75f832cda8 use alert state changes counter as secondary version 2018-10-01 15:58:30 +02:00
bergquist 15ce474639 wip 2018-09-27 16:21:53 +02:00
bergquist c5278af6c4 add support for mysql and postgres unique index error codes 2018-09-27 11:33:13 +02:00
bergquist 3fab616239 implement sql queries for transactional alert reminders 2018-09-27 11:14:44 +02:00
bergquist ff79f80685 initial rename refactoring 2018-09-27 09:43:00 +02:00
bergquist 0476520f2d changelog: adds note about closing #12534 2018-09-27 09:25:57 +02:00
bergquist b04052f515 alerting: move all notification conditions to defaultShouldNotify 2018-09-26 14:34:10 +02:00
bergquist fd5acdd857 target gfdev-prometheus datasource 2018-09-24 10:59:39 +02:00
bergquist 9774ec0ad7 devenv: adds script for creating many dashboards with alerts 2018-09-24 10:00:47 +02:00
bergquist 0f8b9b8ff9 set maxworkers 2 for frontend tests 2018-09-18 12:18:35 +02:00
bergquist 63ed02e626 removes codedov refs 2018-09-18 11:44:31 +02:00
bergquist 1be26ad362 disable codecov 2018-09-18 11:39:22 +02:00
bergquist 8dbba467f1 moves /tests to /pkg/plugins
ref #11433
2018-09-17 17:29:47 +02:00
bergquist 6938fd5fff Merge branch 'brian2222-patch-1'
* brian2222-patch-1:
  removes testdata from getting started
  Update getting_started.md
2018-09-17 11:51:48 +02:00
bergquist d84a0ec3e7 removes testdata from getting started 2018-09-17 11:50:22 +02:00
bergquist 8e69d7731a moves benchmark script to devenv
ref #11433
2018-09-17 11:17:23 +02:00
bergquist c1f797ed90 moves docker/ to devenv/docker 2018-09-17 11:10:03 +02:00
bergquist d9ca8b43b7 changelog: adds note about closing #9735 2018-09-17 10:50:32 +02:00
bergquist 8e5000fb31 moves files from /tests to more appropriate folders
ref #11433
2018-09-17 10:10:20 +02:00
bergquist 7588283287 docs: template variable support for annotations 2018-09-17 09:30:03 +02:00
bergquist 0bf5a6ad71 metrics: starts some counters at zero
without starting the counter as zero Grafana will not send any metrics
to graphite using the bridge.
2018-09-14 10:06:10 +02:00
bergquist bff350166e disabling internal metrics disables /metric endpoint
but we will still keep sending metrics to graphite

closes #10638
2018-09-13 16:09:52 +02:00
bergquist aed8208d78 renames PartialMatch to MatchAny 2018-09-13 15:15:42 +02:00
bergquist 835a75335c Merge branch 'master' into 9587_annotation_tags_wih_temp_var
* master:
  fix theme parameter not working problem while prefer theme set to light (#13232)
  fix: added type export to fix failing test
  fix: fixed typescript test error
  another circleci fix
  Another circleci fix
  changed gometalinter to use github master
  commented out metalinter as gopkg is having issues
  Fix prometheus label filtering for comparison queries (#13213)
  Upgrade react and enzyme (#13224)
  Teams page replace mobx (#13219)
  upgrade of typescript and tslint and jest (#13223)
  fix nil pointer dereference (#13221)
2018-09-12 09:23:54 +02:00
bergquist 1638c6bea1 enable partial tag matches for annotations 2018-09-11 15:50:04 +02:00
bergquist 19c7dd9834 support template variables with multiple values 2018-09-11 14:25:25 +02:00