Jason Wilder
0926b19e6b
Prevent creating points with NaN float values
...
Float values are not supported in the existing engine and the tsm1
engines. This changes NewPoint to return an error if a field value
contains a NaN field. It also allows us to validate fields to prevent
other unsupported types from sneaking in through other input plugins.
2015-10-27 17:12:52 -06:00
Mark Bates
3cfe4e8da5
Added JSON tags to the Statistic struct
2015-10-20 11:40:42 -04:00
Philip O'Toole
90cc2cdce2
Export Statistic type
2015-10-19 14:06:14 -07:00
Charles Chan
456a9a8ab7
Fix typos.
...
* meaining --> meaning
* communcation --> communication
* deterimine --> determine
* mistmatch --> mistmatch
2015-10-17 07:50:45 -07:00
Jason Wilder
53cc8aaa31
Store monitor statistics with seconds precision
...
influx_inspect uncovered that the monitoring database was storing it's data with almost
no compression because it recorded points at nanosecond precision but spaced them 10s apart. This
still requires 8 bytes.
Instead, store the points at seconds precision which allows the timestamp data to be run-length
encoded.
2015-10-09 22:35:43 -06:00
Philip O'Toole
dba286a2e8
Update CHANGELOG
2015-10-05 15:53:46 -07:00
Philip O'Toole
899e1cc070
Only attempt monitor storage creation on leader
...
Since only the leader can create it, the system might as well only
attempt creation on the leader.
2015-10-05 15:46:35 -07:00
Philip O'Toole
62fab49205
Create monitor storage every monitor cycle
...
This functionality is idempotent and is storage has been successfully
created, no attempt will be made to re-create it. This allows the system
to keep trying every cycle, but stop when successful.
2015-10-05 15:35:21 -07:00
Philip O'Toole
721e3fd5e1
Notes for developers on adding diags
...
[ci skip]
2015-10-04 15:58:39 -07:00
Philip O'Toole
3540619f6c
More stats development notes
...
[ci skip]
2015-10-04 15:56:53 -07:00
Philip O'Toole
70c59431ec
Notes for developers on adding stats
...
[ci skip]
2015-10-04 15:55:58 -07:00
Philip O'Toole
2db82ee584
Merge pull request #4222 from influxdb/graphite_tcp_blocking
...
Graphite TCP should not block system shutdown
2015-09-28 12:11:04 -07:00
Philip O'Toole
7cb8c2d2ec
Add build timestamp to version data
2015-09-24 23:40:53 -07:00
Philip O'Toole
99989df2b5
Always display diags in name-sorted order
2015-09-24 19:00:05 -07:00
Philip O'Toole
9de3125f6b
Graphite TCP should not block system shutdown
...
With this change Graphite TCP connections are tracked on a per-service
basis. This allows a closing Graphite service to first shutdown any
active connections, thereby unblocking the rest of shutdowm.
This work exposed small shortcomings with the existing Diagnostics
system and that code has alse been tweaked.
Fixes issue #4017
2015-09-24 14:08:38 -07:00
Philip O'Toole
a71a5ffd36
Support module-selection for SHOW DIAGNOSTICS
2015-09-22 21:56:46 -07:00
Philip O'Toole
35d09cedfd
Support SHOW STATS for specific module
2015-09-22 16:36:13 -07:00
Philip O'Toole
07bcd523f3
Tag Go memstats during writes to _internal
2015-09-18 14:16:39 -07:00
Cory LaNou
ba830be3b9
actually move influxql.Row* -> models.Row*
2015-09-16 16:32:50 -05:00
Cory LaNou
d19a510ad2
refactor Points and Rows to dedicated packages
2015-09-16 15:33:08 -05:00
Philip O'Toole
9fd95b80a2
Create and configure _internal retention policy
2015-09-15 14:05:00 -07:00
Philip O'Toole
ca4e5a4b9a
Fix typo in monitor README
...
[ci skip]
2015-09-14 12:39:38 -07:00
Philip O'Toole
8c3ab9c687
Update README.md
2015-09-14 12:38:49 -07:00
Philip O'Toole
c378cbd37c
Updates to stats and diags README
2015-09-14 12:34:46 -07:00
Philip O'Toole
106fe688c2
Fix compile error in monitor unit tests
2015-09-10 17:28:44 -07:00
Philip O'Toole
3cb29d9241
By default write stats to default retention policy
...
This reverts to a previous design for storing stats, whereby if a
non-default retention policy is configured as the destination retention
policy, it is up the user to explicitly create it, with the desired
replication factor and duration.
2015-09-10 15:08:09 -07:00
Philip O'Toole
0ea0a3a71b
Add build info to diagnostics
2015-09-09 12:43:51 -07:00
Philip O'Toole
70607836e1
Set default monitor store interval to 10 seconds
2015-09-08 20:37:15 -07:00
Philip O'Toole
4934a59fd1
Merge pull request #4009 from influxdb/cluster_level_stats
...
Add cluster-level tags to all stats when stored
2015-09-08 12:33:57 -07:00
Philip O'Toole
214cfea53c
Monitor retention policy is configurable
2015-09-04 22:53:04 -07:00
Philip O'Toole
03315bc9dd
Add cluster-level tags to all stats when stored
...
This allows stats for all nodes in a given cluster, for example, to be
easily queried.
2015-09-04 18:36:14 -07:00
Philip O'Toole
cfd0acdbc5
Merge pull request #4008 from influxdb/runtime_stats
...
Add Go memstats to statistics
2015-09-04 16:36:19 -07:00
Philip O'Toole
23df8663c3
Convert expvar values to the correct type int64
...
expvar only allows int increments and decrements, so use int64 when
converting.
2015-09-04 14:41:13 -07:00
Philip O'Toole
f96ec228a4
Add Go memstats to statistics
2015-09-04 13:20:58 -07:00
Philip O'Toole
89bc392ec4
Access expvar directly from monitor
...
expvar map is already global so access it directly. This simplifies the
code and makes it much eaisier to use from other modules.
2015-09-04 09:45:24 -07:00
Philip O'Toole
6ad35e23e9
Integrate code review feedback
2015-09-03 20:50:54 -07:00
Philip O'Toole
e07432c59f
Implement diagnostics support
...
This change adds support for diagnostics by decomposing the existing
interface into two interfaces -- one for stats, and the other for
diags. It also adds some basic monitor of system, network, and the Go
runtime.
2015-09-03 20:50:54 -07:00
Philip O'Toole
c0d61740a4
Ensure monitor database exists
...
This requires a leader in the cluster, so wait for that before
attempting the database creation.
2015-09-02 16:26:16 -07:00
Philip O'Toole
018b214d56
Initialize monitor done channel
2015-09-02 15:56:37 -07:00
Philip O'Toole
3a6cfcc528
Remove support for storing in external InfluxDB
...
Using telegraf will the official story for monitoring an InfluxDB system
and storing the results in a second InfluxDB system.
2015-09-02 15:55:59 -07:00
Philip O'Toole
d700dcaa6d
Correct monitor unit tests
2015-09-02 15:50:09 -07:00
Philip O'Toole
d820fa7649
Add PointsWriter to monitor
...
This will allow the monitor to persistently store statistics
2015-09-02 15:45:11 -07:00
Philip O'Toole
9165a0cf4c
Create statement_executor for monitor
2015-09-02 15:44:56 -07:00
Philip O'Toole
4e2ee1ea70
Rename MonitorService to just Monitor
...
monitor is not a service, it has more in common with meta, since it
provides functionality to the query layer. This names makes this
clearer.
2015-09-02 15:07:30 -07:00
Philip O'Toole
e5ea01d48f
Unit test registered stats output
2015-09-01 21:35:20 -07:00
Philip O'Toole
df864b2ec7
Set tags correctly for SHOW STATS
2015-09-01 21:31:38 -07:00
Philip O'Toole
8efb3fb7d8
Use Measurement name, not a column "name"
...
This results in proper Measurement output.
2015-09-01 20:08:21 -07:00
Philip O'Toole
366c0115f9
Serve expvar information from HTTP package
2015-09-01 15:22:37 -07:00
Philip O'Toole
26147b2f5f
Don't include empty statistical data in results
2015-09-01 15:21:40 -07:00
Philip O'Toole
f05dc20b58
Hook new monitor service to server
...
u
2015-09-01 15:03:52 -07:00