Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 0 additions & 45 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,48 +137,3 @@ print_all_stats(timing_digits=None)

The output includes call counts, parameter usage, and timing statistics in
scientific notation for each wrapped function.

### OpenTelemetry Integration (Legacy)

The library also supports OpenTelemetry-based tracing for distributed systems:

```python
from telemetric import span, start_span_processor


@span
def foo(bar):
print(bar)


if __name__ == "__main__":
start_span_processor("test-service")
foo(bar="baz")
```

## OpenTelemetry Collector Setup (Legacy)

If using the OpenTelemetry integration, you can set up collectors for trace
data:

To start a collector that prints each log message to stdout:

```bash
cd tests/collector
docker run -p 4317:4317 -p 4318:4318 --rm \
-v $(pwd)/collector-config.yaml:/etc/otelcol/config.yaml \
otel/opentelemetry-collector
```

To start a Jaeger collector with a dashboard UI:

```bash
docker run --name jaeger \
-e COLLECTOR_OTLP_ENABLED=true \
-p 16686:16686 \
-p 4317:4317 \
-p 4318:4318 \
jaegertracing/all-in-one:1.35
```

Access the Jaeger UI at <http://localhost:16686>
111 changes: 0 additions & 111 deletions examples/test_scipy.ipynb

This file was deleted.

1 change: 0 additions & 1 deletion examples/test_scipy.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# from opentelemetry.instrumentation.auto_instrumentation import initialize
from __future__ import annotations

from telemetric import install
Expand Down
31 changes: 0 additions & 31 deletions examples/test_span.py

This file was deleted.

6 changes: 0 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ test = [
]
dev = [
{ include-group = "test" },
{ include-group = "span" },
]
docs = [
"sphinx>=7.0",
Expand All @@ -55,11 +54,6 @@ docs = [
"sphinx_autodoc_typehints",
"furo>=2023.08.17",
]
span = [
"opentelemetry-api==1.25.0",
"opentelemetry-exporter-otlp-proto-grpc==1.25.0",
"opentelemetry-sdk==1.25.0",
]
proxy = [
"fastapi==0.104.1",
"requests==2.31.0",
Expand Down
30 changes: 0 additions & 30 deletions src/telemetric/console.py

This file was deleted.

43 changes: 0 additions & 43 deletions src/telemetric/span.py

This file was deleted.