You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@ All notable changes to this project will be documented in this file.
15
15
- Add Log support for emit and live-check ([#1042](https://github.com/open-telemetry/weaver/pull/1042) by @jerbly)
16
16
- Add OTLP log emission for policy findings in live-check. Whenever a PolicyFinding is created, a log_record is emitted to your configured OTLP endpoint. ([#1045](https://github.com/open-telemetry/weaver/pull/1045) by @jerbly)
17
17
- Deprecate `weaver registry search` command. This command is not compatible with V2 schema and will be removed in a future version. Users should search the generated documentation instead. ([#1057](https://github.com/open-telemetry/weaver/pull/1057) by @jerbly)
18
+
- Add support for continuous live-check sessions with `--inactivity-timeout=0`, `--output=none` and `--no-stats` ([#1066](https://github.com/open-telemetry/weaver/pull/1066) by @jerbly)
Copy file name to clipboardExpand all lines: crates/weaver_live_check/README.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -274,6 +274,14 @@ Each policy finding is emitted as an OTLP log record with the following structur
274
274
-`weaver.finding.signal_type`: Signal type (e.g., "span", "event", "metric")
275
275
-`weaver.finding.signal_name`: Signal name (e.g., event name or metric name)
276
276
277
+
## Continuous Running Sessions
278
+
279
+
For long-running live-check sessions (for example, in a staging environment), there are a few settings to consider:
280
+
281
+
-`--inactivity-timeout=0`: If this is set to zero then weaver never times out.
282
+
-`--output=none`: If this is set to none then no template engine is loaded and nothing is rendered out to the console or files.
283
+
-`--no-stats`: If this is set then statistics are not accumulated over the running time of live-check which has the potential to otherwise store a lot of info in memory.
284
+
277
285
## Usage examples
278
286
279
287
Default operation. Receive OTLP requests and output findings as it arrives. Useful for debugging an application to check for telemetry problems as you step through your code. (ctrl-c to exit, or wait for the timeout)
0 commit comments