Documentation
¶
Index ¶
Constants ¶
View Source
const ( NeuronCoreUtilization = "neuroncore_utilization_ratio" NeuronCoreMemoryUtilizationConstants = "neuroncore_memory_usage_constants" NeuronCoreMemoryUtilizationModelCode = "neuroncore_memory_usage_model_code" NeuronCoreMemoryUtilizationRuntimeMemory = "neuroncore_memory_usage_runtime_memory" NeuronCoreMemoryUtilizationTensors = "neuroncore_memory_usage_tensors" NeuronExecutionStatus = "execution_status_total" NeuronExecutionErrors = "execution_errors_total" NeuronRuntimeMemoryUsage = "neuron_runtime_memory_used_bytes" NeuronExecutionLatency = "execution_latency_seconds" )
Metric name constants for neuroncore and execution metrics. These match the real Neuron Monitor Prometheus endpoint output.
View Source
const ( NeuronHardwareInfoKey = "neuron_hardware_info" NeuronHardwareKey = "neuron_hardware" NeuronCoreAttributeKey = "neuroncore" NeuronDeviceAttributeKey = "neurondevice" NeuronDeviceCountAttributeKey = "neuron_device_count" NeuronCorePerDeviceKey = "neuroncore_per_device_count" RuntimeTag = "runtime_tag" MemoryLocationNone = "None" )
Attribute name constants used by the neuron metrics. The real Prometheus endpoint uses lowercase "neuroncore" (no uppercase NeuronCore/NeuronDevice).
View Source
const ( StatusType = "status_type" ErrorType = "error_type" MemoryLocation = "memory_location" Percentile = "percentile" )
Type-specific attribute keys for non-core metrics.
Variables ¶
View Source
var (
TypeStr = component.MustNewType("awsneuron")
)
Functions ¶
func NewFactory ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.