Torkel Ödegaard
26577ab600
Merge branch 'master' into graphite-series-by-tags
2017-11-16 16:20:44 +01:00
Bruno Binet
014f6d5a75
More energy units ( #9743 )
...
* Add mA, mV, mW energy units
* Update case to be consistent with other energy units
2017-11-15 14:23:42 +01:00
Ryan McKinley
41be15ee4e
Add feet to the length menu ( #9889 )
2017-11-15 14:06:17 +01:00
Torkel Ödegaard
b5b93a68fc
Merge branch 'master' into graphite-series-by-tags
2017-11-15 11:12:11 +01:00
Ryan McKinley
a1c1704d1f
Adding energy, area, and acceleration units ( #9336 )
...
* Adding more units
* move changes to kbn.ts
* remove accidental commits
2017-10-31 14:57:57 +01:00
Patrick O'Carroll
aa3fc9f45f
converted outline.js to outline.ts ( #9658 )
2017-10-25 12:32:33 +02:00
Torkel Ödegaard
4aa227dd84
[Tech]: Start migrating to Jest for tests ( #9610 )
...
* tech: investigating karma + jest mix
* tech: migrating tests to jest
* tech: moved anoter test file to jest
* test: migrated two more test files to jest
* test: updated readme and made test fail to verify that it causes CI build failure
* tech: added code coverage for jest tests
* tech: testing codecov coverage
* tech: migrated more tests
* tech: migrated template srv to typescript and the tests to jest
* tech: minor build fix
* tech: build fixes
* build: another attempt at fixing go test with coverage
2017-10-22 07:03:26 +02:00
Alexander Zobnin
6114f63d7c
graphite: auto detect version
2017-10-20 16:26:00 +03:00
Alexander Zobnin
89aea278a9
graphite: improved version comparison
2017-10-20 15:50:44 +03:00
Torkel Ödegaard
574afe8568
fix: fixed color pickers that were broken in minified builds, fixes #9549
2017-10-17 10:51:42 +02:00
Daniel Lee
f3ec139eab
csv: fix import for saveAs shim
...
After switch from systemjs to webpack, needed to import the
file-saver saveAs shim for it work. Fixes #9525
2017-10-16 13:20:37 +02:00
Alexander Zobnin
a174ad4c9a
Unified Color picker fixes ( #9466 )
...
* colorpicker: fix opening error when color is undefined
* colorpicker: replace spectrum picker by new color picker
* colorpicker: remove old spectrum picker directive
* annotations: use tinycolor for working with region colors
2017-10-09 13:54:14 +02:00
Torkel Ödegaard
3519d8d69b
annotations: minor change to default/edit annotation color
2017-10-07 12:23:20 +02:00
Jon Skarpeteig
789473fd34
Lint fix
2017-10-05 13:46:42 +02:00
Jon Skarpeteig
7479c82687
Update kbn.js
...
Adding the other kr currencies not to offend any maintainers
2017-10-05 13:44:23 +02:00
Jon Skarpeteig
531586beba
Add Norwegian Krone denominator for currency
...
See http://www.xe.com/symbols.php for currency symbols reference
2017-10-05 13:34:07 +02:00
Mengyang Li
675e5ae17f
Update kbn.js
2017-10-04 17:37:19 -07:00
Mengyang Li
66c998e6e6
Update kbn.js
2017-10-04 14:37:05 -07:00
Alexander Zobnin
2aae2556a5
Unified colorpicker ( #9347 )
...
* colorpicker: initial picker with predefined palette and spectrum
* colorpicker: highlight selected color
* colorpicker: add onChange() callback
* colorpicker: replace singlestat picker by new one
* colorpicker: style tweak
* colorpicker: parse color on input blur
* colorpicker: sort palette by hue and lightness
* colorpicker: refactor, move colors sorting to 'app/core/utils/colors'
* tech: colorpicker - fix linter errors
* colorpicker: convert to React components
* colorpicker: fix spectrum import after moving to webpack
* colorpicker: minor refactor
* colorpicker: initial series color picker
* colorpicker: fix tests error
2017-10-04 07:15:23 +02:00
Dan Cech
7859d4ffca
fix missing column headers in excel export ( #9413 )
2017-10-04 07:04:10 +02:00
Torkel Ödegaard
a1b543aa35
shore: cleanup unused stuff in common.d.ts
2017-10-03 18:27:25 +02:00
Torkel Ödegaard
42a0e9ebdf
Merge branch 'day_rounding' of https://github.com/ctide/grafana into ctide-day_rounding2
2017-10-02 16:20:23 +02:00
Yago Nobre
9c026a8e04
add brazil currency
2017-09-28 14:18:14 -03:00
Mengyang Li
a1283212ed
Use B/s instead Bps for Bytes per second
...
Most places are using bps and B/s for bits and bytes,
ref: https://en.wikipedia.org/wiki/Data_rate_units
Bps (Bytes per second) isn't a really common used unit the in the wild.
2017-09-23 21:05:43 -07:00
Torkel Ödegaard
b8d9722b4f
tech: removing unused variables from typescript files, and making tslint rules more strict
2017-09-21 16:40:18 +02:00
Torkel Ödegaard
1887c4f279
singlestat: minor change
2017-09-21 13:59:21 +02:00
Patrick O'Carroll
de17dcf3b0
Singlestat time ( #9298 )
...
* Added a timestamp option to single stat
* can now choose last time as value
* Finished last_time so it formats correctly, updated value stat
* fixed som issues, but still issue with testing
* Clean up after fake clock in test
* timezone-issue fix, fake time for from now test
* fix for timedifference
2017-09-21 13:34:51 +02:00
Andrew Prokhorenkov
00b18a8aea
addded mass units, #9265 ( #9273 )
2017-09-18 11:13:56 +02:00
Andrew Prokhorenkov
8cdf12b694
add locale format
2017-09-15 17:26:18 +02:00
Andrew Prokhorenkov
5b74bea476
add Ukrainian hryvnia sign
2017-09-14 19:06:25 +02:00
Alin Sinpalean
1076b75a21
Fix rounding of intervals ( #9197 )
...
* Prometheus: Fix actual step computation logic when a min_step is specified and the range is longer than min_step * 11000.
* Fix kbn.round_interval for exact intervals.
* Remove redundant 1d return, fix a couple of comments.
* Be more cautious with values close to 1d not rounding up to 1d. They may, because of the way the calculation uses 2 potentially different current time values.
2017-09-08 10:37:57 +02:00
Torkel Ödegaard
07e192ff47
change: more work on changing default group by time interval to min interval setting
2017-09-01 15:57:02 +02:00
Torkel Ödegaard
eb0f5cc900
ux: progress on metrics tab changes
2017-08-31 16:38:49 +02:00
Daniel Lee
e763104a6f
csv: add toggle for export to Excel
...
Adds back feature that adds 'sep=;' text that excel needs in a csv file.
Also adds toggle to make this optional if exporting to other spreadsheet
programs. Fixes #9083 .
2017-08-23 15:17:53 +02:00
Chris Burkhart
3e0b92d6fe
Enable datasources to be able to round off to a UTC day properly
2017-08-08 09:34:41 -07:00
Alexander Zobnin
12644372c4
heatmap: fix scaledDecimals calculation (use the same method as in flot.js)
2017-06-27 22:24:27 +02:00
Alexander Zobnin
7c840cdf38
heatmap: fix tooltip decimals
2017-06-27 22:24:27 +02:00
Salman Jalali
49fdbb3843
Update kbn.js
2017-06-17 06:08:10 +02:00
Daniel Lee
c17d02e496
csv: remove sep metadata as only works for excel
2017-05-26 15:43:09 +02:00
Cédric Reginster
f484b4c347
Make csv export date time format configurable
...
- Move export csv options to modal dialog
2017-05-26 15:43:09 +02:00
Daniel Lee
540ee35393
timerange: new quick ranges, month and year so far
...
The new time ranges can also be used for time range overrides in the
override relative time field. E.g. now/M or now/y.
2017-05-17 13:52:39 +02:00
Dan Cech
29653d2bec
refactor and add column alias tests
2017-05-05 12:40:49 -04:00
Torkel Ödegaard
f1276774a0
typescript: updated tslint and fixed new warnings
2017-04-20 11:16:37 +02:00
Alexander Zobnin
7e14797b10
graph: initial histogram support #600 ( #8053 )
...
* graph: initial histogram support #600
* graph histogram mode: add Bars number option
* graph histogram mode: fix X axis ticks calculation
* graph histogram mode: change bar style (align and width)
* refactor(graph): move histogram functions into separate module
* graph histogram mode: rename series to "count"
* graph histogram mode: fix errors if no data
* refactor(graph and heatmap): move shared code into app/core
* graph: add tests for histogram mode
2017-04-07 10:07:30 +02:00
Matt
578ba9bbd5
Added scientific notation as a unit for #7763 ( #7781 )
2017-03-22 10:49:31 +01:00
Jan Rückert
8637207b55
Change 60-day date range back to 90 days ( #7803 )
2017-03-11 16:17:35 +01:00
Mitja Zivkovic
7ace2463a4
added cubic decimetre - dm3 #7695
2017-03-03 14:27:15 +01:00
ryan
7867a24d87
Adding more physics units
2017-02-13 23:30:15 -08:00
Kit Westneat
cddc9ac0a7
file_export.ts: #5325 missed exportTableDataToCsv when adding sep ( #7391 )
2017-01-28 08:29:57 +01:00
Teemu Huhtala
03eb98e94d
Added commonly used kilo-prefixed energy units
...
Kilovolt-ampere reactive (kvar)
Kilovolt (kV)
Kiloampere (kA)
2017-01-23 10:20:11 +02:00
Torkel Ödegaard
45d2e70ba7
feat(dashboard): sorting dashboard model kekeys, refactoring PR #7139
2017-01-06 10:09:11 +01:00
Dan Cech
df1e90c723
export sorted dashboard json
2017-01-04 18:13:33 -05:00
Torkel Ödegaard
9dc42648cf
fix(templating): fixed issue with experimental feature template variable value groups tags, fixes #6752
2017-01-02 13:32:20 +01:00
Timon
1ab66ac5d7
add Russian ruble sign
2016-12-21 12:59:09 +03:00
Torkel Ödegaard
3bb9d47a45
minor change to #6904
2016-12-12 11:38:10 +01:00
Torkel Ödegaard
815722c3cc
Merge branch 'upgrade_typescript' of https://github.com/Nepomuceno/grafana into Nepomuceno-upgrade_typescript
2016-12-12 10:53:19 +01:00
Gabriel Nepomuceno
f3ebd2d849
upgrading bases and correcting identation missing tslint
2016-12-09 14:57:25 +00:00
Axel
2adbe3e13e
Prettify duration value format ( #6875 )
...
* Prettify duration unit format
Format duration like "2 days, 19 hours, 48 minutes" and make Decimals useful e.g.
0 decimals: 2 days
2 decimals: 2 days, 19 hours, 48 minutes
3 decimals: 2 days, 19 hours, 48 minutes, 27 seconds
Previous code did some rounding that is now gone so numbers might be
different.
* Rewrite kbn.toDuration without moment.js
Because https://github.com/moment/moment/issues/3653
* Add tests for kbn.toDuration
2016-12-09 15:55:25 +01:00
Torkel Ödegaard
aea3093d85
change(Timepicker): removed last 90 days to make room for Last 2 days, #6758
2016-12-05 11:52:00 +01:00
Jaime Soriano Pastor
f2d5829944
Add 'Last 2 days' option to quick ranges ( #6758 )
2016-12-05 11:51:02 +01:00
Torkel Ödegaard
e7a30ac464
fix(units): fixed issue with data rate bit units, fixes #6602
2016-11-16 16:29:10 +01:00
Torkel Ödegaard
4d420a0c33
refactor(): dashboard row model and hunting down memory leak
2016-10-30 15:14:18 +01:00
Mitsuhiro Tanda
a8dd44918b
support future time range
2016-10-18 19:39:04 +09:00
Torkel Ödegaard
34f15d92d0
feat(testdata): worked on testdata app
2016-09-27 14:39:51 +02:00
Torkel Ödegaard
23246605b0
feat(graph panel): working on adding non time series support to graph panel
2016-09-22 16:05:20 +02:00
Torkel Ödegaard
5ce3e40cc9
feat(templating): more work on new variable handling code, #6048
2016-09-17 15:27:53 +02:00
Torkel Ödegaard
46ebae7304
feat(templating): progress on template system rewrite #6048
2016-09-16 16:50:30 +02:00
Torkel Ödegaard
83b9db51e3
feat(templating): great progress on adhoc filters, #6038
2016-09-14 17:36:28 +02:00
Torkel Ödegaard
0fa0066cd9
tech(lodash): began migration work
2016-09-13 22:10:44 +02:00
Thib17
732c84c230
Enable scaling down seconds unit s > ms > µs > ns ( #5642 )
2016-07-27 10:10:01 +02:00
bmundt
e58ccc5a83
Hex units ( #5530 )
...
* added hex units
* deleted blank line, to fix style error
* added unit tests
* updated unit tests and changed the way it handles negative hex0x
2016-07-07 08:54:51 +02:00
herver
9c73b2fa1c
Support data units for both IEC (Binary) and Metric (Decimal) variants ( #5473 )
2016-07-06 05:27:35 +02:00
bergquist
241b9ee329
fix(kbn): add calculator for opn,rpm and wpm
2016-06-25 20:42:24 +02:00
bergquist
4cbde7e747
Merge branch 'master' of https://github.com/f1yegor/grafana into f1yegor-master
2016-06-25 20:38:43 +02:00
Torkel Ödegaard
24a54cd95b
feat(units): refactoring #5404
2016-06-21 21:08:07 +02:00
Alexander Zobnin
ab0155c861
Issue #2971 - add time units for use in singlestat panel.
2016-06-21 20:56:34 +03:00
Carl Bergquist
b6f9d9feb0
Revert "issue #4747 - add date and time units to singlestat panel."
2016-06-20 11:02:29 +02:00
Alexander Zobnin
398e9f5195
issue #4747 - add date and time units to singlestat panel.
2016-06-17 22:51:08 +03:00
Joel Smith
46fe9a167e
Update file_export.ts ( #5325 )
...
Prepended first line to export file containing
`sep=;\n`
which I believe should be all that is required for Excel to interpret the CSV file as semicolon delimited.
2016-06-16 14:27:00 +02:00
f1
d002cab28f
add reads/min and etc to unitFormats
2016-06-05 00:57:04 +02:00
hc4
cf87e8ecf5
Fix parsing of intervals. defined in ms ( #5151 )
...
* Fix parsing of intervals. defined in ms
Fix parsing of intervals. defined in ms.
Increase accuracy for sub-second inrevals.
Closes #5008
* Tests for sub-ms intervals
Unit test for 2034d4b971
2016-05-27 17:26:20 +02:00
Torkel Ödegaard
1bb4ca22e7
fix(test): fixed failing unsaved changes test
2016-05-19 07:58:44 +02:00
hijklmno
f1b5a265ab
fix trailing whitespace in kbn.js
2016-05-16 15:35:42 -07:00
hijklmno
451e917e7d
Add dBm as an option in energy units
2016-05-16 15:24:31 -07:00
Torkel Ödegaard
34cb17546d
fix(): minor fix for event emitter
2016-04-26 12:39:24 +02:00
Torkel Ödegaard
4d63b576f7
tech(): put in a real event emitter instead of rxjs based on that was broken
2016-04-07 19:47:48 -04:00
Torkel Ödegaard
319b934967
fix(): fixed failing test
2016-03-25 15:52:28 +01:00
Torkel Ödegaard
61017fc204
feat(plugins): import all dashboards feature
2016-03-25 15:35:58 +01:00
Torkel Ödegaard
32a1d1445c
refactor(): trying to move app events away from rootScope
2016-03-23 17:39:10 +01:00
Torkel Ödegaard
b3c073ab6c
feat(panels): more panel refactoring, using events instead of overriding base class methods
2016-03-23 12:50:56 +01:00
Torkel Ödegaard
8dee54bf5d
feat(live): progress on panel <-> data source communication patterns
2016-03-22 18:21:21 +01:00
Vitor Boschi
a9cdf580a7
fix typo
2016-03-16 09:06:44 -03:00
bergquist
d8929b1d3e
Merge branch 'master' of https://github.com/plopp/grafana into plopp-master
2016-02-29 14:58:38 +01:00
Torkel Ödegaard
517721eaa4
Merge pull request #4108 from benrubson/issue3982-3
...
Make auto interval calculation more accurate
2016-02-28 07:58:48 +01:00
benrubson
69b87fdb9a
make auto interval calculation more accurate
2016-02-22 08:55:52 +01:00
marknmel
2c0b191ef5
Updated typos - Kilobits, Megabits and Gigabits
...
Update typos - Kilobits, Megabits and Gigabits - not Kilobites, Megabites, or Gigabites
2016-02-19 10:24:49 -05:00
marknmel
02ac7a4001
Update kbn.js
...
data rate for Mbits has typo - should be megabits/sec - not megabites/sec
2016-02-19 10:05:01 -05:00
Marcus Kempe
14312d225c
Added exporting graph data to CSV with series.alias in columns.
2016-02-15 22:49:25 +01:00
Axel Voitier
e00f9611f4
Adding units volt-ampere (VA), kilovolt-ampere (kVA) and volt-ampere reactive (var).
2016-02-13 19:23:30 +01:00
Torkel Ödegaard
dfe0e258cd
feat(text and css): html partials and css can be loaded via systemjs
2016-02-10 11:54:17 +01:00
bergquist
08f02397b6
fix(fileexport): tslint fix
2016-01-21 14:31:20 +01:00
bergquist
d3f90dcfcc
style(fileexport): remove commented code
2016-01-21 14:26:31 +01:00
bergquist
ba65b89bbb
feat(csv export): extract csv export into a new file
2016-01-21 14:22:39 +01:00
matteo brancaleoni
cdcc7a7172
add export to csv in table panel
2016-01-21 10:02:23 +01:00
bergquist
899a44a735
feat(units): add more data rate options
2016-01-18 10:02:46 +01:00
bergquist
6a95963c89
Revert "feat(units): add more data rate units"
...
This reverts commit a35bf497be
.
2016-01-18 09:47:01 +01:00
bergquist
a35bf497be
feat(units): add more data rate units
...
closes #3759
2016-01-18 09:26:24 +01:00
Torkel Ödegaard
59c928acc2
feat(tslint): added more tslint rules
2016-01-13 21:07:57 +01:00
Torkel Ödegaard
f074c1eaff
refactor(lodash): changed how lodash is referenced from typescript
2015-12-22 13:59:11 +01:00
Torkel Ödegaard
dabd680d6b
tech(systemjs): merged sync with master, all tests are passing
2015-12-21 16:13:24 +01:00
Torkel Ödegaard
545c39356a
tech(systemjs): starting work on systemjs bundling
2015-12-17 19:18:30 +01:00
Torkel Ödegaard
df1e52e394
tech(systemjs): more stuff is starting to work
2015-12-17 16:30:53 +01:00
Torkel Ödegaard
c24935b519
minor progress
2015-12-16 17:01:34 +01:00
Carl Bergquist
8ee0e5d11f
Merge pull request #3307 from dennisdegreef/addCubicMeters
...
Add cubic meters to units
2015-12-16 16:04:20 +01:00
Torkel Ödegaard
ca84ef38f8
angular2 test
2015-12-16 12:21:13 +01:00
Torkel Ödegaard
6ea00a4f7c
fix(timpicker): another name change to make quick ranges nameing more consistent, fixes #3465
2015-12-10 13:01:41 +01:00
Torkel Ödegaard
64138bd424
fix(timepicker): changed name of Day so far -> Today so far, Week to date > Week so far, closes #3465
2015-12-09 10:35:39 +01:00
Torkel Ödegaard
0f867a3484
Merge pull request #3230 from utkarshcmu/time-units
...
Added currency units, time units, tests
2015-11-30 17:29:51 +01:00
Torkel Ödegaard
24b9bc1e55
fix(missing files): added missing files, oops
2015-11-23 18:20:12 +01:00
Dennis de Greef
9c64da4323
Add cubic meters to units
2015-11-21 21:04:08 +01:00
utkarshcmu
7f9c8a1935
Added hours, days units and tests for all
2015-11-12 23:56:24 -08:00
utkarshcmu
3c54d14460
Added UI for time units, minute scalability
2015-11-12 20:26:59 -08:00
utkarshcmu
c5b39a5100
Added currency units
2015-11-12 09:56:46 -08:00
Torkel Ödegaard
5bc194e1f0
Merge branch 'master' of github.com:grafana/grafana
2015-11-12 13:47:25 +01:00
Torkel Ödegaard
3cdb3f0d54
Merge pull request #3196 from utkarshcmu/custom-time
...
Timepicker display fixed for now-*
2015-11-11 11:28:55 +01:00
utkarshcmu
509c3dc715
Fixed time range when using NOW from and to
2015-11-11 01:34:24 -08:00
Torkel Ödegaard
a66825c71f
Merge branch 'master' into develop
2015-11-10 15:26:02 +01:00
utkarshcmu
167c02d773
Timepicker display fixed for now-*
2015-11-10 04:53:42 -08:00
utkarshcmu
0c50a7437b
missed an S at the end
2015-11-10 02:29:02 -08:00
utkarshcmu
5339ec66b7
added now-3h option
2015-11-10 02:22:15 -08:00
Torkel Ödegaard
60c7bfe9a7
feat(tablepanel): work on table panel options
2015-11-04 22:44:08 +01:00
Torkel Ödegaard
6cf46b1635
refactoring: more moving stuff around
2015-10-30 14:44:40 +01:00
Torkel Ödegaard
7dc923a292
fix(timepicker): fixed displaying of customk time ranges, #2861
2015-10-01 16:36:38 +02:00
Torkel Ödegaard
2f68687de9
feat(timepicker2): temporarily removed the the option to define custom quick range, will have to be part of future issue, closes #2761
2015-09-19 12:20:24 +02:00
Torkel Ödegaard
96b0e70ddd
feat(timepickerv2): fixed lots of minor issues and updated kairosdb and opentsdb data sources to work with the new date formats
2015-09-18 15:06:08 +02:00
Torkel Ödegaard
f5e6722826
feat(timepickerv2): more work on new timepicker, now absolute time mixed with relative time works, yesterday, this day last week, etc now work
2015-09-18 13:54:31 +02:00
Torkel Ödegaard
f93215f4ec
feat(timepicker2): more progress
2015-09-18 10:36:47 +02:00
Torkel Ödegaard
5eefa36111
feat(timepickerv2): big progress on new design of new timepicker, #2761
2015-09-17 22:44:59 +02:00
Torkel Ödegaard
a30f73fe36
feat(timepicker): more work on getting new time formats to work in all data sources
2015-09-17 12:40:04 +02:00
Torkel Ödegaard
1a9c52e17f
feat(timepicker): lots of big changes, moving to datemath from kbn.parseDateMath, moving to moment dates instead of native javascript dates
2015-09-17 11:21:38 +02:00
Torkel Ödegaard
a9812167d7
feat(timepicker2): worked on more rich time range support
2015-09-17 09:44:51 +02:00
Torkel Ödegaard
a0a98cb035
feat(timepicker2): working on richer timepicker options
2015-09-16 19:49:05 +02:00
Torkel Ödegaard
d705108be5
feat(timepicker2): added date math tests
2015-09-16 18:48:41 +02:00
Torkel Ödegaard
4ffa26cf2c
feat() started work on more feature rich time picker
2015-09-15 13:23:36 +02:00