plain.observer 0.3.0__tar.gz → 0.3.2__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.0 → plain_observer-0.3.2}/PKG-INFO +1 -1
- {plain_observer-0.3.0 → plain_observer-0.3.2}/plain/observer/CHANGELOG.md +21 -0
- {plain_observer-0.3.0 → plain_observer-0.3.2}/plain/observer/admin.py +11 -5
- {plain_observer-0.3.0 → plain_observer-0.3.2}/plain/observer/cli.py +1 -1
- {plain_observer-0.3.0 → plain_observer-0.3.2}/pyproject.toml +1 -1
- {plain_observer-0.3.0 → plain_observer-0.3.2}/.gitignore +0 -0
- {plain_observer-0.3.0 → plain_observer-0.3.2}/LICENSE +0 -0
- {plain_observer-0.3.0 → plain_observer-0.3.2}/README.md +0 -0
- {plain_observer-0.3.0 → plain_observer-0.3.2}/plain/observer/README.md +0 -0
- {plain_observer-0.3.0 → plain_observer-0.3.2}/plain/observer/__init__.py +0 -0
- {plain_observer-0.3.0 → plain_observer-0.3.2}/plain/observer/config.py +0 -0
- {plain_observer-0.3.0 → plain_observer-0.3.2}/plain/observer/core.py +0 -0
- {plain_observer-0.3.0 → plain_observer-0.3.2}/plain/observer/default_settings.py +0 -0
- {plain_observer-0.3.0 → plain_observer-0.3.2}/plain/observer/migrations/0001_initial.py +0 -0
- {plain_observer-0.3.0 → plain_observer-0.3.2}/plain/observer/migrations/0002_trace_share_created_at_trace_share_id_trace_summary_and_more.py +0 -0
- {plain_observer-0.3.0 → plain_observer-0.3.2}/plain/observer/migrations/__init__.py +0 -0
- {plain_observer-0.3.0 → plain_observer-0.3.2}/plain/observer/models.py +0 -0
- {plain_observer-0.3.0 → plain_observer-0.3.2}/plain/observer/otel.py +0 -0
- {plain_observer-0.3.0 → plain_observer-0.3.2}/plain/observer/templates/observer/trace.html +0 -0
- {plain_observer-0.3.0 → plain_observer-0.3.2}/plain/observer/templates/observer/trace_detail.html +0 -0
- {plain_observer-0.3.0 → plain_observer-0.3.2}/plain/observer/templates/observer/trace_share.html +0 -0
- {plain_observer-0.3.0 → plain_observer-0.3.2}/plain/observer/templates/observer/traces.html +0 -0
- {plain_observer-0.3.0 → plain_observer-0.3.2}/plain/observer/templates/toolbar/observer.html +0 -0
- {plain_observer-0.3.0 → plain_observer-0.3.2}/plain/observer/templates/toolbar/observer_button.html +0 -0
- {plain_observer-0.3.0 → plain_observer-0.3.2}/plain/observer/urls.py +0 -0
- {plain_observer-0.3.0 → plain_observer-0.3.2}/plain/observer/views.py +0 -0
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# plain-observer changelog
|
|
2
2
|
|
|
3
|
+
## [0.3.2](https://github.com/dropseed/plain/releases/plain-observer@0.3.2) (2025-07-25)
|
|
4
|
+
|
|
5
|
+
### What's changed
|
|
6
|
+
|
|
7
|
+
- The diagnose agent command now instructs the AI to examine the codebase before making suggestions ([f5ae388](https://github.com/dropseed/plain/commit/f5ae388833))
|
|
8
|
+
|
|
9
|
+
### Upgrade instructions
|
|
10
|
+
|
|
11
|
+
- No changes required
|
|
12
|
+
|
|
13
|
+
## [0.3.1](https://github.com/dropseed/plain/releases/plain-observer@0.3.1) (2025-07-23)
|
|
14
|
+
|
|
15
|
+
### What's changed
|
|
16
|
+
|
|
17
|
+
- Added delete actions to the admin interface for both Traces and Spans, allowing bulk deletion of selected items ([0d85670](https://github.com/dropseed/plain/commit/0d85670412))
|
|
18
|
+
- Added bootstrap icons to admin navigation (activity icon for Traces, diagram-3 icon for Spans) ([9e9f8b0](https://github.com/dropseed/plain/commit/9e9f8b0e2c))
|
|
19
|
+
|
|
20
|
+
### Upgrade instructions
|
|
21
|
+
|
|
22
|
+
- No changes required
|
|
23
|
+
|
|
3
24
|
## [0.3.0](https://github.com/dropseed/plain/releases/plain-observer@0.3.0) (2025-07-22)
|
|
4
25
|
|
|
5
26
|
### What's changed
|
|
@@ -17,6 +17,7 @@ class TraceViewset(AdminViewset):
|
|
|
17
17
|
class ListView(AdminModelListView):
|
|
18
18
|
nav_section = "Observer"
|
|
19
19
|
model = Trace
|
|
20
|
+
nav_icon = "activity"
|
|
20
21
|
fields = [
|
|
21
22
|
"trace_id",
|
|
22
23
|
"request_id",
|
|
@@ -25,12 +26,11 @@ class TraceViewset(AdminViewset):
|
|
|
25
26
|
"start_time",
|
|
26
27
|
]
|
|
27
28
|
allow_global_search = False
|
|
28
|
-
|
|
29
|
-
# actions = ["Delete"]
|
|
29
|
+
actions = ["Delete"]
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
def perform_action(self, action: str, target_ids: list):
|
|
32
|
+
if action == "Delete":
|
|
33
|
+
Trace.objects.filter(id__in=target_ids).delete()
|
|
34
34
|
|
|
35
35
|
class DetailView(AdminModelDetailView):
|
|
36
36
|
model = Trace
|
|
@@ -41,6 +41,7 @@ class SpanViewset(AdminViewset):
|
|
|
41
41
|
class ListView(AdminModelListView):
|
|
42
42
|
nav_section = "Observer"
|
|
43
43
|
model = Span
|
|
44
|
+
nav_icon = "diagram-3"
|
|
44
45
|
fields = [
|
|
45
46
|
"name",
|
|
46
47
|
"kind",
|
|
@@ -53,6 +54,11 @@ class SpanViewset(AdminViewset):
|
|
|
53
54
|
allow_global_search = False
|
|
54
55
|
displays = ["Parents only"]
|
|
55
56
|
search_fields = ["name", "span_id", "parent_id"]
|
|
57
|
+
actions = ["Delete"]
|
|
58
|
+
|
|
59
|
+
def perform_action(self, action: str, target_ids: list):
|
|
60
|
+
if action == "Delete":
|
|
61
|
+
Span.objects.filter(id__in=target_ids).delete()
|
|
56
62
|
|
|
57
63
|
def get_objects(self):
|
|
58
64
|
return (
|
|
@@ -543,7 +543,7 @@ def diagnose(trace_id, url, json_input, agent_command):
|
|
|
543
543
|
prompt_lines = [
|
|
544
544
|
"I have an OpenTelemetry trace data JSON from a Plain application. Analyze it for performance issues or improvements.",
|
|
545
545
|
"",
|
|
546
|
-
"Focus on easy and obvious wins first and foremost. If there is nothing obvious, that's ok
|
|
546
|
+
"Focus on easy and obvious wins first and foremost. You have access to the codebase, so make sure you look at it before suggesting anything! If there is nothing obvious, that's ok -- tell me that and ask whether there are specific things we should look deeper into.",
|
|
547
547
|
"",
|
|
548
548
|
"If potential code changes are found, briefly explain them and ask whether we should implement them.",
|
|
549
549
|
"",
|
|
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.0 → plain_observer-0.3.2}/plain/observer/templates/observer/trace_detail.html
RENAMED
|
File without changes
|
{plain_observer-0.3.0 → plain_observer-0.3.2}/plain/observer/templates/observer/trace_share.html
RENAMED
|
File without changes
|
|
File without changes
|
{plain_observer-0.3.0 → plain_observer-0.3.2}/plain/observer/templates/toolbar/observer.html
RENAMED
|
File without changes
|
{plain_observer-0.3.0 → plain_observer-0.3.2}/plain/observer/templates/toolbar/observer_button.html
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|