下面是我在config.yaml中的配置
storageConfig:
cassandra:
endpoint: https://api-test/v1/apps/tables/blobTable/blobs/
client_cert: |
client_key: |
keyspace: loki
table: logs
batch_size: 1000
batch_timeout: 1s
max_retries: 3
字符串
我得到下面的错误
failed parsing config: /etc/loki/config/config.yaml: yaml: unmarshal errors:
line 75: field batch_size not found in type cassandra.Config
line 76: field batch_timeout not found in type cassandra.Config
line 77: field client_cert not found in type cassandra.Config
line 142: field client_key not found in type cassandra.Config
line 173: field endpoint not found in type cassandra.Config
line 176: field table not found in type cassandra.Config
型
从官方文档中,我无法在cassandra中找到端点选项,但从chatgpt中,我得到了该配置。
我在配置中缺少了什么吗?或者根本不允许端点?
1条答案
按热度按时间daupos2t1#
如果您在文档中查找
cassandra
,您将找到该存储的所有可用配置选项。https://grafana.com/docs/loki/latest/configuration/#storage_config