Help us shape the future of Go! Take the 2026 Go Developer Survey

prometheus

package
v1.4.33 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package prometheus exposes bounded Prometheus reads as model tools.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilterAuthorized

func FilterAuthorized(ctx context.Context, tools []core.Tool) []core.Tool

func New

func New(sources []Source) []core.Tool

Types

type Source

type Source struct {
	Name    string
	Service *prometheusapp.Service
	Guard   func(context.Context) bool
}

Jump to

Keyboard shortcuts

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