You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+64-9Lines changed: 64 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,15 +13,44 @@ We recommend to use `nix` to fulfill all development dependencies. Visit [Nix Do
13
13
- to build the binary run `nix-shell --run 'make build'`
14
14
- to run tests run `nix-shell --run 'make test'`
15
15
16
+
## Configuration
17
+
18
+
This gateway supports the same object storage configuration as the main Thanos project. You can use the `--objstore.config-file` or `--objstore.config` flags to specify your storage backend.
19
+
20
+
### Supported Storage Backends
21
+
22
+
Thanks to the integration with [thanos-io/objstore](https://github.com/thanos-io/objstore), the gateway supports all major cloud storage providers:
23
+
24
+
-**Amazon S3** (and S3-compatible like MinIO)
25
+
-**Google Cloud Storage (GCS)**
26
+
-**Microsoft Azure Blob Storage**
27
+
-**OpenStack Swift**
28
+
-**Tencent Cloud Object Storage (COS)**
29
+
-**Alibaba Cloud Object Storage Service (OSS)**
30
+
-**Local Filesystem**
31
+
32
+
### Configuration Examples
33
+
34
+
See the [`examples/`](examples/) directory for configuration examples:
To convert TSDB blocks in the `.data/source` directory that overlap `09/2021` and write the resulting parquet files into the `.data/destination` directory.
110
+
To convert TSDB blocks from one storage to another, you can specify separate configurations for source (TSDB) and destination (Parquet) storage:
cmd.Flag(configFlag, "Alternative to 'objstore.config-file' flag (mutually exclusive). Content of YAML file that contains object store configuration. See format details: https://thanos.io/tip/thanos/storage.md/#configuration").
cmd.Flag(configFileFlag, "Path to YAML file that contains object store configuration. See format details: https://thanos.io/tip/thanos/storage.md/#configuration").
0 commit comments