Difference between revisions of "~/etc/loki-local-config.yaml"

From wikieduonline
Jump to navigation Jump to search
(Created page with " == See also == * {{Loki}} Category:Loki")
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
 +
auth_enabled: false
 +
 +
server:
 +
  http_listen_port: 3100
 +
  grpc_listen_port: [[9096]]
 +
 +
common:
 +
  instance_addr: 127.0.0.1
 +
  [[path_prefix]]: /Users/user/brew/var/loki
 +
  storage:
 +
    filesystem:
 +
      chunks_directory: /Users/user/brew/var/loki/chunks
 +
      rules_directory: /Users/user/brew/var/loki/rules
 +
  replication_factor: 1
 +
  ring:
 +
    kvstore:
 +
      store: inmemory
 +
 +
query_range:
 +
  results_cache:
 +
    cache:
 +
      embedded_cache:
 +
        enabled: true
 +
        max_size_mb: 100
 +
 +
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
 +
# analytics to Grafana Labs. These statistics are sent to https://stats.grafana.org/
 +
#
 +
# Statistics help us better understand how Loki is used, and they show us performance
 +
# levels for most users. This helps us prioritize features and documentation.
 +
# For more information on what's sent, look at
 +
# https://github.com/grafana/loki/blob/main/pkg/usagestats/stats.go
 +
# Refer to the buildReport method to see what goes into a report.
 +
#
 +
# If you would like to disable reporting, uncomment the following lines:
 +
#analytics:
 +
#  reporting_enabled: false
  
  

Latest revision as of 16:15, 2 January 2024

auth_enabled: false

server:
  http_listen_port: 3100
  grpc_listen_port: 9096

common:
  instance_addr: 127.0.0.1
  path_prefix: /Users/user/brew/var/loki
  storage:
    filesystem:
      chunks_directory: /Users/user/brew/var/loki/chunks
      rules_directory: /Users/user/brew/var/loki/rules
  replication_factor: 1
  ring:
    kvstore:
      store: inmemory

query_range:
  results_cache:
    cache:
      embedded_cache:
        enabled: true
        max_size_mb: 100

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
# analytics to Grafana Labs. These statistics are sent to https://stats.grafana.org/
#
# Statistics help us better understand how Loki is used, and they show us performance
# levels for most users. This helps us prioritize features and documentation.
# For more information on what's sent, look at
# https://github.com/grafana/loki/blob/main/pkg/usagestats/stats.go
# Refer to the buildReport method to see what goes into a report.
#
# If you would like to disable reporting, uncomment the following lines:
#analytics:
#  reporting_enabled: false



See also[edit]

Advertising: