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" NeuronExecutionErrorsAggregatedMetric = containerinsightscommon.NeuronExecutionErrors + "_total" NeuronDeviceHardwareEccEventsAggregatedMetric = containerinsightscommon.NeuronDeviceHardwareEccEvents + "_total" )
Variables ¶
View Source
var ( MetricAttributesToKeep = map[string]struct{}{ ClusterName: {}, ContainerName: {}, FullPodName: {}, InstanceId: {}, InstanceType: {}, K8sPodName: {}, Namespace: {}, NeuronDevice: {}, NodeName: {}, PodName: {}, Service: {}, AvailabilityZone: {}, Kubernetes: {}, Region: {}, RuntimeTag: {}, SubnetId: {}, NeuronCore: {}, } )
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 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 NeuronCoreInfo ¶
type NeuronCoreInfo struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.