from tilebox.workflows import Client
from tilebox.workflows.observability.logging import configure_otel_logging_axiom
from tilebox.workflows.observability.tracing import configure_otel_tracing_axiom
from my_workflow import ProcessScene
configure_otel_tracing_axiom(
service="sentinel-2-runner",
dataset="workflow-traces",
api_key="<axiom-api-key>",
)
configure_otel_logging_axiom(
service="sentinel-2-runner",
dataset="workflow-logs",
api_key="<axiom-api-key>",
)
client = Client(name="sentinel-2-runner")
runner = client.runner(tasks=[ProcessScene])
runner.run_forever()