# Utility References

## ID

::: agentlightning.utils.id.generate_id

## Metrics

::: agentlightning.utils.metrics.MetricsBackend

::: agentlightning.utils.metrics.ConsoleMetricsBackend

::: agentlightning.utils.metrics.PrometheusMetricsBackend

::: agentlightning.utils.metrics.MultiMetricsBackend

::: agentlightning.utils.metrics.setup_multiprocess_prometheus

::: agentlightning.utils.metrics.get_prometheus_registry

::: agentlightning.utils.metrics.shutdown_metrics

## Server Launcher

::: agentlightning.utils.server_launcher.PythonServerLauncher

::: agentlightning.utils.server_launcher.PythonServerLauncherArgs

::: agentlightning.utils.server_launcher.LaunchMode

## OpenTelemetry

::: agentlightning.utils.otel.full_qualified_name

::: agentlightning.utils.otel.get_tracer_provider

::: agentlightning.utils.otel.get_tracer

::: agentlightning.utils.otel.make_tag_attributes

::: agentlightning.utils.otel.extract_tags_from_attributes

::: agentlightning.utils.otel.make_link_attributes

::: agentlightning.utils.otel.query_linked_spans

::: agentlightning.utils.otel.extract_links_from_attributes

::: agentlightning.utils.otel.filter_attributes

::: agentlightning.utils.otel.filter_and_unflatten_attributes

::: agentlightning.utils.otel.flatten_attributes

::: agentlightning.utils.otel.unflatten_attributes

::: agentlightning.utils.otel.sanitize_attribute_value

::: agentlightning.utils.otel.sanitize_attributes

::: agentlightning.utils.otel.sanitize_list_attribute_sanity

::: agentlightning.utils.otel.check_attributes_sanity

::: agentlightning.utils.otel.format_exception_attributes

## OTLP

::: agentlightning.utils.otlp.handle_otlp_export

::: agentlightning.utils.otlp.spans_from_proto

## System Snapshot

::: agentlightning.utils.system_snapshot.system_snapshot
