Discover Packages
github.com/keabraekman/summer
probe
package
Version:
v0.0.0-...-305c77d
Opens a new window with list of versions in this module.
Published: Jul 23, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
Quick overview
These implement the Reporter
interface
awsecs
Deals with talking to AWS ECS to get stats and info
docker
Inspects the docker status
endpoint
Gathers connection data
host
Gets data from the host os, including things like CPU and mem stats
kubernetes
Gathers data from k8s
overlay
Talks to Weave Net for network stats from the overlay network
process
Is code that looks up running process and stats form the os
Utility and control
appclient
Deals with generating and sending reports
controls
Utility code for control messages and the like
plugins
allows plugins to be added to the probe.
Expand ▾
Collapse ▴
Documentation
¶
Probe sits there, generating and publishing reports.
AddReporter adds a new Reported to the Probe
AddTagger adds a new Tagger to the Probe
AddTicker adds a new Ticker to the Probe
Publish will queue a report for immediate publication,
bypassing the spy tick
ReportPublisher publishes reports, probably to a remote collector.
Reporter generates Reports.
ReporterFunc uses a function to implement a Reporter
Tagger tags nodes with value-add node metadata.
func NewTopologyTagger() Tagger
NewTopologyTagger tags each node with the topology that it comes from. It's
kind of a proof-of-concept tagger, useful primarily for debugging.
Ticker is something which will be invoked every spyDuration.
It's useful for things that should be updated on that interval.
For example, cached shared state between Taggers and Reporters.
Source Files
¶
Directories
¶
procspy
Package procspy lists TCP connections, and optionally tries to find the owning processes.
Package procspy lists TCP connections, and optionally tries to find the owning processes.
Click to show internal directories.
Click to hide internal directories.