plain.observer 0.3.3__tar.gz → 0.3.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of plain.observer might be problematic. Click here for more details.
- {plain_observer-0.3.3 → plain_observer-0.3.4}/PKG-INFO +9 -2
- {plain_observer-0.3.3 → plain_observer-0.3.4}/plain/observer/CHANGELOG.md +11 -0
- {plain_observer-0.3.3 → plain_observer-0.3.4}/plain/observer/README.md +8 -1
- {plain_observer-0.3.3 → plain_observer-0.3.4}/pyproject.toml +1 -1
- {plain_observer-0.3.3 → plain_observer-0.3.4}/.gitignore +0 -0
- {plain_observer-0.3.3 → plain_observer-0.3.4}/LICENSE +0 -0
- {plain_observer-0.3.3 → plain_observer-0.3.4}/README.md +0 -0
- {plain_observer-0.3.3 → plain_observer-0.3.4}/plain/observer/__init__.py +0 -0
- {plain_observer-0.3.3 → plain_observer-0.3.4}/plain/observer/admin.py +0 -0
- {plain_observer-0.3.3 → plain_observer-0.3.4}/plain/observer/cli.py +0 -0
- {plain_observer-0.3.3 → plain_observer-0.3.4}/plain/observer/config.py +0 -0
- {plain_observer-0.3.3 → plain_observer-0.3.4}/plain/observer/core.py +0 -0
- {plain_observer-0.3.3 → plain_observer-0.3.4}/plain/observer/default_settings.py +0 -0
- {plain_observer-0.3.3 → plain_observer-0.3.4}/plain/observer/migrations/0001_initial.py +0 -0
- {plain_observer-0.3.3 → plain_observer-0.3.4}/plain/observer/migrations/0002_trace_share_created_at_trace_share_id_trace_summary_and_more.py +0 -0
- {plain_observer-0.3.3 → plain_observer-0.3.4}/plain/observer/migrations/__init__.py +0 -0
- {plain_observer-0.3.3 → plain_observer-0.3.4}/plain/observer/models.py +0 -0
- {plain_observer-0.3.3 → plain_observer-0.3.4}/plain/observer/otel.py +0 -0
- {plain_observer-0.3.3 → plain_observer-0.3.4}/plain/observer/templates/observer/trace.html +0 -0
- {plain_observer-0.3.3 → plain_observer-0.3.4}/plain/observer/templates/observer/trace_detail.html +0 -0
- {plain_observer-0.3.3 → plain_observer-0.3.4}/plain/observer/templates/observer/trace_share.html +0 -0
- {plain_observer-0.3.3 → plain_observer-0.3.4}/plain/observer/templates/observer/traces.html +0 -0
- {plain_observer-0.3.3 → plain_observer-0.3.4}/plain/observer/templates/toolbar/observer.html +0 -0
- {plain_observer-0.3.3 → plain_observer-0.3.4}/plain/observer/templates/toolbar/observer_button.html +0 -0
- {plain_observer-0.3.3 → plain_observer-0.3.4}/plain/observer/urls.py +0 -0
- {plain_observer-0.3.3 → plain_observer-0.3.4}/plain/observer/views.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: plain.observer
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.4
|
|
4
4
|
Summary: On-page telemetry and observability tools for Plain.
|
|
5
5
|
Author-email: Dave Gaeddert <dave.gaeddert@dropseed.dev>
|
|
6
6
|
License-Expression: BSD-3-Clause
|
|
@@ -15,8 +15,12 @@ Description-Content-Type: text/markdown
|
|
|
15
15
|
|
|
16
16
|
**On-page telemetry and observability tools for Plain.**
|
|
17
17
|
|
|
18
|
+
- [Installation](#installation)
|
|
19
|
+
|
|
18
20
|
## Installation
|
|
19
21
|
|
|
22
|
+
Install the `plain.observer` package from [PyPI](https://pypi.org/project/plain.observer/):
|
|
23
|
+
|
|
20
24
|
```bash
|
|
21
25
|
uv add plain.observer
|
|
22
26
|
```
|
|
@@ -35,13 +39,14 @@ Include the observer URLs in your URL configuration:
|
|
|
35
39
|
|
|
36
40
|
```python
|
|
37
41
|
# app/urls.py
|
|
42
|
+
from plain.observer.urls import ObserverRouter
|
|
38
43
|
from plain.urls import Router, include
|
|
39
44
|
|
|
40
45
|
class AppRouter(Router):
|
|
41
46
|
namespace = ""
|
|
42
47
|
urls = [
|
|
43
48
|
# ...
|
|
44
|
-
include("observer/",
|
|
49
|
+
include("observer/", ObserverRouter),
|
|
45
50
|
]
|
|
46
51
|
```
|
|
47
52
|
|
|
@@ -50,3 +55,5 @@ Run migrations to create the necessary database tables:
|
|
|
50
55
|
```bash
|
|
51
56
|
plain migrate
|
|
52
57
|
```
|
|
58
|
+
|
|
59
|
+
After installation, Observer will automatically integrate with your application's toolbar (if using `plain.admin`). You can access the web interface at `/observer/traces/` or use the CLI commands to analyze traces.
|
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# plain-observer changelog
|
|
2
2
|
|
|
3
|
+
## [0.3.4](https://github.com/dropseed/plain/releases/plain-observer@0.3.4) (2025-07-30)
|
|
4
|
+
|
|
5
|
+
### What's changed
|
|
6
|
+
|
|
7
|
+
- Fixed URL configuration examples in installation documentation to use `ObserverRouter` instead of string path ([f55ac7d](https://github.com/dropseed/plain/commit/f55ac7d491))
|
|
8
|
+
- Enhanced README with table of contents, PyPI installation link, and post-installation usage instructions ([4ebecd1](https://github.com/dropseed/plain/commit/4ebecd1856))
|
|
9
|
+
|
|
10
|
+
### Upgrade instructions
|
|
11
|
+
|
|
12
|
+
- No changes required
|
|
13
|
+
|
|
3
14
|
## [0.3.3](https://github.com/dropseed/plain/releases/plain-observer@0.3.3) (2025-07-25)
|
|
4
15
|
|
|
5
16
|
### What's changed
|
|
@@ -2,8 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
**On-page telemetry and observability tools for Plain.**
|
|
4
4
|
|
|
5
|
+
- [Installation](#installation)
|
|
6
|
+
|
|
5
7
|
## Installation
|
|
6
8
|
|
|
9
|
+
Install the `plain.observer` package from [PyPI](https://pypi.org/project/plain.observer/):
|
|
10
|
+
|
|
7
11
|
```bash
|
|
8
12
|
uv add plain.observer
|
|
9
13
|
```
|
|
@@ -22,13 +26,14 @@ Include the observer URLs in your URL configuration:
|
|
|
22
26
|
|
|
23
27
|
```python
|
|
24
28
|
# app/urls.py
|
|
29
|
+
from plain.observer.urls import ObserverRouter
|
|
25
30
|
from plain.urls import Router, include
|
|
26
31
|
|
|
27
32
|
class AppRouter(Router):
|
|
28
33
|
namespace = ""
|
|
29
34
|
urls = [
|
|
30
35
|
# ...
|
|
31
|
-
include("observer/",
|
|
36
|
+
include("observer/", ObserverRouter),
|
|
32
37
|
]
|
|
33
38
|
```
|
|
34
39
|
|
|
@@ -37,3 +42,5 @@ Run migrations to create the necessary database tables:
|
|
|
37
42
|
```bash
|
|
38
43
|
plain migrate
|
|
39
44
|
```
|
|
45
|
+
|
|
46
|
+
After installation, Observer will automatically integrate with your application's toolbar (if using `plain.admin`). You can access the web interface at `/observer/traces/` or use the CLI commands to analyze traces.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{plain_observer-0.3.3 → plain_observer-0.3.4}/plain/observer/templates/observer/trace_detail.html
RENAMED
|
File without changes
|
{plain_observer-0.3.3 → plain_observer-0.3.4}/plain/observer/templates/observer/trace_share.html
RENAMED
|
File without changes
|
|
File without changes
|
{plain_observer-0.3.3 → plain_observer-0.3.4}/plain/observer/templates/toolbar/observer.html
RENAMED
|
File without changes
|
{plain_observer-0.3.3 → plain_observer-0.3.4}/plain/observer/templates/toolbar/observer_button.html
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|