mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-24 07:46:41 +00:00
Squash of: * Include plugins in the report * show plugin list in the UI * moving metric and metadata templates into the probe reports * update js for prime -> priority * added retry to plugin handshake * added iowait plugin * review feedback * plugin documentation
21 lines
657 B
Go
21 lines
657 B
Go
package xfer
|
|
|
|
const (
|
|
// AppPort is the default port that the app will use for its HTTP server.
|
|
// The app publishes the API and user interface, and receives reports from
|
|
// probes, on this port.
|
|
AppPort = 4040
|
|
|
|
// ScopeProbeIDHeader is the header we use to carry the probe's unique ID. The
|
|
// ID is currently set to the a random string on probe startup.
|
|
ScopeProbeIDHeader = "X-Scope-Probe-ID"
|
|
)
|
|
|
|
// Details are some generic details that can be fetched from /api
|
|
type Details struct {
|
|
ID string `json:"id"`
|
|
Version string `json:"version"`
|
|
Hostname string `json:"hostname"`
|
|
Plugins PluginSpecs `json:"plugins,omitempty"`
|
|
}
|