Skip to content

Find out why some otel spans are missing in monitoring #1749

@phildarnowsky-broad

Description

@phildarnowsky-broad

As in the image, some spans are not getting logged to Trace Explorer. Per a helpful robot:

This message appears when:

  • A parent-child relationship between spans was declared (through references)
  • But one of the spans (in this case, the one with ID b84f47e9572c5512) is missing from the trace data

Possible Causes

  1. Data Loss: The span was created but not successfully sent to or ingested by Cloud Trace
  2. Timing Issues: The child span was recorded before its parent span
  3. Cross-Service Tracing Problems: If you're tracing across multiple services, one service might have failed to properly propagate or report its spans
  4. Sampling: If you're using sampling, some spans may be sampled out while others are kept
  5. Instrumentation Problems: Incomplete or incorrect instrumentation of your application

How to Troubleshoot

  1. Check your instrumentation: Ensure all services are properly configured to send traces
  2. Examine sampling rates: If using sampling, consider increasing the sampling rate temporarily
  3. Verify trace propagation: Make sure trace context is properly propagated between services
  4. Look for errors in Cloud Logging: There might be related errors when spans failed to be reported
  5. Check network connectivity: Services might have connectivity issues with Cloud Trace endpoints

Impact

This issue typically doesn't affect your application's functionality, but it does impact your ability to fully visualize and analyze the complete trace of a request through your system.

Image

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions