0

我第一次开始使用 S3 for prometheus 实现thanos store,并且在执行thanos-store 配置时收到此错误消息。有人可以帮我调试错误吗?

消息:level=info ts=2022-02-28T16:37:31.940118532Z caller=factory.go:49 msg="loading bucket configuration" level=error ts=2022-02-28T16:37:31.940409873Z caller=main. go:132 err="yaml: unmarshal errors:\n line 2: field encryptsse not found in type s3.Config\ncreate s3 client\ngithub.com/thanos-io/thanos/pkg/objstore/client.NewBucket\n\ t/home/circleci/project/pkg/objstore/client/factory.go:82\nmain.runStore\n\t/home/circleci/project/cmd/thanos/store.go:250\nmain.registerStore.func1\ n\t/home/circleci/project/cmd/thanos/store.go:195\nmain.main\n\t/home/circleci/project/cmd/thanos/main.go:130\nruntime.main\n\ t/usr/local/go/src/runtime/proc.go:225\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1371\n创建存储桶客户端\nmain.runStore\ n\t/home/circleci/project/cmd/thanos/store.go:252\nmain.registerStore。func1\n\t/home/circleci/project/cmd/thanos/store.go:195\nmain.main\n\t/home/circleci/project/cmd/thanos/main.go:130\nruntime.main\ n\t/usr/local/go/src/runtime/proc.go:225\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1371\n准备存储命令失败\nmain .main\n\t/home/circleci/project/cmd/thanos/main.go:132\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:225\nruntime.goexit \n\t/usr/local/go/src/runtime/asm_amd64.s:1371"退出\n\t/usr/local/go/src/runtime/asm_amd64.s:1371"退出\n\t/usr/local/go/src/runtime/asm_amd64.s:1371"

4

0 回答 0