Skip to content

Commit

Permalink
Visualize NAP logs in mock collector grafana
Browse files Browse the repository at this point in the history
  • Loading branch information
dhurley committed Dec 2, 2024
1 parent f3b0636 commit 2597fd6
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/mock/collector/grafana/provisioning/plugins/plugin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: 1

apps:
- type: "grafana-lokiexplore-app"
org_id: 1
org_name: "Grafana"
disabled: false
36 changes: 36 additions & 0 deletions test/mock/collector/loki-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
auth_enabled: false

limits_config:
allow_structured_metadata: true
volume_enabled: true

server:
http_listen_port: 3100

common:
ring:
instance_addr: 0.0.0.0
kvstore:
store: inmemory
replication_factor: 1
path_prefix: /tmp/loki

schema_config:
configs:
- from: 2020-05-15
store: tsdb
object_store: filesystem
schema: v13
index:
prefix: index_
period: 24h

storage_config:
tsdb_shipper:
active_index_directory: /tmp/loki/index
cache_location: /tmp/loki/index_cache
filesystem:
directory: /tmp/loki/chunks

pattern_ingester:
enabled: true

0 comments on commit 2597fd6

Please sign in to comment.