Skip to main content

Enable the transactions processor

The Transactions tab breaks a service into its operations, and - for services that emit transaction data - breaks each operation into its segments in the drilldown. That segment breakdown appears only once the Coralogix transactions processor is running. This guide walks through enabling it.

Use this guide if an operation's drilldown shows only its spans list with no segment breakdown, or if you are setting up a new service and want segment-level visibility from day one.

What you need​

How it works​

By default, OpenTelemetry lets you aggregate the performance of a single operation (span or endpoint) over time. It does not natively aggregate the performance of multiple connected operations over time as a single logical unit. The Coralogix transactions processor fills that gap, generating the segment-level data the operation drilldown uses.

You can continue using pure OpenTelemetry while adding transaction data through a lightweight, open processor contributed by Coralogix to the OpenTelemetry community. This approach adds no vendor-locked SDKs or agents and requires no modifications to the OpenTelemetry SDK. See the v0.130.0 enhancements in the OpenTelemetry Collector Contrib changelog.

The processor automatically identifies the transaction root span within each transaction and applies transaction attributes to all spans in that transaction:

  • Transaction root identification: the processor finds the span with no parent span ID (or whose parent is not in the current trace) and marks it as the transaction root.
  • Transaction attributes: all spans from the same service that are part of traces containing a transaction root receive the following attributes:
    • cgx.transaction: set to the name of the transaction root span.
    • cgx.transaction.root: set to true for the root span only.

Configure the processor​

Configure the Coralogix transactions processor for your deployment.

The Coralogix Kubernetes Complete Observability integration ships the transactions processor as a preset in the values.yaml.

Once configured, the transactions processor starts generating segment-level visibility, and the segment breakdown appears in each operation's drilldown.

Next steps​

Group a service's failures by status code in Errors.

Additional resources​

Last updated on