Commit Graph

388 Commits

Author SHA1 Message Date
Torkel Ödegaard 906e70e599 Batch all influxdb 0.9 queries (per panel) in one request, #1525 2015-06-26 11:27:49 +02:00
Torkel Ödegaard 3f167d7fd1 more work on influxdb 0.9 query editor and query builder, can now handle regex conditions, tag operator and tag value quotes changes automatically depending if the tag value is a regex or not, #1525 2015-06-26 10:38:39 +02:00
Torkel Ödegaard dd8d6bc705 Changed regex typeahead lookup, also works with literal regex patterns 2015-06-26 09:40:55 +02:00
Torkel Ödegaard 43afd7dff9 Fixed on blur event for influxdb 0.9 raw query editor, #1525 2015-06-26 07:54:55 +02:00
Torkel Ödegaard 9266d3789b Merge remote-tracking branch 'origin/kariosdb'
Conflicts:
	public/test/test-main.js
2015-06-25 18:34:41 +02:00
Torkel Ödegaard 7806da11e6 Fixed issue with test data source connection and direct access, Fixes #2219 2015-06-24 21:31:16 +02:00
Torkel Ödegaard ec98f9181b Fixed issue with new variable value select dropdown and parent -> child updates, Fixes #2215 2015-06-23 20:09:17 +02:00
Torkel Ödegaard ba2deb5f7b Merge branch 'master' of github.com:grafana/grafana 2015-06-22 22:30:03 +02:00
Torkel Ödegaard 7794442277 Make influxdb 0.9 raw query mode still show alias input field, #1525 2015-06-22 22:29:49 +02:00
Torkel Ödegaard fb8775124c Merge pull request #2207 from lahma/features/influxdb-scoped-vars
#1525 add support for scoped vars for InfluxDB 0.9
2015-06-22 21:26:09 +02:00
Marko Lahma 680865f13c #1525 add support for scoped vars for InfluxDB 0.9 2015-06-22 22:22:29 +03:00
Torkel Ödegaard 98a07eff81 Worked on enhancing panel links to support dash link features, like auto variable to url params includes, Closes #2200 2015-06-22 17:44:46 +02:00
Torkel Ödegaard 3f917b0af5 Updated org creation view, after creating new org user is switched to that org and redirect to org details view, Closes #2198 2015-06-22 08:13:21 +02:00
Torkel Ödegaard d3c6db1ba8 Fixed tabindex for organization dropdown, Fixes #2150 2015-06-19 16:42:45 -04:00
Torkel Ödegaard 2a693f7f08 Fixed issue with multi select template variable and restoring state from url, #2196 2015-06-19 15:10:34 -04:00
Torkel Ödegaard 26e5d7a3de Graph: fixed PNG rendering of panels with legend table to the right, #2185 2015-06-19 14:13:25 -04:00
Torkel Ödegaard 021c6ac1cb fixed panel menu while in fullscreen mode 2015-06-19 12:42:10 -04:00
Torkel Ödegaard 261e5ebbd4 Fixed bug in singlestat panel and null value handling, #2189 2015-06-19 11:51:46 -04:00
Randy D. Wallace Jr 5e6d876bd0 Support Multiple Fields in InfluxDB 0.9+
* Update influxdb 0.9 plugin to iterate thru fields returned by InfluxDB
  and output ea. field metric separately
* Updates default label to include Field Name
* Update spec to include updated label
* Add spec for multiple fields
* Do not print the field in the label when the name is value
2015-06-17 14:43:54 -04:00
Anthony Woods 196b7846cc add support for robots.txt file 2015-06-15 19:02:38 -04:00
Torkel Ödegaard 9b12350855 Added support for templated email subjects 2015-06-14 06:07:36 +02:00
Torkel Ödegaard fd319bd5f5 Moved requirejs to bower, #677 2015-06-13 23:01:54 +02:00
Torkel Ödegaard 6f982b2791 Moved angular-bindonce to bower 2015-06-13 22:20:39 +02:00
Torkel Ödegaard 05f934548b Moved angular-native-dragdrop to bower 2015-06-13 22:17:28 +02:00
Torkel Ödegaard f22bffe98a Upgraded angular to 1.4.0 and moved angular dependency to bower, #677 2015-06-13 21:14:08 +02:00
Torkel Ödegaard 87c65bcea0 Migrating to use bower for component dependencies 2015-06-13 20:53:08 +02:00
Torkel Ödegaard 2c88b418fd Fix import from elasticsearch limit, Fixes #1843, Fixes 2154 2015-06-13 20:20:48 +02:00
Torkel Ödegaard 4a9bc70ca0 Added new style override, transform negative-Y, Closes #2162 2015-06-13 20:01:15 +02:00
Torkel Ödegaard 48175101c6 Fixes to template variable with tags and inital state after dashboard load, #2080 2015-06-11 13:38:13 +02:00
Torkel Ödegaard e5280d55b3 Make template variables work in row titles, #1956 2015-06-11 09:35:59 +02:00
Torkel Ödegaard 5962bcbc6c Do not show create org link when allow_org_create is set to false, Fixes #2135 2015-06-11 08:16:09 +02:00
Torkel Ödegaard b39f8fb4de Do not show Switch to Org item for current organization in the org dropdown, Fixes #2136 2015-06-11 08:05:33 +02:00
Torkel Ödegaard ca67b49d67 Merge branch 'restrict-tag-keys-values' of https://github.com/lexh/grafana into lexh-restrict-tag-keys-values 2015-06-10 10:07:23 +02:00
Torkel Ödegaard 63cc794f37 Small style fix to login page 2015-06-10 08:27:38 +02:00
Torkel Ödegaard fca6c85abb Fixed clear selections icon for new variable dropdown, #2080 2015-06-09 10:30:51 +02:00
Torkel Ödegaard 604f8a22f7 Fixed state issue with variable value dropdown, #2080 2015-06-09 10:22:43 +02:00
Torkel Ödegaard f6845cd107 Variable value select fixes and refactorings 2015-06-09 10:06:36 +02:00
Torkel Ödegaard c20fa85b82 Renamed variable value select to select dropdown 2015-06-09 09:45:24 +02:00
Torkel Ödegaard db0c442eaf Added configuration options for smtp 2015-06-08 17:56:56 +02:00
Torkel Ödegaard c8bc0b3bf8 Lots of work on user password reset, #1456 2015-06-08 13:39:02 +02:00
Torkel Ödegaard aa4d60c21e Worked on reset password views, refactored out password strength to a reusable directive 2015-06-08 10:57:01 +02:00
Torkel Ödegaard e40b462040 began work on reset password view, and angular controller 2015-06-05 11:45:04 +02:00
Torkel Ödegaard 89418a155a More work on email and notification infra #1456 2015-06-05 11:08:19 +02:00
Lex Herbert 463a750c07 OpenTSDB: Restrict typeahead tag keys and values
When selecting metric tag keys, we only are interested in keys which are
associated with this metric. Likewise, when selecting a value for a
certain key, we only want to consider values which apply to the given
key and metric.
2015-06-04 17:45:09 -07:00
Masaori Koshiba 4d0c04b80d Add tag support 2015-06-04 01:23:58 +09:00
Masaori Koshiba e9a842259a Add metricFindQuery in KairosDBDatasource 2015-06-03 22:55:31 +09:00
Torkel Ödegaard c821568ac7 Merged new template dropdown 2015-06-03 14:53:52 +02:00
Torkel Ödegaard 1c38619d8c Fixed intendation 2015-06-03 14:53:52 +02:00
Torkel Ödegaard 8cfe89eaf9 Updated variable dropdown 2015-06-03 14:53:52 +02:00
Torkel Ödegaard cb63344394 Added hover tooltip for tags 2015-06-03 14:53:52 +02:00
Torkel Ödegaard 8934c83742 Small fixes for template variable groups (tags) 2015-06-03 14:53:52 +02:00
Torkel Ödegaard b0451dc1b3 More refinements of tag selection and state restoration after dashboard load 2015-06-03 14:53:52 +02:00
Torkel Ödegaard b5a846154a Trying to make progres on persisting selection state, restoring selection state for new multi variable dropdown, proving to be really complex 2015-06-03 14:53:52 +02:00
Torkel Ödegaard f48d0fcb13 More work on tags in variable dropdown, now the actual tag values query is hooked up and works, #2080 2015-06-03 14:53:52 +02:00
Torkel Ödegaard 650d3d5046 Fixed tag selection issues 2015-06-03 14:53:52 +02:00
Torkel Ödegaard 0992b6a616 Progress on template variable dropdown, lots of unit tests for selection behavior, 2015-06-03 14:53:52 +02:00
Torkel Ödegaard 53ed407448 Lots of refactoring of variable dropdown trying to clean up code and make it unit testable 2015-06-03 14:53:52 +02:00
Torkel Ödegaard d96f5598ca Breaking out logic for variable dropdown into a controller, this needs some unit tests 2015-06-03 14:53:52 +02:00
Torkel Ödegaard 137cbe5bb4 work on variable multi select 2015-06-03 14:53:52 +02:00
Torkel Ödegaard 6f783f5a3b Single variable select state highlight fixed, Closes #2073 2015-06-03 14:53:52 +02:00
Torkel Ödegaard 6ed17fe62f Removed selection state for single select variables 2015-06-03 14:53:52 +02:00
Torkel Ödegaard 7d25d6f191 progress on tag selection in variable dropdown 2015-06-03 14:53:52 +02:00
Torkel Ödegaard 0bd50c06d7 Template varaible dropdown work 2015-06-03 14:53:52 +02:00
Torkel Ödegaard 9a74105103 Trying out dark headers and footers for template dropdown 2015-06-03 14:53:52 +02:00
Torkel Ödegaard a433e0e79c More work on variable dropdown 2015-06-03 14:53:52 +02:00
Torkel Ödegaard 483ef20527 Reworking variable value dropdown, take3 2015-06-03 14:53:52 +02:00
Torkel Ödegaard 5c8b571c3f Fixed look of tag cloud in search 2015-06-02 13:44:46 +02:00
Torkel Ödegaard bfe5a56a47 Updated dashboard links editor, just changed With tag > With tags 2015-06-02 12:52:31 +02:00
Torkel Ödegaard 8cfbd2f8bf Increased width of query input field in dashlist panel editor 2015-06-02 11:05:48 +02:00
Torkel Ödegaard 50a1feb90a Dashboard list panel: Now supports search by multiple tags, Closes #2096 2015-06-02 11:04:06 +02:00
Torkel Ödegaard 6df9012141 Updated dashboard links feature to support search by my multiple tags, #1944 2015-06-02 10:35:10 +02:00
Torkel Ödegaard dc607b8e8a Dashboard search now supports filtering by multiple dashboard tags, Closes #2095 2015-06-02 10:24:20 +02:00
robert jakub 153ab4afaa new role Read Only Editor - admin (small fix for #2088) 2015-06-01 20:26:41 +02:00
Torkel Ödegaard ff3843bc7f Roles: New user role that replaces the old role behavior, Closes #2088 2015-06-01 17:01:04 +02:00
Torkel Ödegaard 86f5152092 When role is viewer and edit URL is loaded view mode will be loaded instead, Closes #2089 2015-06-01 16:49:14 +02:00
Torkel Ödegaard 85c3a0aa14 Panel menu now hides edit actions for users with role Viewer, Closes #1826 2015-06-01 16:36:15 +02:00
Torkel Ödegaard 50645cc36b Added test connection action to all data sources, Closes #1997 2015-06-01 14:16:59 +02:00
Torkel Ödegaard afede880e6 added url validation when adding data source, Fixes #2043 2015-06-01 14:02:24 +02:00
Torkel Ödegaard e2f6633d57 Began work on data source test / validation, #1997 & #2043 2015-06-01 12:15:49 +02:00
Torkel Ödegaard 57fac6b9aa Removed invalid scripted dashboard example, Closes #2063 2015-05-28 11:41:32 +02:00
Torkel Ödegaard aeb8bc8755 Share link should always have absolute time range, Closes #2060 2015-05-28 09:35:55 +02:00
Torkel Ödegaard 96bd66e811 Made the annotation tags support more cross datasource compatible 2015-05-27 14:30:23 +02:00
Torkel Ödegaard 494ede5bbf Big refactoring/rewrite for how annotation tooltips are shown, also work on #1474 2015-05-27 13:11:32 +02:00
Torkel Ödegaard e76d2ec9c2 worked on tags in search and dashboards 2015-05-27 11:16:15 +02:00
Torkel Ödegaard 7b972926ae Merge branch 'variable-tags' 2015-05-27 10:43:02 +02:00
Torkel Ödegaard 4a71a79cb8 Slight refactoring in annotationSrv 2015-05-27 10:42:52 +02:00
Torkel Ödegaard 99556057d1 Fixed bug with auto refresh option being reset when changing relative time when now delay is configured, Fixes #2042 2015-05-26 16:48:23 +02:00
Torkel Ödegaard 921d672a2c Worked on alias pattern for InfluxDB 0.9 editor, #1525 2015-05-26 11:01:28 +02:00
Torkel Ödegaard 0047ce067d SingleStatPanel: fix for color thresholds and value to text mapping combo, Fixes #2044 2015-05-25 10:24:01 +02:00
robert jakub 3dc2a114fa add pps (packet per second) format 2015-05-22 17:08:10 +02:00
David Raifaizen 2191921690 Fixed variable name for annotations 2015-05-21 14:36:35 -04:00
Torkel Ödegaard ba3f6f9d3e InfluxDB 09 fix, do not treat empty results as an error 2015-05-21 10:20:49 +02:00
Torkel Ödegaard 2202094e41 work on tags in variables 2015-05-20 18:18:03 +02:00
Torkel Ödegaard 3354365177 Api handler refactoring using the wrap and response func/type, fixed small issue in influxdb 0.9 response handling 2015-05-20 14:59:38 +02:00
Torkel Ödegaard 25c6b64fed Began working on exploring variable value groups/tags 2015-05-19 16:54:08 +02:00
Torkel Ödegaard a8aab0cb2b Worked on user administration page, a grafana server admin can now add and edit organization roles for any user, #2014 2015-05-19 11:47:14 +02:00
Torkel Ödegaard 788e7fd36d Lots of api refactoring for org routes, #2014 2015-05-19 10:16:32 +02:00
Torkel Ödegaard 74bf1f23fb Small progress on #2014 2015-05-19 09:09:21 +02:00
Torkel Ödegaard bfe6d5434e Fixed placeholder text in templating editor 2015-05-19 08:46:45 +02:00
Torkel Ödegaard f81bde5643 Refactoring some api handlers to use the new Response return object 2015-05-18 21:23:40 +02:00
Torkel Ödegaard fbc6bb2112 More refactoring of user http api, trying to reuse handlers for sign in user and admin operations 2015-05-18 19:06:19 +02:00
Torkel Ödegaard 62e8841e8c Fixed spelling of Peta unit Quadr 2015-05-18 17:54:12 +02:00
Torkel Ödegaard 5270c4bc74 refactorin api code for user routes, preparation for admin improvements, #2014 2015-05-18 17:52:23 +02:00
Torkel Ödegaard 5896903bd3 Began work on alias support and alias patterns for InfluxDB 0.9, #1525 2015-05-18 15:01:05 +02:00
Torkel Ödegaard f41c314329 Minor layout fix to templating editor, making input fields a little less wide 2015-05-18 11:47:12 +02:00
Torkel Ödegaard 84618a6076 Style and layout changes for InfluxDB 0.9 editor #1525 2015-05-18 11:40:50 +02:00
Torkel Ödegaard b61f30de94 Lots of progress on InfluxDB Query Editor, show tag keys, values and measurement dropdowns now take into account already selected tags or measurements, so you can start with tag keys and the select measurement, #1525 2015-05-18 10:49:45 +02:00
Masaori Koshiba 41a73a7adb Expand variables in KairosDB Plugin 2015-05-17 21:46:14 +09:00
Torkel Ödegaard 05d725d0b8 Slight refactoring, #1525 2015-05-16 22:37:08 +02:00
Torkel Ödegaard 7a41ecb63f Minor work on InfluxDB 0.9 query editor, #1525, hit a roadblock with the new InfluxDB query language, does not support tag and tag values discovery queries with filters, not sure if I need to move to SHOW SERIES style queries 2015-05-16 22:37:08 +02:00
Torkel Ödegaard 6fd37779b8 More work on new influxdb query editor, #1525 2015-05-16 22:37:08 +02:00
Torkel Ödegaard 5ca8d590bd Working on new query editor for influxdb 0.9, looking good! #1525 2015-05-15 15:58:07 +02:00
Torkel Ödegaard 11c8e80ea9 Working on new query editor for influxdb 0.9, #1525 2015-05-15 11:38:37 +02:00
Torkel Ödegaard a258e2e608 Added log base 2 graph y axis scale 2015-05-14 17:39:31 +02:00
Torkel Ödegaard 8c0e1060e6 Graph: Define series color using regex rule, Closes #590 2015-05-14 12:34:30 +02:00
Torkel Ödegaard 2dac975805 began work on color by regex / series override for color, #590 2015-05-13 21:34:50 +02:00
Torkel Ödegaard ea54f6923b Added graphite function changed, closes #1961 2015-05-13 16:32:33 +02:00
Torkel Ödegaard 448a8b8d1c Major refactorings around searching, moved to seperate package, trying to move stuff out of models package, extend search support searching different types of entities and different types of dashboards, #960 2015-05-13 13:36:24 +02:00
Torkel Ödegaard bb7d79e6d2 Refactoring search to support more than just db dashboards 2015-05-13 10:45:53 +02:00
Torkel Ödegaard 187834b17c Trying to get dashboard loading and dashboard meta flags like canSave, canStar more managable 2015-05-13 09:58:45 +02:00
Torkel Ödegaard 4822d02787 Things are starting to work again 2015-05-12 19:24:11 +02:00
Torkel Ödegaard 35cc0a1cc0 Rewriting anb abstracting how dashboards are loaded, unifying db, json files, and script dashboards, #960 2015-05-12 17:39:56 +02:00
Torkel Ödegaard b3be51f17f Lots of work on search and dashboard loading, trying to generalize concepts and code, #960 2015-05-12 14:11:30 +02:00
Torkel Ödegaard 48ddd7213f Removed unused keybinding, ctrl+l, Fixes #1962 2015-05-11 10:03:34 +02:00
Torkel Ödegaard 582e680b12 Singlestat: threshold checks are now done on a rounded value, rounded to same number of decimals as is shown, Fixes #1983 2015-05-11 09:57:10 +02:00
Torkel Ödegaard 5aa495d0e4 Restored some previous grafana modifications to jquery flot 2015-05-09 19:47:21 +02:00
Torkel Ödegaard 2e6c2347eb Did some jquery flot performance tuning, added text size cache that reduced render times by 25% (for single serie graphs) 2015-05-09 19:31:00 +02:00
Torkel Ödegaard b7a8551290 Merge pull request #1946 from DaveBlooman/theme_colour
Add Android 5 theme colour
2015-05-09 15:33:38 +02:00
Torkel Ödegaard 8f0269de76 Merge branch 'subsecond-influx' of https://github.com/abrander/grafana 2015-05-09 15:28:39 +02:00
Torkel Ödegaard 59a2109cab Investigating some performance optimizations, added more perf instrumentation & measurements 2015-05-09 15:26:39 +02:00
Torkel Ödegaard 2dcb98a8ed Merge branch 'master' of github.com:grafana/grafana 2015-05-08 11:03:25 +02:00
Torkel Ödegaard 0bde1bb857 Dashboard and nav links are near completion now, #1944 2015-05-08 10:56:54 +02:00
Anders Brander d685644dee Updated test to match e906a19 2015-05-07 22:48:44 +02:00
Anders Brander e906a1979c Allow kbn.secondsToHms() to return result in milliseconds. 2015-05-07 22:33:32 +02:00
Anders Brander 5eee33a11f Quote 'measurement' properly in getAltSegments() to allow for dots in measurement identifier (Influxdb 0.9). 2015-05-07 19:51:55 +02:00
Torkel Ödegaard 4b4f398e83 more work on dashboard links, this feature is taking forever, dam angular, and dam complexity 2015-05-07 19:14:13 +02:00
Torkel Ödegaard 9655014041 More polish and refinements to dashboard links 2015-05-07 13:10:04 +02:00
Torkel Ödegaard 85e65e61d3 More work on dashboards links 2015-05-07 09:35:39 +02:00
Torkel Ödegaard 15137422a6 More work on dashboards links 2015-05-06 16:40:43 +02:00
Torkel Ödegaard 1f48c07395 more work on dash links 2015-05-06 10:57:32 +02:00
Torkel Ödegaard 26c9a19392 A lot of css style polish for submenu (template var selection, and new dashlinks) 2015-05-06 09:41:30 +02:00
Torkel Ödegaard 2c3aad785d Fix in unsaved changes service 2015-05-06 07:59:47 +02:00
Torkel Ödegaard ece9e8dcea Merge branch 'master' into dashlinks 2015-05-06 07:48:45 +02:00
DaveBlooman 85c45c2b8f Add Android 5 theme colour 2015-05-05 22:42:56 +01:00
Torkel Ödegaard 8149381f01 minor refactoring and markup fix 2015-05-05 20:59:21 +02:00
Torkel Ödegaard e221cbfbd6 Merge branch 'sidemenu_default_open' of https://github.com/raintank/grafana 2015-05-05 20:34:07 +02:00
Torkel Ödegaard 0c56ae4f32 more work on, #1944 2015-05-05 20:33:06 +02:00
Torkel Ödegaard 1e196fc091 Began work on dashboard links and nav feature, #1944 2015-05-05 19:56:49 +02:00
Torkel Ödegaard d4c0d5d81b changed position for checkbox label 2015-05-05 13:37:20 +02:00
Torkel Ödegaard 12c770f0ab markup update for templating editor 2015-05-05 13:33:57 +02:00