Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[new] chunk backend: Integrate Alibaba Cloud oss #5522

Closed
wants to merge 8 commits into from
Rate limit · GitHub

Access has been restricted

You have triggered a rate limit.

Please wait a few minutes before you try again;
in some cases this may take up to an hour.

Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add example config
Rate limit · GitHub

Access has been restricted

You have triggered a rate limit.

Please wait a few minutes before you try again;
in some cases this may take up to an hour.

liguozhong committed Mar 3, 2022
commit 428121cbaa670cc806fb9f8b3467d5862c3659bc
23 changes: 23 additions & 0 deletions docs/sources/configuration/examples.md
Original file line number Diff line number Diff line change
@@ -3,6 +3,29 @@ title: Examples
---
# Loki Configuration Examples

## alibaba-cloud-storage-config.yaml

```yaml
# This partial configuration uses Alibaba for chunk storage

schema_config:
configs:
- from: 2020-05-15
object_store: oss
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ha, I wish object-storage-service didn't share the same letters as open-source-software 😆

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great advice, the name oss of this product is really confusing.
I have changed oss to alibabacloud, and alibabacloud has only one object storage, so there is no need to specify oss products.

schema: v11
index:
prefix: loki_index_
period: 168h

storage_config:
alibaba:
bucket: <bucket>
endpoint: <endpoint>
access_key_id: <access_key_id>
secret_access_key: <secret_access_key>
```


## almost-zero-dependency.yaml

```yaml