instrumentation

package
v0.0.85-test Latest Latest
Warning

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

Go to latest
Published: May 8, 2023 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package instrumentation contains backend plugin instrumentation logic.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InstrumentCallResourceRequest

func InstrumentCallResourceRequest(pluginID string, fn func() error) error

InstrumentCallResourceRequest instruments callResource.

func InstrumentCheckHealthRequest

func InstrumentCheckHealthRequest(pluginID string, fn func() error) error

InstrumentCheckHealthRequest instruments checkHealth.

func InstrumentCollectMetrics

func InstrumentCollectMetrics(pluginID string, fn func() error) error

InstrumentCollectMetrics instruments collectMetrics.

func InstrumentQueryDataRequest

func InstrumentQueryDataRequest(pluginID string, fn func() error) error

InstrumentQueryDataRequest instruments success rate and latency of query data requests.

Types

This section is empty.

Jump to

Keyboard shortcuts

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