Update comment for SetPointsWriter in the monitoring service
parent
6f25d97de4
commit
47942bc842
|
@ -164,8 +164,7 @@ type RemoteWriterConfig struct {
|
||||||
ClusterID uint64
|
ClusterID uint64
|
||||||
}
|
}
|
||||||
|
|
||||||
// SetPointsWriter can be used to set a remote location for writing monitoring
|
// SetPointsWriter can be used to set a writer for the monitoring points.
|
||||||
// information. This will use the default interval and database.
|
|
||||||
func (m *Monitor) SetPointsWriter(pw PointsWriter) error {
|
func (m *Monitor) SetPointsWriter(pw PointsWriter) error {
|
||||||
m.mu.Lock()
|
m.mu.Lock()
|
||||||
if !m.storeEnabled {
|
if !m.storeEnabled {
|
||||||
|
|
Loading…
Reference in New Issue