# Structs
Agent holds information about the Elastic APM agent.
AggregateDuration duration.
Cloud represents the cloud in which the service is running.
CloudAccount holds information about a cloud account.
CloudInstance holds information about a cloud instance (virtual machine).
CloudMachine holds information about a cloud instance (virtual machine).
CloudProject holds information about a cloud project.
CompositeSpan holds details on a group of spans represented by a single one.
Container represents the container (e.g.
Context holds contextual information relating to a transaction or error.
DatabaseSpanContext holds contextual information for database operation spans.
DestinationCloudSpanContext holds contextual information about a destination cloud.
DestinationServiceSpanContext holds contextual information about a destination service.
DestinationSpanContext holds contextual information about the destination for a span that relates to an operation involving an external service.
DroppedSpansStats holds information about spans that were dropped (for example due to transaction_max_spans or exit_span_min_duration).
DurationSum contains units for duration.
Error represents an error occurring in the service.
ErrorTransaction holds information about the transaction within which an error occurred.
Exception represents an exception: an error or panic.
ExceptionCode represents an exception code as either a number or a string.
Framework holds information about the framework (typically web) used by the service.
Header holds an HTTP header, with one or more values.
HTTPSpanContext holds contextual information for HTTP client request spans.
IfaceMapItem holds a string key and value.
Kubernetes describes properties of the Kubernetes node and pod in which the service is running.
KubernetesNode describes a Kubernetes node.
KubernetesPod describes a Kubernetes pod.
Language holds information about the programming language used.
Log holds additional information added when logging an error.
MessageQueueSpanContext holds contextual information about a message queue.
MessageSpanContext holds contextual information about a message.
Metric holds metric values.
Metrics holds a set of metric samples, with an optional set of labels.
MetricsSpan holds span identifiers for metrics.
MetricsTransaction holds transaction identifiers for metrics.
Process represents an operating system process.
Request represents an HTTP request.
RequestBody holds a request body.
RequestSocket holds transport-level information relating to an HTTP request.
Response represents an HTTP response.
Runtime holds information about the programming language runtime.
Service represents the service handling transactions being traced.
ServiceNode holds unique information about each service node.
Span represents a span within a transaction.
SpanContext holds contextual information relating to the span.
SpanCount holds statistics on spans within a transaction.
StacktraceFrame describes a stack frame.
StringMapItem holds a string key and value.
System represents the system (operating system and machine) running the service.
Transaction represents a transaction handled by the service.
URL represents a server-side (transaction) request URL, broken down into its constituent parts.
User holds information about an authenticated user.
# Type aliases
Cookies holds a collection of HTTP cookies.
Headers holds a collection of HTTP headers.
IfaceMap is a slice-representation of map[string]interface{}, optimized for fast JSON encoding.
SpanID holds a 64-bit span ID.
StringMap is a slice-representation of map[string]string, optimized for fast JSON encoding.
Time is a timestamp, formatted as a number of microseconds since January 1, 1970 UTC.
TraceID holds a 128-bit trace ID.