observability

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2026 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Package observability provides shared setup and helpers for standalone observability integration tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

func Setup()

Setup initializes the shared standalone BanyanDB instance with native observability enabled.

Types

type Point

type Point struct {
	Tags  map[string]string
	Value float64
}

Point represents a simplified view of a datapoint in the _monitoring group.

func QueryObservabilityMeasure

func QueryObservabilityMeasure(metricName string, tagNames ...string) ([]Point, error)

QueryObservabilityMeasure queries a measure from the _monitoring group and returns flattened datapoints. tagNames are additional tag names to project beyond the default entity tags (node_type, node_id, grpc_address, http_address). For example, cpu_state and memory_state need "kind"; disk needs "path" and "kind".

Jump to

Keyboard shortcuts

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