Quick Start

Specific Options for Thanos

You can find all the specific options for Thanos by using the CLI help:

exo dbaas create --help-thanos
  --thanos-ip-filter   allow incoming connections from CIDR address block  
  --thanos-settings    Thanos configuration settings (JSON format)

Additional Configuration

You can list all settings available for the database service by using the command:

exo dbaas type show thanos --settings thanos

Output:

┼────────────────┼────────┼──────────────────────────────────────────────────┼
│      KEY       │  TYPE  │                   DESCRIPTION                    │
┼────────────────┼────────┼──────────────────────────────────────────────────┼
│ compactor      │ object │ Configuration options for Thanos Compactor.      │
│ query          │ object │ Configuration options for Thanos Query.          │
│ query-frontend │ object │ Configuration options for Thanos Query Frontend. │
┼────────────────┼────────┼──────────────────────────────────────────────────┼

Generic CLI Operations

While Thanos-specific CLI commands are not available yet, you can use generic exo x commands for basic operations:

# List all DBaaS services (including Thanos)
exo x list-dbaas-services --zone ch-dk-2

# View service metrics
echo '{"period":"hour"}' | exo x get-dbaas-service-metrics my-thanos --zone ch-dk-2

# View service logs
echo '{"limit":10}' | exo x get-dbaas-service-logs my-thanos --zone ch-dk-2

# Delete a service
exo x delete-dbaas-service my-thanos --zone ch-dk-2

Service Integrations

Once your Thanos service is running, you can connect it with other Exoscale services:

  • Prometheus Instances: Configure Prometheus remote write to send metrics to Thanos Receivers
  • Grafana: Integrate with Exoscale Managed Grafana or external Grafana instances for visualization
  • OpenSearch: Forward metrics to OpenSearch for advanced querying

See the How-To Guide for integration examples and connection details.

Next Steps

Last updated on