Skip to content

Commit 45c6f3d

Browse files
committed
rename to telemetric
1 parent 1661f0e commit 45c6f3d

21 files changed

Lines changed: 51 additions & 521 deletions

.github/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ uv run pytest
5959
Use pytest-cov to generate coverage reports:
6060

6161
```bash
62-
uv run pytest --cov=api-tracer
62+
uv run pytest --cov=telemetric
6363
```
6464

6565
# Building docs

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# API Tracer
1+
# Telemetric
22

33
[![Actions Status][actions-badge]][actions-link]
44
[![Documentation Status][rtd-badge]][rtd-link]
@@ -12,17 +12,17 @@
1212
<!-- SPHINX-START -->
1313

1414
<!-- prettier-ignore-start -->
15-
[actions-badge]: https://github.com/scientific-python/api-tracer/workflows/CI/badge.svg
16-
[actions-link]: https://github.com/scientific-python/api-tracer/actions
17-
[conda-badge]: https://img.shields.io/conda/vn/conda-forge/api-tracer
18-
[conda-link]: https://github.com/conda-forge/api-tracer-feedstock
15+
[actions-badge]: https://github.com/scientific-python/telemetric/workflows/CI/badge.svg
16+
[actions-link]: https://github.com/scientific-python/telemetric/actions
17+
[conda-badge]: https://img.shields.io/conda/vn/conda-forge/telemetric
18+
[conda-link]: https://github.com/conda-forge/telemetric-feedstock
1919
[github-discussions-badge]: https://img.shields.io/static/v1?label=Discussions&message=Ask&color=blue&logo=github
20-
[github-discussions-link]: https://github.com/scientific-python/api-tracer/discussions
21-
[pypi-link]: https://pypi.org/project/api-tracer/
22-
[pypi-platforms]: https://img.shields.io/pypi/pyversions/api-tracer
23-
[pypi-version]: https://img.shields.io/pypi/v/api-tracer
24-
[rtd-badge]: https://readthedocs.org/projects/api-tracer/badge/?version=latest
25-
[rtd-link]: https://api-tracer.readthedocs.io/en/latest/?badge=latest
20+
[github-discussions-link]: https://github.com/scientific-python/telemetric/discussions
21+
[pypi-link]: https://pypi.org/project/telemetric/
22+
[pypi-platforms]: https://img.shields.io/pypi/pyversions/telemetric
23+
[pypi-version]: https://img.shields.io/pypi/v/telemetric
24+
[rtd-badge]: https://readthedocs.org/projects/telemetric/badge/?version=latest
25+
[rtd-link]: https://telemetric.readthedocs.io/en/latest/?badge=latest
2626

2727
<!-- prettier-ignore-end -->
2828

@@ -44,7 +44,7 @@ To track usage of one or more existing Python projects, run:
4444

4545
```python
4646
from opentelemetry.instrumentation.auto_instrumentation import initialize
47-
from api_tracer import install
47+
from telemetric import install
4848

4949
install(
5050
[
@@ -58,7 +58,7 @@ start_span_processor('my-project-service')
5858
To explicitly add instrumentation to functions you want to trace, use the `span` decorator:
5959

6060
```python
61-
from api_tracer import span, start_span_processor
61+
from telemetric import span, start_span_processor
6262

6363

6464
@span

build.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ class CustomBuildHook(BuildHookInterface):
99
def initialize(self, version, build_data):
1010
build_data['ext_modules'] = [
1111
Extension(
12-
"api_tracer._stats_wrapper",
13-
["src/api_tracer/_stats_wrapper.c"],
12+
"telemetric._stats_wrapper",
13+
["src/telemetric/_stats_wrapper.c"],
1414
),
1515
]
1616
build_data['cmdclass'] = {"build_ext": build_ext}

docs/conf.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
import importlib.metadata
44
from typing import Any
55

6-
project = "api-tracer"
6+
project = "telemetric"
77
copyright = "2025, Guen Prawiroatmodjo"
88
author = "Guen Prawiroatmodjo"
9-
version = release = importlib.metadata.version("api_tracer")
9+
version = release = importlib.metadata.version("telemetric")
1010

1111
extensions = [
1212
"myst_parser",
@@ -34,7 +34,7 @@
3434
"footer_icons": [
3535
{
3636
"name": "GitHub",
37-
"url": "https://github.com/scientific-python/api-tracer",
37+
"url": "https://github.com/scientific-python/telemetric",
3838
"html": """
3939
<svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 16 16">
4040
<path fill-rule="evenodd" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"></path>
@@ -43,7 +43,7 @@
4343
"class": "",
4444
},
4545
],
46-
"source_repository": "https://github.com/scientific-python/api-tracer",
46+
"source_repository": "https://github.com/scientific-python/telemetric",
4747
"source_branch": "main",
4848
"source_directory": "docs/",
4949
}

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# api-tracer
1+
# telemetric
22

33
```{toctree}
44
:maxdepth: 2

examples/test_scipy.ipynb

Lines changed: 4 additions & 474 deletions
Large diffs are not rendered by default.

examples/test_scipy.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# from opentelemetry.instrumentation.auto_instrumentation import initialize
2-
from api_tracer import install
2+
from telemetric import install
33

4-
# from api_tracer.console import setup_console
4+
# from telemetric.console import setup_console
55

66
install(["scipy.stats._correlation", "scipy.stats._distn_infrastructure"])
77
# initialize()

examples/test_span.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from time import sleep
22

3-
from api_tracer.console import setup_console
4-
from api_tracer.span import span
3+
from telemetric.console import setup_console
4+
from telemetric.span import span
55

66

77
@span

examples/test_statswrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from __future__ import annotations
22

3-
from api_tracer.statswrapper import stats_deco
3+
from telemetric.statswrapper import stats_deco
44

55

66
@stats_deco(None, b=("a", 3), c=None)

noxfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def pylint(session: nox.Session) -> None:
3232
# This needs to be installed into the package environment, and is slower
3333
# than a pre-commit check
3434
session.install("-e.", "pylint>=3.2")
35-
session.run("pylint", "api_tracer", *session.posargs)
35+
session.run("pylint", "telemetric", *session.posargs)
3636

3737

3838
@nox.session
@@ -91,7 +91,7 @@ def build_api_docs(session: nox.Session) -> None:
9191
"--module-first",
9292
"--no-toc",
9393
"--force",
94-
"src/api_tracer",
94+
"src/telemetric",
9595
)
9696

9797

0 commit comments

Comments
 (0)