metrics

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package metrics provides a metrics adapter for the EasyP plugin server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metrics

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

Metrics is the metrics adapter for the EasyP plugin server.

func New

func New(reg *prometheus.Registry, namespace string) *Metrics

New creates and returns a new Metrics adapter.

func (Metrics) GenerateCode

func (m Metrics) GenerateCode(_ context.Context, info core.PluginInfo) error

GenerateCode implements the core.Metrics interface.

Jump to

Keyboard shortcuts

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