Skip to content

Axiom

Export Tilebox workflow logs and traces to Axiom datasets in addition to Tilebox Console.

Tilebox can export workflow telemetry to Axiom through OTLP. Use this when your team already analyzes logs and traces in Axiom or wants long-term telemetry in Axiom datasets.

Built-in Tilebox Console observability does not require Axiom. Axiom export is optional and additive.

Tilebox is pre-integrated with Axiom

Configure Axiom export

Create Axiom datasets for logs and traces and an API key with ingest permissions. Then configure export when the runner process starts.

Environment variables

You can omit credentials from code by setting environment variables:

Variable Used by
AXIOM_API_KEY log and trace export
AXIOM_LOGS_DATASET configure_otel_logging_axiom()
AXIOM_TRACES_DATASET configure_otel_tracing_axiom()

Using Axiom export with release runners

When a release runner starts a workflow, it imports the runner module configured in tilebox.workflow.toml with the cluster’s environment variables and secrets loaded into os.environ.

Configure Axiom export at module level in runner.py and guard it behind AXIOM_API_KEY so local tilebox workflow build-release runs without Axiom credentials:

my_workflow/runner.py python
import os

from tilebox.workflows import Runner
from tilebox.workflows.observability.logging import configure_otel_logging_axiom
from tilebox.workflows.observability.tracing import configure_otel_tracing_axiom

from my_workflow.tasks import ProcessScene

if os.environ.get("AXIOM_API_KEY"):
    if os.environ.get("AXIOM_TRACES_DATASET"):
        configure_otel_tracing_axiom(service="sentinel-2-runner")
    if os.environ.get("AXIOM_LOGS_DATASET"):
        configure_otel_logging_axiom(service="sentinel-2-runner")

runner = Runner(tasks=[ProcessScene])

Set AXIOM_API_KEY as a secret and AXIOM_TRACES_DATASET and AXIOM_LOGS_DATASET as environment variables on the target cluster in Workflows → Environment. Built-in Tilebox export remains active alongside Axiom export.

Inspecting logs and traces in Axiom

Tilebox workflow logs in Axiom
Tilebox workflow traces in Axiom

Type to search…