Home / Companies / Honeycomb / Blog / Post Details
Content Deep Dive

Span or Attribute in OpenTelemetry Custom Instrumentation

Blog post from Honeycomb

Post Details
Company
Date Published
Author
Jessica Kerr (Jessitron)
Word Count
785
Company Posts That Month
15
Language
English
Hacker News Points
-
Post removed?
No
Summary

OpenTelemetry tracing offers a powerful way to enhance visibility and correlation in distributed systems by efficiently adding attributes to spans, which are units of work, to encapsulate critical event data. Attributes, such as request parameters and feature flag values, provide a cost-effective method for enriching trace information, particularly when using providers like Honeycomb, which charge per event. While spans are preferred for marking significant operations, especially across network or asynchronous boundaries, logs can still be useful for capturing fixed-time events or exceptions without overwriting existing attributes. The strategy for structuring traces, whether by adding attributes or creating new spans, should align with the desired level of detail and correlation needed for observability, allowing developers to effectively tell the story of their application's performance and behavior.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Observability 4 3,670 768 196 -25%
OpenTelemetry 4 961 128 53 -18%
MCP 1 7,755 814 203 -3%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.