一、简 介 Loki是受Prometheus启发由Grafana Labs团队开源的水平可扩展,高度可用的多租户日志聚合系统。
Loki's schema configfield uses dates in UTC to define what schema is applicable when. Previously, this charm wrote the date in local time, which will lead to an inconsistency for a few hours (seehttps://grafana.com/docs/loki/latest/operations/storage/schema/#changing-the-schema). This chan...
level=error ts=2022-07-21T00:23:04.620057Z caller=ruler.go:497 msg="unable to list rules" err="NoCredentialProviders: no valid providers in chain. Deprecated.\n\tFor verbose messaging see aws.Config.CredentialsChainVerboseErrors" level=error ts=2022-07-21T00:24:04.620403286Z caller=ruler.go...
runtime_config: file: /etc/loki/runtime-config/runtime-config.yaml schema_config: configs: - from: "2022-01-11" index: period: 24h prefix: loki_index_ object_store: s3 schema: v12 store: boltdb-shipper server: grpc_listen_port: 9095 http_listen_port: 3100...
schema: v11 index: prefix: index_ period: 24h storage_config: boltdb_shipper: active_index_directory: /opt/app/loki/boltdb-shipper-active cache_location: /opt/app/loki/boltdb-shipper-cache cache_ttl: 24h # Can be increased for faster performance over longer query periods, uses more disk spa...
/tsdb-cachecache_ttl:72hshared_store:s3schemaConfig:configs:-from:2024-01-01store:tsdbobject_store:s3schema:v12index:prefix:loki_tsdb_index_period:24hlimits_config:ingestion_rate_strategy:local# default = "global"# retention_period: 240hingestion_rate_mb:20# default = 4ingestion_burst_size_mb...
schema_config: configs: - from: 2020-10-24 store: boltdb-shipper object_store: filesystem schema: v11 index: prefix: index_ period: 24h ruler: alertmanager_url: http://localhost:9093 # By default, Loki will send anonymous, but uniquely-identifiable usage and configuration ...
When using JWT or JWKS authorization, you can specify route based access control. In that case, theLOKI_POLICIESshould be set to a JSON file with the following structure (as specified in therule-policy-schema.jsonfile): {"$schema":"./rule-policy-schema.json","rules": [ ...
1 timeoutSeconds: 1 tolerations: - effect: NoSchedule key: node-role.kubernetes.io/master operator: Exists volumes: - name: config configMap: defaultMode: 420 name: loki-promtail - name: run hostPath: path: /run/promtail type: "" - name: docker hostPath: path: /var/lib/docker/containe...
schema: v11 index: prefix: index_ period: 24h storage_config: boltdb_shipper: active_index_directory: /opt/app/loki/boltdb-shipper-active cache_location: /opt/app/loki/boltdb-shipper-cache cache_ttl: 24h # Can be increased for faster performance over longer query periods, uses more disk spa...