mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-15 19:41:02 +00:00
The call to register this metric was removed in #633 over three years ago. If it isn't registered then nobody can see the values. The measurement is duplicated by metrics added in #658.
33 lines
778 B
Go
33 lines
778 B
Go
package endpoint
|
|
|
|
import (
|
|
"github.com/weaveworks/scope/probe/endpoint/procspy"
|
|
"github.com/weaveworks/scope/probe/process"
|
|
"github.com/weaveworks/scope/report"
|
|
)
|
|
|
|
// Node metadata keys.
|
|
const (
|
|
ReverseDNSNames = report.ReverseDNSNames
|
|
SnoopedDNSNames = report.SnoopedDNSNames
|
|
CopyOf = report.CopyOf
|
|
)
|
|
|
|
// ReporterConfig are the config options for the endpoint reporter.
|
|
type ReporterConfig struct {
|
|
HostID string
|
|
HostName string
|
|
SpyProcs bool
|
|
UseConntrack bool
|
|
WalkProc bool
|
|
UseEbpfConn bool
|
|
ProcRoot string
|
|
BufferSize int
|
|
ProcessCache *process.CachingWalker
|
|
Scanner procspy.ConnectionScanner
|
|
DNSSnooper *DNSSnooper
|
|
}
|
|
|
|
// Name of this reporter, for metrics gathering
|
|
func (Reporter) Name() string { return "Endpoint" }
|