model

package
v0.0.0-...-cedfd68 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL