Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MetricSet ¶
type MetricSet struct { mb.BaseMetricSet // contains filtered or unexported fields }
MetricSet type defines all fields of the MetricSet
func (*MetricSet) Fetch ¶
func (m *MetricSet) Fetch(reporter mb.ReporterV2) error
Fetch methods implements the data gathering and data conversion to the right format. It publishes the event which is then forwarded to the output. In case of an error set the Error field of mb.Event or simply call report.Error().
type Node ¶
type Node struct { SystemStats NodeSystemStats `json:"systemStats"` InterestingStats NodeInterestingStats `json:"interestingStats"` Uptime string `json:"uptime"` MemoryTotal int64 `json:"memoryTotal"` MemoryFree int64 `json:"memoryFree"` McdMemoryReserved int64 `json:"mcdMemoryReserved"` McdMemoryAllocated int64 `json:"mcdMemoryAllocated"` ClusterMembership string `json:"clusterMembership"` RecoveryType string `json:"recoveryType"` Status string `json:"status"` ThisNode bool `json:"thisNode"` Hostname string `json:"hostname"` ClusterCompatibility int64 `json:"clusterCompatibility"` Version string `json:"version"` Os string `json:"os"` }
type NodeInterestingStats ¶
type NodeInterestingStats struct { CmdGet int64 `json:"cmd_get"` CouchDocsActualDiskSize int64 `json:"couch_docs_actual_disk_size"` CouchDocsDataSize int64 `json:"couch_docs_data_size"` CouchSpatialDataSize int64 `json:"couch_spatial_data_size"` CouchSpatialDiskSize int64 `json:"couch_spatial_disk_size"` CouchViewsActualDiskSize int64 `json:"couch_views_actual_disk_size"` CouchViewsDataSize int64 `json:"couch_views_data_size"` CurrItems int64 `json:"curr_items"` CurrItemsTot int64 `json:"curr_items_tot"` EpBgFetched int64 `json:"ep_bg_fetched"` GetHits int64 `json:"get_hits"` MemUsed int64 `json:"mem_used"` Ops int64 `json:"ops"` VbReplicaCurrItems int64 `json:"vb_replica_curr_items"` }
Click to show internal directories.
Click to hide internal directories.