Skip to main content

Sending and monitoring OpenTelemetry traces

1

Create an Application and API Key

Create an application using the Create Application endpoint or from the Unomiq Dashboard.Then, create API credentials with the write:traces permission using the Create API Credentials endpoint or the dashboard. This will give you an API key (Client ID) and secret (Client Secret) needed to authenticate with the gateway.
2

Send OpenTelemetry Traces

Export your OpenTelemetry traces to the Unomiq Gateway API. You can use an OTel Collector sidecar or send traces directly from your application.Follow the Sending Traces guide for detailed setup instructions.
3

Attach a Unit to Span Attributes

Add the unomiq_unit span attribute to link traces to logical entities in your application, such as customer IDs, tenant IDs, or user IDs. This enables per-unit filtering and cost analysis.Follow the Attaching a Unit to Traces guide to set this up.

Configure Billing Import

Enable detailed billing export from your cloud provider so Unomiq can ingest cost data and provide per-unit cost attribution. Follow the Enabling GCP Detailed Billing Export guide to set up the export to BigQuery.

Using the Query Engine

Once traces and billing data are flowing, use the Get Traces endpoint to query traces and spans with filters such as unit, service name, and time range.