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"` GeneratedNameSource string `json:"generated_name_source"` DDService string `json:"dd_service"` DDServiceInjected bool `json:"dd_service_injected"` CheckedContainerData bool `json:"checked_container_data"` 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.