model

package
v0.0.0-...-699f83c Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2026 License: Apache-2.0 Imports: 1 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"`
	LogFiles                 []string                        `json:"log_files,omitempty"`
	GeneratedName            string                          `json:"generated_name"`
	GeneratedNameSource      string                          `json:"generated_name_source"`
	AdditionalGeneratedNames []string                        `json:"additional_generated_names"`
	TracerMetadata           []tracermetadata.TracerMetadata `json:"tracer_metadata,omitempty"`
	TCPPorts                 []uint16                        `json:"tcp_ports,omitempty"`
	UDPPorts                 []uint16                        `json:"udp_ports,omitempty"`
	APMInstrumentation       bool                            `json:"apm_instrumentation"`
	Language                 string                          `json:"language"`
	UST                      UST                             `json:"ust"`
}

Service represents a listening process.

type ServicesResponse

type ServicesResponse struct {
	Services     []Service `json:"services"`
	InjectedPIDs []int     `json:"injected_pids"`
	GPUPIDs      []int     `json:"gpu_pids"`
}

ServicesResponse is the response for the system-probe /discovery/services endpoint.

type UST

type UST struct {
	Service string `json:"service"`
	Env     string `json:"env"`
	Version string `json:"version"`
}

UST represents the Unified Service Tagging environment variables of a service.

Jump to

Keyboard shortcuts

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