Joe Cohen
66ccb2a56f
test metric points by latests
2018-07-02 19:22:01 -05:00
James Brooks
085552607a
Move calculated_value presenter method into MetricPoint getter
2018-07-02 18:05:21 +01:00
James Brooks
c006b7d6ef
Remove unused activeValue getter
2018-07-02 17:41:46 +01:00
James Brooks
3e5dc6a3f9
Fix MetricPoint changes
2018-06-28 12:01:22 +01:00
James Brooks
3e3763722b
Apply fixes from StyleCI ( #3139 )
...
[ci skip] [skip ci]
2018-06-27 14:40:19 +01:00
James Brooks
1ac884805d
Fix tests
2018-06-27 14:39:49 +01:00
James Brooks
55002bb4b4
Group metric points into intervals of 30 seconds
2018-06-27 14:28:38 +01:00
Mike Willbanks
4e2c6bce0d
Metrics: Calculation set to average always sums
...
This commit is two part:
1. getActiveValueAttribute should always return the active attribute
without providing an average since the active is the current value.
2. The query to create the average was incorrect and was taking the
count value * the value which we are really looking for the average of
the value.
2016-12-07 15:59:01 -06:00
James Brooks
ebf3c8656f
Fix model validations
2016-10-19 12:29:22 +01:00
James Brooks
a947cffcb8
Standardizing things
2016-08-10 10:46:45 +01:00
James Brooks
f9bc46b460
Refactored the way we store metrics
2016-04-25 20:42:00 +01:00
James Brooks
45c6c37c65
Laravel auto casts the id column to int for us
2016-01-07 14:47:39 +00:00
James Brooks
a77efc12e0
Added casts properties to all models, re-ordered model properties. Fixes #916
2015-08-24 21:08:59 +01:00
Graham Campbell
fcbbfdd84e
Refactor validator stuff and fix variable names in views
2015-08-03 22:32:51 +01:00
Graham Campbell
0a321bffd8
Updated copyright information
2015-07-06 17:37:01 +01:00
James Brooks
259ec3d3bb
Use the ::class syntax
2015-06-16 09:46:29 +01:00
James Brooks
26ff4dc85a
Remove class annotations
2015-06-16 08:27:31 +01:00
James Brooks
5c6bcae02d
Closes #519 - Allow supplying of timestamps to metric points.
2015-06-15 12:59:33 +01:00
Graham Campbell
3988753b99
Updated copyright headers
2015-05-25 17:59:08 +01:00
Graham Campbell
b06167f5e9
Updated joe's email address
2015-05-25 17:53:06 +01:00
Graham Campbell
91e4dafca9
Updated my email address
2015-05-23 14:48:33 +01:00
Joseph Cohen
33f6bf167c
Make presenters work with the api
2015-05-20 14:19:01 -05:00
James Brooks
0928251673
Add Joseph Cohem and Graham Campbell to the copyright headers.
2015-05-19 10:45:38 +01:00
James Brooks
80e3d9167d
Closes #568 , adds copyright information.
2015-04-19 08:52:39 +01:00
Joseph Cohen
b4ac66d727
Cachet is now a Laravel 5 app
2015-03-20 18:30:45 -06:00