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
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
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
07bcd523f3
Tag Go memstats during writes to _internal
2015-09-18 14:16:39 -07: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
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
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
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
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
Philip O'Toole
294b685e41
Add new monitor service
2015-09-01 15:03:52 -07:00