Skip to content

Commit fc51261

Browse files
authored
Merge pull request #383 from posit-dev/feat-otel-integration
feat: OTEL integration
2 parents 3c298a5 + 81341d5 commit fc51261

15 files changed

Lines changed: 1969 additions & 4 deletions

great-docs.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,3 +269,13 @@ reference:
269269
Prebuilt action functions for common notification patterns.
270270
contents:
271271
- send_slack_notification
272+
- emit_otel
273+
274+
- title: Integrations
275+
desc: >
276+
Classes for integrating Pointblank with external observability and monitoring
277+
systems. Use `OTelExporter` to export validation results as OpenTelemetry
278+
metrics, traces, and logs.
279+
contents:
280+
- name: integrations.otel.OTelExporter
281+
members: true

pointblank/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
)
4848
from pointblank.generate.base import GeneratorConfig
4949
from pointblank.inspect import has_columns, has_rows
50+
from pointblank.integrations.otel import emit_otel
5051
from pointblank.schema import Schema, generate_dataset
5152
from pointblank.segments import seg_group
5253
from pointblank.thresholds import Actions, FinalActions, Thresholds
@@ -107,6 +108,7 @@
107108
"get_row_count",
108109
"seg_group",
109110
"send_slack_notification",
111+
"emit_otel",
110112
# Data generation - Field classes
111113
"Field",
112114
"IntField",
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
from pointblank.integrations.otel import OTelExporter, emit_otel
2+
3+
__all__ = ["OTelExporter", "emit_otel"]

0 commit comments

Comments
 (0)