Commit Graph
11 Commits
Author SHA1 Message Date
Omkar KesarkhaneandAshish Kolhe 860062faa7 fix: correct Parsing of start_time and end_time Nanosecond Values (#11485)
Co-authored-by: Ashish Kolhe <ashish.j.kolhe@gmail.com>
2026-04-27 08:56:38 +00:00
Abhay Padamani 10c78fb895 perf: batch streaming response while main thread block (#11020) 2026-04-07 09:22:24 +00:00
Ashish KolheandClaude Sonnet 4.5 601e75d223 fix: logs large records optimisation (#10257)
### **PR Type**
Bug fix, Enhancement


___

### **Description**
- Fix oversized hit handling in chunk iterator

- Implement worker-level deduplication & abort

- Stream handler cleanup and dedupe updates

- Enhance log rendering with truncation & progressive


___

### Diagram Walkthrough


```mermaid
flowchart LR
  A["ResponseChunkIterator (search.rs)"] -- "pop_front oversized hits" --> B["StreamWorker"]
  B -- "deduplicate messages & abort" --> C["useHttpStreaming"]
  C -- "handle streaming hits" --> D["useSearchResponseHandler"]
  D -- "optimize rendering" --> E["useLogsHighlighter"]
```



<details> <summary><h3> File Walkthrough</h3></summary>

<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Enhancement</strong></td><td><details><summary>5
files</summary><table>
<tr>
<td><strong>useSearchResponseHandler.ts</strong><dd><code>Refactor
streaming hits assignment using local variable</code>&nbsp; &nbsp;
</dd></td>
  <td><a href=""></a></td>

</tr>

<tr>
<td><strong>useLogsHighlighter.ts</strong><dd><code>Add size estimation,
truncation, and progressive rendering</code></dd></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/10257/files#diff-ad7744a2edc4764be1c7d67feb7fe1473536af245821898a9136256b3aeb0342">+237/-38</a></td>

</tr>

<tr>
<td><strong>DetailTable.vue</strong><dd><code>Enable disable-truncation
prop in detail view</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/10257/files#diff-80552b5d25fa6cef9fbbe430b1865d761c4b132284c2d2175afceea8cbabc8c7">+2/-1</a>&nbsp;
&nbsp; &nbsp; </td>

</tr>

<tr>
<td><strong>IndexList.vue</strong><dd><code>Use $el to query and reset
scroll container</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/10257/files#diff-08f058f883b659e713e606991a7ea37ae1ff016b7cccef970489ab5840dc3d09">+2/-1</a>&nbsp;
&nbsp; &nbsp; </td>

</tr>

<tr>
<td><strong>streamWorker.js</strong><dd><code>Implement message
deduplication and abort logic</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/10257/files#diff-8534facfcca68c16701832f43a501abcdb92847115c46fced5d69792e5594dd9">+63/-1</a>&nbsp;
&nbsp; </td>

</tr>
</table></details></td></tr><tr><td><strong>Error
handling</strong></td><td><details><summary>1 files</summary><table>
<tr>
<td><strong>useStreamingSearch.ts</strong><dd><code>Handle abort_stream
message and cleanup listeners</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; </dd></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/10257/files#diff-8fce3e25a161cd458e734bd9b1f98aadefe3482da7b6529a5b1f4fa20ec115e2">+10/-1</a>&nbsp;
&nbsp; </td>

</tr>
</table></details></td></tr><tr><td><strong>Configuration
changes</strong></td><td><details><summary>1 files</summary><table>
<tr>
<td><strong>logsRenderingConfig.ts</strong><dd><code>Introduce logs
rendering configuration thresholds</code>&nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; </dd></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/10257/files#diff-6954119ee8e2fb2791a6172bcd6a36925853fabc776e662f53bfcec8bf12fdc0">+11/-0</a>&nbsp;
&nbsp; </td>

</tr>
</table></details></td></tr><tr><td><strong>Bug
fix</strong></td><td><details><summary>1 files</summary><table>
<tr>
<td><strong>search.rs</strong><dd><code>Pop front oversized hits to
prevent infinite loop</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; </dd></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/10257/files#diff-373e83a31e5bbc82fba05d7ae274b0dbd624ed748272232cf7eb8b8c3b2f3afc">+4/-3</a>&nbsp;
&nbsp; &nbsp; </td>

</tr>
</table></details></td></tr><tr><td><strong>Additional
files</strong></td><td><details><summary>1 files</summary><table>
<tr>
  <td><strong>useSearchResponseHandler.ts</strong></td>
<td><a
href="https://github.com/openobserve/openobserve/pull/10257/files#diff-7dd7d0e65e8fe028b4969c970cf027ff39621921a41153f0a696e20478f0f858">+5/-2</a>&nbsp;
&nbsp; &nbsp; </td>

</tr>
</table></details></td></tr></tr></tbody></table>

</details>

___

---------

Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-30 13:13:47 +05:30
Omkar Kesarkhane b03245cd07 fix: http and http2 partition pagination fixes (#7241)
### **PR Type**
Bug fix, Enhancement


___

### **Description**
Fix HTTP/HTTP2 streaming in Safari
Improve partition-based pagination logic
Add region and cluster query parameters
Refine aggregation and streaming pagination flows


___



### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Bug
fix</strong></td><td><table>
<tr>
  <td>
    <details>
<summary><strong>ShortUrl.vue</strong><dd><code>Fix original URL
redirection for deeper paths</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary>
<hr>

web/src/views/ShortUrl.vue

- Updated handleOriginalUrl to join URL segments dynamically


</details>


  </td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7241/files#diff-b7ffcc5de24f9e1db5a3a8e78a686727360f9061ca6f9f8ae60456c3d603f9b7">+3/-2</a>&nbsp;
&nbsp; &nbsp; </td>

</tr>

<tr>
  <td>
    <details>
<summary><strong>useStreamingSearch.ts</strong><dd><code>Add
Safari-compatible HTTP2 streaming</code>&nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary>
<hr>

web/src/composables/useStreamingSearch.ts

<li>Manually read streams with TextDecoder for Safari<br> <li> Post
decoded chunks to worker for processing<br> <li> Retain start and end
stream control messages


</details>


  </td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7241/files#diff-8fce3e25a161cd458e734bd9b1f98aadefe3482da7b6529a5b1f4fa20ec115e2">+37/-4</a>&nbsp;
&nbsp; </td>

</tr>
</table></td></tr><tr><td><strong>Enhancement</strong></td><td><table>
<tr>
  <td>
    <details>
<summary><strong>useLogs.ts</strong><dd><code>Enhance log pagination and
cluster support</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary>
<hr>

web/src/composables/useLogs.ts

<li>Inject regions and clusters into query and URL<br> <li> Fix
partition pagination for zero or multiple partitions<br> <li> Add
fetchAllParitions for complete partition fetch<br> <li> Apply dynamic
histogram_interval to SQL queries


</details>


  </td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7241/files#diff-1040f61354f92711e0e77ed4e9bfa15586d45a94c7e2ab06cc37372068030e7b">+116/-23</a></td>

</tr>

<tr>
  <td>
    <details>
<summary><strong>streamWorker.js</strong><dd><code>Refactor worker for
chunk-based streaming</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
</dd></summary>
<hr>

web/src/workers/streamWorker.js

<li>Remove transferable ReadableStream handling<br> <li> Introduce
processChunk to buffer and parse SSE<br> <li> Consolidate message
parsing and error handling


</details>


  </td>
<td><a
href="https://github.com/openobserve/openobserve/pull/7241/files#diff-8534facfcca68c16701832f43a501abcdb92847115c46fced5d69792e5594dd9">+75/-94</a>&nbsp;
</td>

</tr>
</table></td></tr></tr></tbody></table>

___

> <details> <summary> Need help?</summary><li>Type <code>/help how to
...</code> in the comments thread for any questions about PR-Agent
usage.</li><li>Check out the <a
href="https://qodo-merge-docs.qodo.ai/usage-guide/">documentation</a>
for more information.</li></details>
2025-06-29 14:18:25 +05:30
Omkar Kesarkhane 63d6db94fe fix: http2 streaming pagination fix (#6864) 2025-05-31 21:20:26 +08:00
udev da2a769762 feat: Add HTTP2 Streaming support (#6721) (#6827) 2025-05-20 00:06:05 +08:00
Ankur Srivastavaandomkark06 3826f87640 fix: ensure that rum proxy endpoint uses cookies (#3210)
Due to changes in the current architecture the access-token is being
sent as a cookie - `access_token` so this change facilitates accessing
the proxy url via the same mechanism

---------

Co-authored-by: omkark06 <omkar@zinclabs.io>
2024-04-11 18:13:21 +02:00
Omkar Kesarkhane 8f75d7f5ff fix: added rum worker file inside src (#1850) 2023-11-03 10:10:57 +05:30
omkarK06 69cfb02920 fix: removed worker file (#672) 2023-05-01 16:50:12 +05:30
omkarK06 7ba3882720 fix: monaco editor web worker warning (#669)
* fix: added worker for monaco editor

* fix: monaco editor web worker

* fix: vue warnings
2023-05-01 14:44:01 +08:00
omkarK06 5e0299d604 fix: monaco editor web worker (#661)
* fix: fixed traces query and UI fixes

1. updated traces query
2. traces table and fields were not visible
3. removed histogram, editor and field list toggle buttons

* fix: added worker for monaco editor

* fix: removed console log

* fix: updated selected language flag in navbar

* fix: added export as ts file cant be empty
2023-05-01 05:24:35 +05:30