mirror of
https://github.com/hanzoai/traces.git
synced 2026-10-30 18:20:41 +00:00
Important
This example was created for the 2.x Tempo architecture and has not been updated for 3.X because none of the maintainers deploy to Nomad. This example is deprecated and will eventually be removed if it is not updated by the community.
Microservices mode
This Nomad job will deploy Tempo in microservices mode using S3 backend.
Usage
Prerequisites
- S3 compatible storage
- Nomad memory oversubscription. If memory oversubscription is not enabled, remove
memory_maxfrom tempo.hcl
Have a look at the job file and Tempo configuration file and change it to suite your environment. (e.g. in config.yml change s3 endpoint to your s3 compatible storge, prometheus endpoint, etc...)
Variables
| Name | Value | Description |
|---|---|---|
| version | Default = "2.7.1" | Tempo version |
| s3_access_key_id | Default = "any" | S3 Access Key ID |
| s3_secret_access_key | Default = "any" | S3 Secret Access Key |
Run job
Inside directory with job run:
nomad job run tempo.hcl
To deploy a different version change variable.version default value or
specify from command line:
nomad job run -var="version=2.7.1" tempo.hcl
Scale Tempo
Nomad CLI
nomad job scale tempo distributor <count>