Documentation
¶
Index ¶
- type Attributes
- type BufferPools
- type CPU
- type Classes
- type Collectors
- type Completion
- type Direct
- type Docs
- type Fielddata
- type FileSizes
- type Flush
- type Gc
- type GcOld
- type GcYoung
- type Get
- type HTTP
- type Indexing
- type Indices
- type Jvm
- type JvmMem
- type LoadAverage
- type Mapped
- type Merges
- type Node
- type Nodes
- type NodesCount
- type Os
- type OsMem
- type Pools
- type PoolsOld
- type PoolsYoung
- type QueryCache
- type Recovery
- type Refresh
- type RequestCache
- type Search
- type Segments
- type Status
- type Store
- type Survivor
- type Swap
- type Threads
- type Translog
- type Warmer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attributes ¶
type BufferPools ¶
type CPU ¶
type CPU struct {
Percent int `json:"percent"`
LoadAverage LoadAverage `json:"load_average"`
}
type Collectors ¶
type Completion ¶
type Completion struct {
SizeInBytes int `json:"size_in_bytes"`
}
type Gc ¶
type Gc struct {
Collectors Collectors `json:"collectors"`
}
type Get ¶
type Get struct {
Total int `json:"total"`
TimeInMillis int `json:"time_in_millis"`
ExistsTotal int `json:"exists_total"`
ExistsTimeInMillis int `json:"exists_time_in_millis"`
MissingTotal int `json:"missing_total"`
MissingTimeInMillis int `json:"missing_time_in_millis"`
Current int `json:"current"`
}
type Indexing ¶
type Indexing struct {
IndexTotal int `json:"index_total"`
IndexTimeInMillis int `json:"index_time_in_millis"`
IndexCurrent int `json:"index_current"`
IndexFailed int `json:"index_failed"`
DeleteTotal int `json:"delete_total"`
DeleteTimeInMillis int `json:"delete_time_in_millis"`
DeleteCurrent int `json:"delete_current"`
NoopUpdateTotal int `json:"noop_update_total"`
IsThrottled bool `json:"is_throttled"`
ThrottleTimeInMillis int `json:"throttle_time_in_millis"`
}
type Indices ¶
type Indices struct {
Docs Docs `json:"docs"`
Store Store `json:"store"`
Indexing Indexing `json:"indexing"`
Get Get `json:"get"`
Search Search `json:"search"`
Merges Merges `json:"merges"`
Refresh Refresh `json:"refresh"`
Flush Flush `json:"flush"`
Warmer Warmer `json:"warmer"`
QueryCache QueryCache `json:"query_cache"`
Fielddata Fielddata `json:"fielddata"`
Completion Completion `json:"completion"`
Segments Segments `json:"segments"`
Translog Translog `json:"translog"`
RequestCache RequestCache `json:"request_cache"`
Recovery Recovery `json:"recovery"`
}
type JvmMem ¶
type JvmMem struct {
HeapUsedInBytes int `json:"heap_used_in_bytes"`
HeapUsedPercent int `json:"heap_used_percent"`
HeapCommittedInBytes int `json:"heap_committed_in_bytes"`
HeapMaxInBytes int `json:"heap_max_in_bytes"`
NonHeapUsedInBytes int `json:"non_heap_used_in_bytes"`
NonHeapCommittedInBytes int `json:"non_heap_committed_in_bytes"`
Pools Pools `json:"pools"`
}
type LoadAverage ¶
type Merges ¶
type Merges struct {
Current int `json:"current"`
CurrentDocs int `json:"current_docs"`
CurrentSizeInBytes int `json:"current_size_in_bytes"`
Total int `json:"total"`
TotalTimeInMillis int `json:"total_time_in_millis"`
TotalDocs int `json:"total_docs"`
TotalSizeInBytes int64 `json:"total_size_in_bytes"`
TotalStoppedTimeInMillis int `json:"total_stopped_time_in_millis"`
TotalThrottledTimeInMillis int `json:"total_throttled_time_in_millis"`
TotalAutoThrottleInBytes int64 `json:"total_auto_throttle_in_bytes"`
}
type Node ¶
type Node struct {
Timestamp int64 `json:"timestamp"`
Name string `json:"name"`
TransportAddress string `json:"transport_address"`
Host string `json:"host"`
IP string `json:"ip"`
Roles []string `json:"roles"`
Attributes Attributes `json:"attributes"`
Indices Indices `json:"indices"`
Os Os `json:"os"`
Jvm Jvm `json:"jvm"`
HTTP HTTP `json:"http"`
}
type NodesCount ¶
type Pools ¶
type Pools struct {
PoolsYoung PoolsYoung `json:"young"`
Survivor Survivor `json:"survivor"`
PoolsOld PoolsOld `json:"old"`
}
type PoolsYoung ¶
type QueryCache ¶
type RequestCache ¶
type Search ¶
type Search struct {
OpenContexts int `json:"open_contexts"`
QueryTotal int `json:"query_total"`
QueryTimeInMillis int `json:"query_time_in_millis"`
QueryCurrent int `json:"query_current"`
FetchTotal int `json:"fetch_total"`
FetchTimeInMillis int `json:"fetch_time_in_millis"`
FetchCurrent int `json:"fetch_current"`
ScrollTotal int `json:"scroll_total"`
ScrollTimeInMillis int `json:"scroll_time_in_millis"`
ScrollCurrent int `json:"scroll_current"`
SuggestTotal int `json:"suggest_total"`
SuggestTimeInMillis int `json:"suggest_time_in_millis"`
SuggestCurrent int `json:"suggest_current"`
}
type Segments ¶
type Segments struct {
Count int `json:"count"`
MemoryInBytes int `json:"memory_in_bytes"`
TermsMemoryInBytes int `json:"terms_memory_in_bytes"`
StoredFieldsMemoryInBytes int `json:"stored_fields_memory_in_bytes"`
TermVectorsMemoryInBytes int `json:"term_vectors_memory_in_bytes"`
NormsMemoryInBytes int `json:"norms_memory_in_bytes"`
PointsMemoryInBytes int `json:"points_memory_in_bytes"`
DocValuesMemoryInBytes int `json:"doc_values_memory_in_bytes"`
IndexWriterMemoryInBytes int `json:"index_writer_memory_in_bytes"`
VersionMapMemoryInBytes int `json:"version_map_memory_in_bytes"`
FixedBitSetMemoryInBytes int `json:"fixed_bit_set_memory_in_bytes"`
MaxUnsafeAutoIDTimestamp int `json:"max_unsafe_auto_id_timestamp"`
FileSizes FileSizes `json:"file_sizes"`
}
type Status ¶
type Status struct {
Status string `json:"status"`
NodesCount NodesCount `json:"_nodes"`
ClusterName string `json:"cluster_name"`
Nodes Nodes `json:"nodes"`
}
Click to show internal directories.
Click to hide internal directories.