observability

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2026 License: Apache-2.0 Imports: 0 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package observability holds the shared OpenTelemetry identifiers that every muster package emits under, so a single TracerProvider / MeterProvider scope joins spans, metrics, and logs across the codebase. The constants are intentionally a leaf package with no internal/* dependencies, so any internal/<svc> package can import them without violating the service-locator pattern.

Index

Constants

View Source
const AttrToolName = "mcp.tool.name"

AttrToolName is the OpenTelemetry attribute key carrying the MCP tool name dispatched in a request. Shared across every emitter that records tool identity so Grafana joins traces, logs, and metrics on a single key.

View Source
const TracerName = "github.com/giantswarm/muster"

TracerName is the OpenTelemetry instrumentation scope used for every span muster emits — server-side mcp-go spans, the outbound mcp-go client spans on the muster → backend leg, and per-step workflow spans. Span role is encoded in SpanKind (Server / Client / Internal) and span name (mcp.<method>, tool.<name>, workflow.step), so a single scope keeps dashboard filtering readable without a per-package suffix.

Used identically as the OTel meter scope; both join on the same identifier so spans and metrics correlate in Tempo + Mimir.

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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