Help us shape the future of Go! Take the 2026 Go Developer Survey

internal

package
v1.300074.1 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrorType  = "error_type"
	StatusType = "status_type"
	EventType  = "event_type"

	MemoryLocation = "memory_location"

	Core                                          = "Core"
	Device                                        = "Device"
	Percentile                                    = "percentile"
	PodName                                       = "PodName"
	Count                                         = "Count"
	Bytes                                         = "Bytes"
	Seconds                                       = "Seconds"
	Percent                                       = "Percent"
	NeuronCoreAttributeKey                        = "NeuronCore"
	NeuronDeviceAttributeKey                      = "NeuronDevice"
	RuntimeTag                                    = "runtime_tag"
	ClusterName                                   = "ClusterName"
	ContainerName                                 = "ContainerName"
	FullPodName                                   = "FullPodName"
	InstanceId                                    = "InstanceId"
	InstanceType                                  = "InstanceType"
	K8sPodName                                    = "K8sPodName"
	Namespace                                     = "Namespace"
	NeuronCore                                    = "NeuronCore"
	NeuronDevice                                  = "NeuronDevice"
	NodeName                                      = "NodeName"
	Service                                       = "Service"
	AvailabilityZone                              = "availability_zone"
	Kubernetes                                    = "kubernetes"
	Region                                        = "region"
	SubnetId                                      = "subnet_id"
	RuntimeTagOverride                            = "DEFAULT"
	NeuronExecutionErrorsAggregatedMetric         = containerinsightscommon.NeuronExecutionErrors + "_total"
	NeuronDeviceHardwareEccEventsAggregatedMetric = containerinsightscommon.NeuronDeviceHardwareEccEvents + "_total"
	NeuronCoreLabel                               = "neuroncore"
	NeuronCoresPerDeviceAttributeKey              = "neuroncore_per_device_count"
)
View Source
const (
	PROCESSED_NEURON_METRIC_PATTERN = "^(container|node|pod)_(neuroncore_|neurondevice_).*|^node_neuron_.*"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AwsNeuronMemoryMetricsAggregator

type AwsNeuronMemoryMetricsAggregator struct {
	MemoryMetricsFound bool
	// contains filtered or unexported fields
}

func NewMemoryMemoryAggregator

func NewMemoryMemoryAggregator() *AwsNeuronMemoryMetricsAggregator

func (*AwsNeuronMemoryMetricsAggregator) AggregateMemoryMetric

func (d *AwsNeuronMemoryMetricsAggregator) AggregateMemoryMetric(originalMetric pmetric.Metric)

func (*AwsNeuronMemoryMetricsAggregator) FlushAggregatedMemoryMetric

func (d *AwsNeuronMemoryMetricsAggregator) FlushAggregatedMemoryMetric() pmetric.Metric

type AwsNeuronMetricChecker added in v1.300044.0

type AwsNeuronMetricChecker struct {
}

func NewAwsNeuronMetricChecker added in v1.300044.0

func NewAwsNeuronMetricChecker() *AwsNeuronMetricChecker

func (*AwsNeuronMetricChecker) IsProcessedNeuronMetric added in v1.300044.0

func (md *AwsNeuronMetricChecker) IsProcessedNeuronMetric(name string) bool

type AwsNeuronMetricModifier

type AwsNeuronMetricModifier struct {
	// contains filtered or unexported fields
}

func NewMetricModifier

func NewMetricModifier(logger *zap.Logger) *AwsNeuronMetricModifier

func (*AwsNeuronMetricModifier) ModifyMetric

func (md *AwsNeuronMetricModifier) ModifyMetric(originalMetric pmetric.Metric, metrics pmetric.MetricSlice)

type MetricDatapointAggregationKey

type MetricDatapointAggregationKey struct {
	// contains filtered or unexported fields
}

type MetricModifications

type MetricModifications struct {
	DuplicationTypes []string
	UniqueAttribute  string
	LogTypeSuffix    string
	Unit             string
}

type NeuronCoreInfo

type NeuronCoreInfo struct {
	// contains filtered or unexported fields
}

type NeuronCoreUtilizationDatapointAggregationKey added in v1.300057.0

type NeuronCoreUtilizationDatapointAggregationKey struct {
	// contains filtered or unexported fields
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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