metrics

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AssessmentsInitiated = promauto.NewCounter(prometheus.CounterOpts{
		Name: "konveyor_assessments_initiated_total",
		Help: "The total number of initiated assessments",
	})
	TasksInitiated = promauto.NewCounter(prometheus.CounterOpts{
		Name: "konveyor_tasks_initiated_total",
		Help: "The total number of initiated tasks",
	})
	Applications = promauto.NewGauge(prometheus.GaugeOpts{
		Name: "konveyor_applications_inventoried",
		Help: "The current number of applications in inventory",
	})
	IssuesExported = promauto.NewCounter(prometheus.CounterOpts{
		Name: "konveyor_issues_exported_total",
		Help: "The total number of issues exported to external trackers",
	})
)
View Source
var (
	Log = logr.WithName("metrics")
)

Functions

This section is empty.

Types

type Manager

type Manager struct {
	// DB
	DB *gorm.DB
}

Manager provides metrics management.

func (*Manager) Run

func (m *Manager) Run(ctx context.Context)

Run the manager.

Jump to

Keyboard shortcuts

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