remappedrows

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package remappedrows provides the NVIDIA row remapping metrics collection and reporting.

Index

Constants

View Source
const SubSystem = "accelerator_nvidia_remapped_rows"

Variables

This section is empty.

Functions

func InitAveragers

func InitAveragers(db *sql.DB, tableName string)

func ReadRemappedDueToUncorrectableErrors

func ReadRemappedDueToUncorrectableErrors(ctx context.Context, since time.Time) (components_metrics_state.Metrics, error)

func ReadRemappingFailed

func ReadRemappingFailed(ctx context.Context, since time.Time) (components_metrics_state.Metrics, error)

func ReadRemappingPending

func ReadRemappingPending(ctx context.Context, since time.Time) (components_metrics_state.Metrics, error)

func Register

func Register(reg *prometheus.Registry, db *sql.DB, tableName string) error

func SetLastUpdateUnixSeconds

func SetLastUpdateUnixSeconds(unixSeconds float64)

func SetRemappedDueToUncorrectableErrors

func SetRemappedDueToUncorrectableErrors(ctx context.Context, gpuID string, cnt uint32, currentTime time.Time) error

func SetRemappingFailed

func SetRemappingFailed(ctx context.Context, gpuID string, failed bool, currentTime time.Time) error

func SetRemappingPending

func SetRemappingPending(ctx context.Context, gpuID string, pending bool, currentTime time.Time) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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