Documentation ¶
Overview ¶
Package model contains types for service discovery.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { PID int `json:"pid"` Name string `json:"name"` GeneratedName string `json:"generated_name"` DDService string `json:"dd_service"` DDServiceInjected bool `json:"dd_service_injected"` Ports []uint16 `json:"ports"` APMInstrumentation string `json:"apm_instrumentation"` Language string `json:"language"` RSS uint64 `json:"rss"` CommandLine []string `json:"cmdline"` StartTimeMilli uint64 `json:"start_time"` CPUCores float64 `json:"cpu_cores"` ContainerID string `json:"container_id"` }
Service represents a listening process.
type ServicesResponse ¶
type ServicesResponse struct {
Services []Service `json:"services"`
}
ServicesResponse is the response for the system-probe /discovery/services endpoint.
Click to show internal directories.
Click to hide internal directories.