# Quick Start

<!--- Template Guidance 
Write a short introduction and the getting started guide to your product. 
If there are any standout features to call it, this is probably the place to do it. 

NOTE: Take a look at the quick-start of Object Storage (community/community/content/product/storage/object-storage/quick-start/_index.md) for an idea on the tone and the level of detail. 
-->


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

```bash
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:

```bash
exo dbaas type show thanos --settings thanos
```

Output:

```bash
┼────────────────┼────────┼──────────────────────────────────────────────────┼
│      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:

```bash
# 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]({{< relref "../how-to/_index.md" >}}) for integration examples and connection details.


## Next Steps
- [Configure Prometheus remote write]({{< relref "../how-to/prom-to-thanos/_index.md" >}}) to send metrics to Thanos
- [Connect Grafana]({{< relref "../how-to/integ-grafana/_index.md" >}}) to query and visualize your metrics


