@@ -169,6 +169,7 @@ are perfect for exploration: they capture every metric, span, and log record in
169169can print them without running a collector.
170170
171171``` {python}
172+ #| eval: false
172173import polars as pl
173174import pointblank as pb
174175from pointblank.integrations.otel import OTelExporter
@@ -204,6 +205,7 @@ negative amount, a zero amount, and a missing customer name), validate it, and t
204205results.
205206
206207``` {python}
208+ #| eval: false
207209df = pl.DataFrame(
208210 {
209211 "order_id": [101, 102, 103, 104, 105],
@@ -232,6 +234,7 @@ The report shows two steps with failures. Now we create an `OTelExporter` with a
232234enabled and export the validation results.
233235
234236``` {python}
237+ #| eval: false
235238otel = OTelExporter(
236239 meter_provider=meter_provider,
237240 tracer_provider=tracer_provider,
@@ -253,6 +256,7 @@ The metric reader holds all counters, gauges, and histograms that were recorded.
253256through them to see every instrument and its current value.
254257
255258``` {python}
259+ #| eval: false
256260metrics_data = metric_reader.get_metrics_data()
257261
258262for resource_metrics in metrics_data.resource_metrics:
@@ -272,6 +276,7 @@ that would appear in Prometheus, Datadog, or any OTel-compatible metrics backend
272276Each ` interrogate() ` call produces a root span with one child per validation step:
273277
274278``` {python}
279+ #| eval: false
275280spans = span_exporter.get_finished_spans()
276281
277282for span in spans:
@@ -294,6 +299,7 @@ Log records are emitted for each validation step that exceeds a threshold. The s
294299record corresponds to the highest threshold level breached by that step.
295300
296301``` {python}
302+ #| eval: false
297303logs = log_exporter.get_finished_logs()
298304
299305for log in logs:
@@ -309,6 +315,7 @@ Elasticsearch, or CloudWatch) where you can search and alert on them.
309315
310316``` {python}
311317#| echo: false
318+ #| eval: false
312319meter_provider.shutdown()
313320tracer_provider.shutdown()
314321logger_provider.shutdown()
0 commit comments