Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.honeycomb.io/llms.txt

Use this file to discover all available pages before exploring further.

Honeycomb automatically maps source data fields for you if you follow Honeycomb field naming conventions. Otherwise, you must map your dataset fields manually. Honeycomb automatically maps source data fields if you follow Honeycomb field naming conventions. If your field names differ from the standard names, or if you have already sent data and can’t change field names in your source, you can map fields manually using Dataset Definitions.
Unmapped data is the most common cause of empty visualizations. If you see an unpopulated trace waterfall or log view, check your dataset definitions first.

Trace dataset fields

Honeycomb identifies a dataset as a trace dataset if you send all of these fields to Honeycomb:
  • trace.trace_id
  • trace.span_id
  • duration_ms
If your field names differ, map them manually in Dataset Definitions.
Dataset FieldDescriptionAllowed Type(s)Source Field NameCan Group By?
ErrorValue that indicates an error occurred. Used to identify errors when calculating the “Total Spans with Errors” visualizations.boolean, string, calculated fielderrorYes
HTTP Status CodeCode that indicates the success, failure, or other status of a request.string, integer, float, calculated fieldresponse.status_codeYes
Metadata: Annotation TypeType of the span annotation, which controls how Honeycomb visualizes this event in a trace. Possible values include span_event (indicates the span is a span event) and link (indicates the span is a span link).string, calculated fieldmeta.annotation_typeNo
Metadata: Link Span IDUnique ID of the span you want to link to the current span. Indicates the span is a span event. Use with Metadata: Link Trace ID.string, calculated fieldtrace.link.span_idNo
Metadata: Link Trace IDUnique ID of the trace you want to link to the current span. Use with Metadata: Link Span ID.string, calculated fieldtrace.link.trace_idNo
NameName of the function or method in which the span was created.string, calculated fieldnameYes
Parent span IDID of the span’s parent span, which is the location from which the span was called.string, calculated fieldtrace.parent_idNo
RouteHTTP URL or equivalent route processed by the request.string, calculated fieldhttp.routeYes
Service nameName of the instrumented service.string, calculated fieldservice.nameNo
Span durationLength of time the span took in milliseconds (ms). Used to calculate the “95th Percentile Latency” visualizations.float, integer, calculated fieldduration_ms or durationMsNo
Span IDUnique ID of the span.string, calculated fieldtrace.span_idNo
Trace IDUnique ID of the trace to which the span belongs.string, calculated fieldtrace.trace_idNo
UserUser making the request in the system.float, string, integer, calculated fielduser.idYes
Let Honeycomb detect and map dataset fields automatically by naming your data fields using the values in the Source Field Name column. Fields without a source field name must be mapped manually.

Log dataset fields

Honeycomb identifies a dataset as a logs dataset if you send a field named body to Honeycomb. If your field name differs, map it manually in Dataset Definitions.
Dataset FieldDescriptionAllowed Type(s)Source Field Name
Log MessageValue containing the log event message. May be a human-readable string (including multiline) describing the event in free form.string, calculated fieldbody
Log SeveritySeverity level of the event (also known as log level). Supported values: trace, debug, info, warn, error, fatal, and unspecified.string, calculated fieldseverity
Let Honeycomb detect and map dataset fields automatically by naming your data fields using the values in the Source Field Name column. Fields without a source field name must be mapped manually.

Mapping visualization components

Honeycomb visualizations rely on fields in your source data being mapped to Honeycomb standard fields. If you ever see an unpopulated visualization in Honeycomb, check your dataset definitions first! Unmapped data is the main cause of visualizations missing data.

Trace dropdowns

Each trace chart visualization’s accompanying dropdown is populated with source fields mapped to Honeycomb dataset fields. You can map your source fields to the selected dataset’s fields using Dataset Definitions. Dataset fields you can map include:
  • Error: Value that indicates an error occurred.
  • HTTP Status Code: Code that indicates the success, failure, or other status of a request.
  • Name: Name of the function or method in which the span was created.
  • Route: HTTP URL or equivalent route processed by the request.
  • User: User making the request in the system.
For datasets with Kubernetes metadata, the following fields are also included in the dropdown if available:
  • k8s.pod.name, source.k8s.pod.name, or destination.k8s.pod.name: Name of the Kubernetes pod.
  • k8s.container.name, source.k8s.container.name, or destination.k8s.container.name: Name of the Kubernetes container.
  • k8s.node.name, source.k8s.node.name, or destination.k8s.node.name: Name of the Kubernetes node.
  • k8s.namespace.name, source.k8s.namespace.name, or destination.k8s.namespace.name: Name of the Kubernetes namespace.
  • source.k8s.service.name or destination.k8s.service.name: Name of the Kubernetes service.
To learn more about sending Kubernetes data to Honeycomb, visit Send Data from Kubernetes.

Exception fields

Exception visualizations are populated by OpenTelemetry Exception source fields. If your exception visualizations are empty, verify that your instrumentation includes the exception.type and exception.message fields.

Mapping fields manually

If you have already sent data into a Honeycomb dataset or you are unable to change field names in your source data, use Dataset Definitions to manually map the standard fields in your Honeycomb dataset to the source fields in your data:
  1. Select Manage Data () from the navigation menu, and choose Datasets.
  2. Select the name of your target dataset to access its settings.
  3. Select the Definitions view.
  4. Locate the appropriate Honeycomb Dataset Field, then select the source field in your data from the corresponding Field name dropdown.
  5. Select Update.