plain.observer 0.11.0__py3-none-any.whl → 0.11.2__py3-none-any.whl
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/CHANGELOG.md +22 -0
- plain/observer/cli.py +2 -2
- plain/observer/templates/observer/traces.html +31 -30
- {plain_observer-0.11.0.dist-info → plain_observer-0.11.2.dist-info}/METADATA +1 -1
- {plain_observer-0.11.0.dist-info → plain_observer-0.11.2.dist-info}/RECORD +7 -7
- {plain_observer-0.11.0.dist-info → plain_observer-0.11.2.dist-info}/WHEEL +0 -0
- {plain_observer-0.11.0.dist-info → plain_observer-0.11.2.dist-info}/licenses/LICENSE +0 -0
plain/observer/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# plain-observer changelog
|
|
2
2
|
|
|
3
|
+
## [0.11.2](https://github.com/dropseed/plain/releases/plain-observer@0.11.2) (2025-10-20)
|
|
4
|
+
|
|
5
|
+
### What's changed
|
|
6
|
+
|
|
7
|
+
- Package configuration migrated from `tool.uv.dev-dependencies` to the standard `dependency-groups.dev` format ([1b43a3a](https://github.com/dropseed/plain/commit/1b43a3a272))
|
|
8
|
+
|
|
9
|
+
### Upgrade instructions
|
|
10
|
+
|
|
11
|
+
- No changes required
|
|
12
|
+
|
|
13
|
+
## [0.11.1](https://github.com/dropseed/plain/releases/plain-observer@0.11.1) (2025-10-10)
|
|
14
|
+
|
|
15
|
+
### What's changed
|
|
16
|
+
|
|
17
|
+
- Trace list items now update the URL when clicked, allowing direct linking to specific traces ([9f29b68](https://github.com/dropseed/plain/commit/9f29b68a87))
|
|
18
|
+
- Improved trace sidebar layout by moving the timestamp to the bottom right and creating better visual hierarchy ([9f29b68](https://github.com/dropseed/plain/commit/9f29b68a87))
|
|
19
|
+
- Updated diagnose command prompt text to be less personal in tone ([c82d67b](https://github.com/dropseed/plain/commit/c82d67bfcf))
|
|
20
|
+
|
|
21
|
+
### Upgrade instructions
|
|
22
|
+
|
|
23
|
+
- No changes required
|
|
24
|
+
|
|
3
25
|
## [0.11.0](https://github.com/dropseed/plain/releases/plain-observer@0.11.0) (2025-10-08)
|
|
4
26
|
|
|
5
27
|
### What's changed
|
plain/observer/cli.py
CHANGED
|
@@ -564,9 +564,9 @@ def diagnose(
|
|
|
564
564
|
raise click.ClickException(f"Trace with ID '{trace_id}' not found")
|
|
565
565
|
|
|
566
566
|
prompt_lines: list[str] = [
|
|
567
|
-
"
|
|
567
|
+
"Below is OpenTelemetry trace data JSON from a Plain application. Analyze it for performance issues or improvements.",
|
|
568
568
|
"",
|
|
569
|
-
"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 --
|
|
569
|
+
"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 -- say that and ask whether there are specific things we should look deeper into.",
|
|
570
570
|
"",
|
|
571
571
|
"If potential code changes are found, briefly explain them and ask whether we should implement them.",
|
|
572
572
|
"",
|
|
@@ -88,6 +88,7 @@
|
|
|
88
88
|
hx-get="{{ trace_item.get_absolute_url() }}"
|
|
89
89
|
hx-target="#trace"
|
|
90
90
|
hx-swap="innerHTML"
|
|
91
|
+
hx-push-url="true"
|
|
91
92
|
class="block w-full text-left p-3 transition-colors hover:bg-white/5 focus:outline-none focus:bg-white/5"
|
|
92
93
|
data-trace-id="{{ trace_item.trace_id }}">
|
|
93
94
|
<div class="flex items-center justify-between gap-2">
|
|
@@ -98,9 +99,6 @@
|
|
|
98
99
|
<div class="text-xs font-medium text-white/30 font-mono truncate">{{ trace_item.trace_id }}</div>
|
|
99
100
|
{% endif %}
|
|
100
101
|
</div>
|
|
101
|
-
<div class="flex items-center gap-1.5 flex-shrink-0">
|
|
102
|
-
<span class="text-white/40 text-xs" title="{{ trace_item.start_time|localtime }}">{{ trace_item.start_time|timesince }} ago</span>
|
|
103
|
-
</div>
|
|
104
102
|
</div>
|
|
105
103
|
<div class="mt-1 space-y-1">
|
|
106
104
|
{% if trace_item.summary %}<div class="text-xs text-white/60">{{ trace_item.summary }}</div>{% endif %}
|
|
@@ -114,35 +112,38 @@
|
|
|
114
112
|
<div class="text-xs text-white/30 font-mono truncate">{{ trace_item.trace_id }}</div>
|
|
115
113
|
</div>
|
|
116
114
|
{% endif %}
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
<
|
|
122
|
-
<
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
<
|
|
130
|
-
<
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
<
|
|
138
|
-
<
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
115
|
+
<div class="flex items-center justify-between gap-3 text-xs text-white/50">
|
|
116
|
+
{% if trace_item.user_id or trace_item.session_id or trace_item.app_version %}
|
|
117
|
+
<div class="flex items-center gap-3">
|
|
118
|
+
{% if trace_item.user_id %}
|
|
119
|
+
<span class="flex items-center gap-1 flex-shrink-0">
|
|
120
|
+
<svg class="w-3 h-3 text-white/70" fill="currentColor" viewBox="0 0 16 16">
|
|
121
|
+
<path d="M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6"/>
|
|
122
|
+
</svg>
|
|
123
|
+
{{ trace_item.user_id }}
|
|
124
|
+
</span>
|
|
125
|
+
{% endif %}
|
|
126
|
+
{% if trace_item.session_id %}
|
|
127
|
+
<span class="flex items-center gap-1 min-w-0 flex-shrink">
|
|
128
|
+
<svg class="w-3 h-3 text-white/70 flex-shrink-0" fill="currentColor" viewBox="0 0 16 16">
|
|
129
|
+
<path d="M13.5 3a.5.5 0 0 1 .5.5V11H2V3.5a.5.5 0 0 1 .5-.5zm-11-1A1.5 1.5 0 0 0 1 3.5V12h14V3.5A1.5 1.5 0 0 0 13.5 2zM0 12.5h16a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 0 12.5"/>
|
|
130
|
+
</svg>
|
|
131
|
+
<span class="truncate" title="{{ trace_item.session_id }}">{{ trace_item.session_id }}</span>
|
|
132
|
+
</span>
|
|
133
|
+
{% endif %}
|
|
134
|
+
{% if trace_item.app_version %}
|
|
135
|
+
<span class="flex items-center gap-1 flex-shrink-0">
|
|
136
|
+
<svg class="w-3 h-3 text-white/70" fill="currentColor" viewBox="0 0 16 16">
|
|
137
|
+
<path d="M6 4.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm-1 0a.5.5 0 1 0-1 0 .5.5 0 0 0 1 0z"/>
|
|
138
|
+
<path d="M2 1h4.586a1 1 0 0 1 .707.293l7 7a1 1 0 0 1 0 1.414l-4.586 4.586a1 1 0 0 1-1.414 0l-7-7A1 1 0 0 1 1 6.586V2a1 1 0 0 1 1-1zm0 5.586 7 7L13.586 9l-7-7H2v4.586z"/>
|
|
139
|
+
</svg>
|
|
140
|
+
{{ trace_item.app_version }}
|
|
141
|
+
</span>
|
|
142
|
+
{% endif %}
|
|
143
|
+
</div>
|
|
143
144
|
{% endif %}
|
|
145
|
+
<span class="flex-shrink-0 text-white/40" title="{{ trace_item.start_time|localtime }}">{{ trace_item.start_time|timesince }} ago</span>
|
|
144
146
|
</div>
|
|
145
|
-
{% endif %}
|
|
146
147
|
</div>
|
|
147
148
|
</a>
|
|
148
149
|
</li>
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
plain/observer/AGENTS.md,sha256=w3vqd2VWGliBQl8ohEBOsHyo1KROoUuK10uDr_C5Xeo,334
|
|
2
|
-
plain/observer/CHANGELOG.md,sha256=
|
|
2
|
+
plain/observer/CHANGELOG.md,sha256=dA51wbVTzcrAY2v-Aq61UXuQudQM_s_M9oHAur0reN0,15120
|
|
3
3
|
plain/observer/README.md,sha256=39RA17fgcyOkqeIWBOAg4Be6YZjoiDzK5PVOG-nseuY,988
|
|
4
4
|
plain/observer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
5
|
plain/observer/admin.py,sha256=mSwJWfA9svhjZCzwqjD82Fv_iV9iENUtUiefV1s3lSE,3590
|
|
6
|
-
plain/observer/cli.py,sha256=
|
|
6
|
+
plain/observer/cli.py,sha256=rzESdG8rYH6ILZ_5jA6oR362kCjTlimgzNqng89s2yg,21131
|
|
7
7
|
plain/observer/config.py,sha256=BJKsKNbfNSYmaxpUAkuR6gDMgNvD9tx19wpo3-1sksA,2542
|
|
8
8
|
plain/observer/core.py,sha256=9AQFe4pwLpz4w64GG7599rNxuTkMN3eyqsqFNehy8A0,5950
|
|
9
9
|
plain/observer/default_settings.py,sha256=JN2jT2wfa6f80EqU0p4Ox_47xyxL-Ym5-_pftY7xj2U,197
|
|
@@ -23,12 +23,12 @@ plain/observer/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJW
|
|
|
23
23
|
plain/observer/templates/observer/trace.html,sha256=zHf6GIdNDYBD7pqWxVvfm0R3fMTS6ZiFrOuq8eFxwmI,11374
|
|
24
24
|
plain/observer/templates/observer/trace_detail.html,sha256=86-YGCpg9gy31Pd2vDHB3LYRkJile-DsGD1Enjx9s5Y,943
|
|
25
25
|
plain/observer/templates/observer/trace_share.html,sha256=HrYLti5BpX96-6Bm_37OObFvAJSYbZ3GZD-MwCi9hgA,525
|
|
26
|
-
plain/observer/templates/observer/traces.html,sha256=
|
|
26
|
+
plain/observer/templates/observer/traces.html,sha256=48MFsDjNCrouAiIQoSD-CqeeyHIN8-24k7DuqAmiiVY,24531
|
|
27
27
|
plain/observer/templates/observer/partials/log.html,sha256=Vpp0j-GLBfwTBFyZp_cv0jkOLpgxfd-8-RMBe6V4HbU,964
|
|
28
28
|
plain/observer/templates/observer/partials/span.html,sha256=PaWZONsABwlS7mdKsJlYbhMSOzidq_WyOp6ifvFUgmM,18672
|
|
29
29
|
plain/observer/templates/toolbar/observer.html,sha256=uaDKiWR7EYqC1kEXE-uHDlE7nfFEMR_zmOgvlKwQHJ4,1365
|
|
30
30
|
plain/observer/templates/toolbar/observer_button.html,sha256=FMBJHKMGqpHWs-3Ei2PBCdVYZ_6vFw6-eKH_i4jQu-Q,1215
|
|
31
|
-
plain_observer-0.11.
|
|
32
|
-
plain_observer-0.11.
|
|
33
|
-
plain_observer-0.11.
|
|
34
|
-
plain_observer-0.11.
|
|
31
|
+
plain_observer-0.11.2.dist-info/METADATA,sha256=qL9iO0y-Mw5v0b1-hKlCJZz9SaL5dwr5gdoPeNy_u4s,1387
|
|
32
|
+
plain_observer-0.11.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
33
|
+
plain_observer-0.11.2.dist-info/licenses/LICENSE,sha256=YZdq6Pz8ivjs97eSVLRmoGDI1hjEikX6N49DfM0DWio,1500
|
|
34
|
+
plain_observer-0.11.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|