@emeryld/obs-stack 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/configs/loki.yaml CHANGED
@@ -16,12 +16,14 @@ schema_config:
16
16
 
17
17
  storage_config:
18
18
  boltdb_shipper:
19
- active_index_directory: /loki/index
19
+ active_index_directory: /var/loki/index
20
+ cache_location: /var/loki/cache
20
21
  shared_store: filesystem
21
22
  filesystem:
22
- directory: /loki/chunks
23
+ directory: /var/loki/chunks
23
24
 
24
25
  limits_config:
26
+ allow_structured_metadata: true
25
27
  enforce_metric_name: false
26
28
  reject_old_samples: true
27
29
 
@@ -10,23 +10,20 @@ processors:
10
10
  send_batch_size: 1024
11
11
 
12
12
  exporters:
13
- tempo:
13
+ otlp:
14
14
  endpoint: tempo:4317
15
- insecure: true
16
- loki:
17
- endpoint: http://loki:3100/loki/api/v1/push
18
- tenant_id: rumbl
19
- labels:
20
- source: backend
21
- auto_timestamp: true
15
+ tls:
16
+ insecure: true
17
+ otlphttp:
18
+ endpoint: http://loki:3100/otlp
22
19
 
23
20
  service:
24
21
  pipelines:
25
22
  traces:
26
23
  receivers: [otlp]
27
24
  processors: [batch]
28
- exporters: [tempo]
25
+ exporters: [otlp]
29
26
  logs:
30
27
  receivers: [otlp]
31
28
  processors: [batch]
32
- exporters: [loki]
29
+ exporters: [otlphttp]
@@ -13,8 +13,7 @@ storage:
13
13
  backend: local
14
14
  local:
15
15
  path: /var/tempo/traces
16
- retention: 24h
17
16
 
18
17
  compactor:
19
- working_directory: /var/tempo/compactor
20
- retention: 24h
18
+ compaction:
19
+ block_retention: 24h
@@ -34,9 +34,10 @@ services:
34
34
  - "-config.file=/etc/loki/local-config.yaml"
35
35
  volumes:
36
36
  - ./configs/loki.yaml:/etc/loki/local-config.yaml:ro
37
- - loki-data:/loki
37
+ - loki-data:/var/loki
38
38
  restart: unless-stopped
39
39
 
40
+
40
41
  otel-collector:
41
42
  image: otel/opentelemetry-collector-contrib:0.80.0
42
43
  ports:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emeryld/obs-stack",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "Docker Compose-based Grafana + Tempo + Loki + OpenTelemetry Collector stack",
5
5
  "type": "commonjs",
6
6
  "bin": {