stack demo OK, missing dashboard provisionning

This commit is contained in:
Grégory Lebreton 2024-02-06 11:33:12 +01:00
parent 3d6947fda9
commit f3097a269a
5 changed files with 3198 additions and 7 deletions

File diff suppressed because it is too large Load Diff

View File

@ -17,4 +17,4 @@ providers:
disableDeletion: false
updateIntervalSeconds: 3 #how often Grafana will scan for changed dashboards
options:
path: /var/lib/grafana/dashboards
path: /etc/grafana/provisioning/dashboards

File diff suppressed because it is too large Load Diff

View File

@ -28,8 +28,46 @@ schema_config:
prefix: index_
period: 24h
ruler:
alertmanager_url: http://localhost:9093
frontend:
# Maximum number of outstanding requests per tenant per frontend; requests
# beyond this error with HTTP 429.
# CLI flag: -querier.max-outstanding-requests-per-tenant
max_outstanding_per_tenant: 2048 # default = 100]
# query_range:
# parallelise_shardable_queries: false
# max_retries: 5
# split_queries_by_interval: 15m
# cache_results: true
# results_cache:
# cache:
# enable_fifocache: true
# fifocache:
# max_size_items: 1024
# validity: 24h
query_range:
parallelise_shardable_queries: false
results_cache:
cache:
embedded_cache:
enabled: true
max_size_mb: 500
chunk_store_config:
max_look_back_period: 0s
chunk_cache_config:
embedded_cache:
enabled: true
max_size_mb: 500
ttl: 24h
# analytics:
# reporting_enabled: false
# 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/
@ -41,5 +79,4 @@ ruler:
# 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

View File

@ -65,7 +65,7 @@ scrape_configs:
- targets:
- localhost
labels:
host: lenovo
# host: lenovo
job: ssh-logs
__path__: /var/log/auth.log
__path__: /var/log/auth.log*