@emeryld/obs-stack 0.1.15 → 0.1.16

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.
@@ -8,6 +8,14 @@ processors:
8
8
  batch:
9
9
  timeout: 10s
10
10
  send_batch_size: 1024
11
+ attributes/loki:
12
+ actions:
13
+ - action: insert
14
+ key: loki.resource.labels
15
+ value: service.name
16
+ - action: insert
17
+ key: loki.attribute.labels
18
+ value: logType,level,name,status,method,path,operation,direction,durationMs
11
19
 
12
20
  exporters:
13
21
  otlp:
@@ -17,19 +25,6 @@ exporters:
17
25
 
18
26
  loki:
19
27
  endpoint: http://loki:3100/loki/api/v1/push
20
- labels:
21
- resource:
22
- - service.name
23
- attributes:
24
- - logType
25
- - level
26
- - name
27
- - status
28
- - method
29
- - path
30
- - operation
31
- - direction
32
- - durationMs
33
28
 
34
29
  service:
35
30
  pipelines:
@@ -39,5 +34,5 @@ service:
39
34
  exporters: [otlp]
40
35
  logs:
41
36
  receivers: [otlp]
42
- processors: [batch]
37
+ processors: [attributes/loki, batch]
43
38
  exporters: [loki]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emeryld/obs-stack",
3
- "version": "0.1.15",
3
+ "version": "0.1.16",
4
4
  "description": "Docker Compose-based Grafana + Tempo + Loki + OpenTelemetry Collector stack",
5
5
  "type": "commonjs",
6
6
  "bin": {