@effectstream/grafana-loki 0.100.13 → 0.100.15

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.
Files changed (2) hide show
  1. package/README.md +40 -0
  2. package/package.json +1 -1
package/README.md ADDED
@@ -0,0 +1,40 @@
1
+ # @effectstream/grafana-loki
2
+
3
+ NPM wrapper around [Grafana Loki](https://grafana.com/oss/loki/) — the
4
+ log-aggregation backend EffectStream nodes ship structured logs to in
5
+ local development. Installs a pinned binary into
6
+ `node_modules/.bin/grafana-loki`.
7
+
8
+ ## Install
9
+
10
+ ```bash
11
+ bun add @effectstream/grafana-loki
12
+ # or
13
+ npm install @effectstream/grafana-loki
14
+ ```
15
+
16
+ ## Standalone usage
17
+
18
+ ```bash
19
+ # Start Loki with a config file
20
+ bunx grafana-loki -config.file=loki.yaml
21
+
22
+ # Or invoke through this package
23
+ bun run --bun @effectstream/grafana-loki/start
24
+ ```
25
+
26
+ The package downloads the pinned tarball for your OS/arch on install.
27
+
28
+ ## Inside EffectStream
29
+
30
+ The orchestrator's observability step pairs this with
31
+ `@effectstream/grafana-alloy` so logs emitted via `@effectstream/log`
32
+ land in Loki, queryable from a local Grafana. Out of the box you get
33
+ component-tagged (`ComponentNames`) logs without writing any collector
34
+ config.
35
+
36
+ ## Links
37
+
38
+ - Docs: https://effectstream.github.io/docs/packages/binaries/grafana-loki
39
+ - Source: https://github.com/PaimaStudios/paima-engine/tree/main/packages/binaries/grafana-loki
40
+ - Upstream Grafana Loki: https://grafana.com/oss/loki/
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@effectstream/grafana-loki",
3
- "version": "0.100.13",
3
+ "version": "0.100.15",
4
4
  "description": "Grafana Loki binary wrapper for EffectStream",
5
5
  "main": "index.js",
6
6
  "bin": {