Documentation ¶
Index ¶
- func CountNumOfHost() (c int, err error)
- func CountNumOfHostGroup() (c int, err error)
- func QueryConfig(key string) (c model.Config, err error)
- func QueryCounterByEndpoints(endpoints []string, limit int, metricQuery string) (counters []string, err error)
- func QueryCounterByNameRegx(queryStr string, limit int) (counters []string, err error)
- func QueryEndpointIDByCounters(counters []string) (endpointID []string, err error)
- func QueryEndpointNamesByID(endpointIDs []string, limit int, filter string) (endpointNames []string, err error)
- func QueryEndpointsByCounter(counters []string, limit int, filter string) (endpoints []string, err error)
- type Endpoint
- type EndpointCounter
- type GitInfo
- type HostGroup
- type HostGroupMapping
- type Hosts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CountNumOfHost ¶
func CountNumOfHostGroup ¶
func QueryCounterByEndpoints ¶
func QueryCounterByNameRegx ¶
func QueryEndpointNamesByID ¶
Types ¶
type Endpoint ¶
type Endpoint struct { Id int64 `json:"id"` Endpoint string `json:"endpoint"` Ts int64 `json:"ts"` TCreate time.Time `json:"-"` TModify time.Time `json:"-"` Ipv4 string `json:"-"` }
graph
func QueryEndpintByNameRegx ¶
type EndpointCounter ¶
type HostGroup ¶
type HostGroup struct { Id int64 `json:"id"` GrpName string `json:"grp_name"` CreateUser string `json:"create_user"` CreateAt time.Time `json:"create_at"` ComeFrom int `json:"come_from"` }
falcon_portal
type HostGroupMapping ¶
type Hosts ¶
type Hosts struct { Id int64 `json:"id" ` Hostname string `json:"hostname"` Ip string `json:"ip"` AgentVersion string `json:"agent_version"` PluginVersion string `json:"plugin_version"` MaintainBegin int `json:"maintain_begin"` MaintainEnd int `json:"maintain_end"` UpdateAt time.Time `json:"update_at"` }
func GetHostsByHostGroupName ¶
Click to show internal directories.
Click to hide internal directories.