We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/AI-Riksarkivet/ra-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
telemetry.py•652 B
"""
Telemetry convenience wrappers using only opentelemetry-api.
Returns no-op instances when no SDK is configured (zero overhead).
All packages get these helpers transitively through ra-mcp-common.
"""
from opentelemetry import metrics, trace
def get_tracer(name: str) -> trace.Tracer:
"""Get a tracer for the given module name.
Returns a no-op tracer when no TracerProvider SDK is configured.
"""
return trace.get_tracer(name)
def get_meter(name: str) -> metrics.Meter:
"""Get a meter for the given module name.
Returns a no-op meter when no MeterProvider SDK is configured.
"""
return metrics.get_meter(name)