Like Prometheus, but for logs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
loki/tools/dev/k3d/environments/loki-distributed/values/default/values.libsonnet

56 lines
1.2 KiB

{
lokiValues: function(configStr) {
loki: {
config: configStr,
},
ingester: {
replicas: 3,
persistence: {
enabled: true,
},
podAnnotations: {
'prometheus.io/scrape': 'true',
'prometheus.io/path': '/metrics',
'prometheus.io/port': '3100',
},
},
distributor: {
replicas: 3,
podAnnotations: {
'prometheus.io/scrape': 'true',
'prometheus.io/path': '/metrics',
'prometheus.io/port': '3100',
},
},
querier: {
replicas: 3,
podAnnotations: {
'prometheus.io/scrape': 'true',
'prometheus.io/path': '/metrics',
'prometheus.io/port': '3100',
},
},
queryFrontend: {
replicas: 3,
podAnnotations: {
'prometheus.io/scrape': 'true',
'prometheus.io/path': '/metrics',
'prometheus.io/port': '3100',
},
},
gateway: {
replicas: 1,
},
compactor: {
enabled: true,
persistence: {
enabled: true,
},
podAnnotations: {
'prometheus.io/scrape': 'true',
'prometheus.io/path': '/metrics',
'prometheus.io/port': '3100',
},
},
},
}