common

package
v0.0.0-...-e70f483 Latest Latest
Warning

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

Go to latest
Published: May 21, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package common contains common structures and constants used for NpCollector

Index

Constants

View Source
const NetworkPathCollectorMetricPrefix = "datadog.network_path.collector."

NetworkPathCollectorMetricPrefix is a metric prefix for network path collector

Variables

This section is empty.

Functions

This section is empty.

Types

type Pathtest

type Pathtest struct {
	Hostname          string
	Port              uint16
	Protocol          payload.Protocol
	SourceContainerID string
	Metadata          PathtestMetadata
}

Pathtest details of information necessary to run a traceroute

func (Pathtest) GetHash

func (p Pathtest) GetHash() uint64

GetHash returns the hash of the Pathtest

type PathtestMetadata

type PathtestMetadata struct {
	// ReverseDNSHostname is an optional hostname which will be used in place of rDNS querying for
	// the destination address.
	ReverseDNSHostname string
}

PathtestMetadata contains metadata used to annotate the result of a traceroute. This data is not used by the traceroute itself.

Jump to

Keyboard shortcuts

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