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
Philip O'Toole
294b685e41
Add new monitor service
2015-09-01 15:03:52 -07:00
Philip O'Toole
18d15c3f6a
Add initial monitor README
2015-09-01 15:03:49 -07:00