This repository contains examples for using the Tilebox Go library.
To run the examples, TILEBOX_API_KEY environment variable needs to be set to your Tilebox API key.
Head over to Tilebox Console if you don't have one already.
Each example can be run using the following command:
go run ./examples/<example-folder>For example, to run the workflows/helloworld example:
go run ./examples/workflows/helloworldWorkflow examples submit a job first, then start a task runner in the same process.
- Hello world: How to submit a task and run it.
- MapReduce: How to fan out tasks and submit dependent reduce tasks.
- Progress: How to report workflow progress.
- Protobuf tasks: How to use Protobuf tasks.
- Observability: How to query Tilebox workflow telemetry and export traces/logs to custom Axiom or OpenTelemetry backends.
- Querying data: How to query datapoints from dataset collections.
- Ingest and delete data: How to create a collection, ingest datapoints, and then delete them.