Skip to content

Commit

Permalink
sync with Cortex for s3 path style url
Browse files Browse the repository at this point in the history
  • Loading branch information
mizeng committed Jul 1, 2019
1 parent 4c71382 commit ce98030
Show file tree
Hide file tree
Showing 13 changed files with 164 additions and 149 deletions.
64 changes: 61 additions & 3 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions docs/operations.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,16 @@ will stored in `s3://BUCKET_NAME/faker/`.

The S3 configuration is setup with url format: `s3://access_key:secret_access_key@region/bucket_name`.

For custom S3 endpoint (like Ceph Object Storage with S3 Compatible API), if it's using path-style url rather than
virtual hosted bucket addressing, please set config like below:

```yaml
storage_config:
aws:
s3: s3://access_key:secret_access_key@custom_endpoint/bucket_name
s3forcepathstyle: true
```

#### DynamoDB

Loki uses DynamoDB for the index storage. It is used for querying logs, make
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

49 changes: 21 additions & 28 deletions vendor/github.com/cortexproject/cortex/pkg/chunk/schema.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

40 changes: 24 additions & 16 deletions vendor/github.com/cortexproject/cortex/pkg/chunk/series_store.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ce98030

Please sign in to comment.