Honeycomb · JSON Structure

Honeycomb Event Structure

JSON Structure for a single Honeycomb event row. Events are arbitrary flat JSON objects with high-cardinality string, number, and boolean attributes. OpenTelemetry attributes are encoded with their canonical dot-separated names.

Type: object Properties: 18
ObservabilityTracingDistributed TracingTelemetryOpenTelemetryEventLogsMetricsSLOAIOpsAI Observability

Honeycomb Event Structure is a JSON Structure definition published by Honeycomb, describing 18 properties. It conforms to the https://json-schema.org/draft/2020-12/schema meta-schema.

Properties

service.name trace.trace_id trace.span_id trace.parent_id name duration_ms status_code error http.method http.target http.status_code http.route db.system db.statement rpc.system rpc.service rpc.method user.id

Meta-schema: https://json-schema.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/honeycomb-io/main/json-structure/honeycomb-event-structure.json",
  "title": "Honeycomb Event",
  "description": "JSON Structure for a single Honeycomb event row. Events are arbitrary flat JSON objects with high-cardinality string, number, and boolean attributes. OpenTelemetry attributes are encoded with their canonical dot-separated names.",
  "type": "object",
  "additionalProperties": true,
  "properties": {
    "service.name": {
      "type": "string",
      "description": "OTel service.name resource attribute. Maps the event to a Honeycomb dataset."
    },
    "trace.trace_id": {
      "type": "string",
      "description": "Trace identifier shared by all spans in a single trace."
    },
    "trace.span_id": {
      "type": "string",
      "description": "Unique identifier for this span."
    },
    "trace.parent_id": {
      "type": "string",
      "description": "Parent span identifier. Empty for root spans."
    },
    "name": {
      "type": "string",
      "description": "Span name; corresponds to OTel span.name."
    },
    "duration_ms": {
      "type": "number",
      "description": "Span duration in milliseconds. Honeycomb's canonical latency field."
    },
    "status_code": {
      "type": "integer",
      "description": "Span status (0 unset, 1 ok, 2 error) per OTel."
    },
    "error": {
      "type": "boolean",
      "description": "Set to true when the span represents an error. Drives Honeycomb error highlighting."
    },
    "http.method":      { "type": "string" },
    "http.target":      { "type": "string" },
    "http.status_code": { "type": "integer" },
    "http.route":       { "type": "string" },
    "db.system":        { "type": "string" },
    "db.statement":     { "type": "string" },
    "rpc.system":       { "type": "string" },
    "rpc.service":      { "type": "string" },
    "rpc.method":       { "type": "string" },
    "user.id":          { "type": "string" }
  }
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/honeycomb-event-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.