2-S3-Cluster-Example.yaml yaml # This is a complete configuration to deploy Loki backed by a s3-compatible API# like MinIO for storage.# Index files will be written locally at /loki/index and, eventually, will be shipped to the storage via tsdb-shipper.auth_enabled:falseserver:http_listen...
Like Prometheus, but for logs. Contribute to grafana/loki development by creating an account on GitHub.
# full example: http://loki:supersecret@localhost.:9000 s3: http://loki:supersecret@minio.obs:80 bucketnames: loki s3forcepathstyle: true boltdb_shipper: active_index_directory: /var/loki/boltdb-shipper-active cache_location: /var/loki/boltdb-shipper-cache cache_ttl:...
这里我们使用 MinIO 来作为远程数据存储,分别配置读和写的 Loki 实例副本数为2,为了在 Loki 前面添加一个负载均衡器,需要开启 Gateway,对应的 Values 文件如下所示: 复制 #ci/minio-values.yamlloki:commonConfig:path_prefix: /var/lokireplication_factor:2authEnabled:false#Configurationforthewritewrite:#--Numbe...
Minio: which Loki uses to store its index and chunks. Grafana: which provides visualization of the log lines captured within Loki. Getting started sample application Before you begin Before you start, you need to have the following installed on your local system: ...
* loki/main.go: Log which config file path is used on startup ([#12985](https://github.com/grafana/loki/issues/12985)) ([7a3338e](https://github.com/grafana/loki/commit/7a3338ead82e4c577652ab86e9a55faf200ac05a)) * new stream count limiter ([#13006](https://github.com/grafana/...
minio: enabled: true compactor: working_directory: /data/retention shared_store: s3 compaction_interval: 10m retention_enabled: true retention_delete_delay: 2h retention_delete_worker_count: 150 schema_config: configs: - from: "2023-01-03" ...
配置位置如下图。完成了 MinIO 的预配置后,我们就可以使用 helm 部署 Loki,具体步骤参考loki/loki-onetime-setup.sh。 添加日志数据源 Grafana 内置了 Loki 支持,只需添加数据源即可。Loki 数据源的关键参数就是 HTTP URL。前面部署了 网关,所以我们可以将 HTTP 入口填写为http://loki-gateway.loki.svc.cluster...
as a valid `loki.config.schema_config.configs` with an `object_store` that matches the common storage section. For example, to use MinIO as your object storage backend: loki: config: common: storage: filesystem: null s3: endpoint: minio.minio.svc.cluster.local:9000 ...
MinIO Loki 与存储之间需要有大带宽,不推荐跨云跨区域部署。 需要具有以下权限的访问密钥: ListBucket PutObject GetObject DeleteObject 不同云平台授权策略有差异,如果遇到权限不足,请改成整个 Bucket 完整读写权限。 获取Helm 仓库 代码语言:shell 复制