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