Commit Graph
786 Commits
Author SHA1 Message Date
Bhargav 81120c4388 fix: RUM values incluce/exclude search term Issue 11041 (#11127) 2026-04-03 05:09:37 +00:00
71389a767f fix: include exclude values in query editor (#11121)
Fixed issue where user click on include/exclude button without selecting
or deselecting new values from the list

---------

Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Bhargav <undefined@users.noreply.github.com>
2026-04-02 12:24:52 +00:00
76db6890a8 fix: updated view_url and resource_url in RUM sessions fields (#11106)
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Omkar Kesarkhane <undefined@users.noreply.github.com>
2026-04-02 09:44:51 +00:00
Omkar Kesarkhane 46a90368af feat: Traces service graph improvements (#11097)
Design at: observability/traces
2026-04-02 08:49:03 +00:00
ktx-vaidehi fc9be5c4c6 fix: metric module, logs stream api call (#11115)
#10059
2026-04-02 08:11:52 +00:00
ktx-vaidehi d33746e7d2 fix: dashboard visualization query to ensure accurate chart data (#11108)
#11065
2026-04-01 15:27:28 +00:00
d9ae7c2860 fix: created a single button toggle with Spans | Traces | Search Graph (#11048)
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Omkar Kesarkhane <undefined@users.noreply.github.com>
2026-03-30 23:15:11 +05:30
Bhargav ef385421ba fix: decouple AI mode from SQL mode toggle on logs page (#11075)
Clicking the AI button in the query editor was toggling SQL mode off,
and closing it was forcing SQL mode back on. Removed the mutual
exclusivity between nlpMode and sqlMode so they operate independently.
2026-03-30 15:28:21 +05:30
ByteBaker 881a6611c0 feat: simplify service discovery feature (#10946)
## Core changes

- **Schema**: `service_streams_dimensions` table dropped entirely.
Service rows gain `disambiguation JSONB`, `set_id`, and
`field_name_mapping JSONB`. Incidents: `correlation_key VARCHAR`
replaced with `group_values JSONB`.
- **Migrations**: 6 new sea-orm DSL migrations (raw SQL strings removed
for cross-backend consistency; GIN index creation remains raw SQL — no
native sea-orm support).
- **`ServiceIdentityConfig`**: `fqn_priority_dimensions` replaced with
`distinguish_by` list. `max_total_service_rows` renamed from
`max_total_services` (unit = rows, not logical services).
- **Meta types**: `CorrelationConfidence`, `ConfidenceLevel`,
`DimensionMatchDetail` removed from `correlation.rs`.
`SemanticFieldGroup` → `FieldAlias` (fields are aliases to group IDs,
not full group descriptors).
- **Handlers**: Authorization checks added to list, correlate, and
get-config endpoints. `_grouped` endpoint removed; `_recommendations`
endpoint added.
- **Cleanup job**: Leader election added (smallest UUID ingester wins);
hardcoded 1h interval + 30-day stale threshold replace the removed
configurable env vars.
- **Processing mode removed**: Compactor-mode path removed; single
ingester-only path remains.
- **UI**: FQN priority config replaced with `distinguish_by` field
selector. New `ServiceIdentitySetup.vue` guided setup flow.
`is_scope`/`is_stable`/`normalize` toggles removed from semantic group
editor. ~13-14 FQN-related i18n keys removed from each of 12 locale
files.

## Env var changes

Removed (15):
- `O2_SERVICE_STREAMS_SAMPLE_EVERY_NTH_STREAM` → renamed (see below)
- `O2_SERVICE_STREAMS_SAMPLE_EVERY_NTH_FILE`
- `O2_SERVICE_STREAMS_RECORD_SAMPLE_PERCENT`
- `O2_SERVICE_STREAMS_STABLE_DIMENSION_THRESHOLD`
- `O2_SERVICE_STREAMS_TRANSIENT_DIMENSION_THRESHOLD`
- `O2_SERVICE_STREAMS_MAX_STREAMS_PER_SERVICE`
- `O2_SERVICE_STREAMS_MIN_CORRELATION_CONFIDENCE`
- `O2_SERVICE_STREAMS_PROCESSING_MODE`
- `O2_SERVICE_STREAMS_BATCH_MAX_SERVICES`
- `O2_SERVICE_STREAMS_CLEANUP_INTERVAL_MINS`
- `O2_SERVICE_STREAMS_STALE_THRESHOLD_HOURS`
- `O2_SERVICE_STREAMS_MAX_TOTAL_DIMENSIONS`
- `O2_SERVICE_STREAMS_MAX_TOTAL_VALUES`
- `O2_SERVICE_STREAMS_CHANNEL_CAPACITY`
- `O2_SERVICE_STREAMS_MAX_FLUSH_RETRIES`

Renamed:
- `O2_SERVICE_STREAMS_SAMPLE_EVERY_NTH_STREAM` →
`O2_SERVICE_STREAMS_SAMPLE_RATE` (default: 10)

Kept:
- `O2_SERVICE_STREAMS_ENABLED` (default: false)
- `O2_SERVICE_STREAMS_SAMPLE_WINDOW_SECS` (default: 300)
- `O2_SERVICE_STREAMS_BATCH_FLUSH_INTERVAL_SECS` (default: 600)
- `O2_SERVICE_STREAMS_MAX_TOTAL_SERVICES` (default: 500,000)

Added:
- `O2_SERVICE_STREAMS_TRACKED_ALIAS_IDS` — comma-separated alias group
IDs tracked system-wide by default; "service" always implicit

Design at: designs/correlation/proposal-v2
2026-03-30 13:47:40 +05:30
Sai Nikhil 1a9837bd12 fix: pass search inspect env via config (#11051) 2026-03-30 10:25:31 +05:30
Omkar Kesarkhaneandgithub-actions[bot] 70704a37b7 fix: filter from trace details (#11038)
1. Filter from Trace Details — Enable users to apply field filters
directly from within the Trace Details view (e.g., clicking a field
value adds it as a filter)
2. Removed Tags and Process tabs from Trace details sidebar.
3. Add JSON and table view support in Attributes tab

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-03-27 15:48:40 +05:30
Sai Nikhil 0e6eb66172 fix: when user on 2nd page of indexlist after run query should not reset (#11018) 2026-03-26 18:03:56 +05:30
Bhargav eb0d4ea737 fix: Issue 1345 UI screen fix (#11032) 2026-03-26 14:52:25 +05:30
ktx-akshay e3b096412d fix: visualisation api call issue with region (#11022) 2026-03-26 13:48:24 +05:30
Harsh Mahajan e548f69d18 chore: adding alert button and pre-filling data for log pattern (#10728) 2026-03-26 11:01:32 +05:30
Bhargav 11213a7f5d fix: ai icon style fix (#11028) 2026-03-26 00:44:19 +05:30
382fdddf14 fix: clear log search errors when switching to patterns tab (#11016)
Adds `resetSearchError()` to searchState and calls it at the start of
`extractPatternsForCurrentQuery` so stale error messages from a failed
logs search are cleared before patterns are fetched.

---------

Co-authored-by: Neha P <neha@openobserve.ai>
Co-authored-by: Claude <noreply@anthropic.com>
2026-03-25 20:25:26 +05:30
Sai Nikhil 2da2e1a231 fix: auto suggestion field value on query editor logs and traces (#10943)
Adds persistent, cross-session field value suggestions to the SQL query
editor. When a user types field = , field IN (, field LIKE ',
str_match(field, etc., the autocomplete popup now shows real values seen
in previous searches — not just keywords and field names.

Values are captured passively from search results and field expansions,
stored in IndexedDB, and served from an in-memory cache. Zero impact on
existing UI performance.

What's new
Value capture — two sources:

Run Query (useStreamFields.ts) — after each search, up to 100 result
rows are scanned and field values extracted into IndexedDB in a browser
idle callback
Field expansion (useFieldValuesStream.ts, IndexList.vue) — when a user
clicks > on a field in the left panel, the Values API response is also
captured
Persistence layer (fieldValueDB.ts — new):

IndexedDB database o2FieldValues, store fieldValues
Composite key: org|streamType|streamName|fieldName — fully isolated per
org, stream type, and stream
Merge strategy: new values are unioned with existing, capped at 50 per
field
7-day sliding TTL — fields from streams you stop using expire
automatically
Opportunistic housekeeping (5% chance per search) via by_expires and
by_updated indexes
Orchestration layer (useFieldValueStore.ts — new):

captureFromSearchHits — schedules extraction + batch IDB write via
requestIdleCallback
captureFromValuesApi — schedules single-field IDB write
getFieldValuesForSuggestion — reads with 60s in-memory cache (500-entry
cap) so keystrokes never hit IDB
Safari fallback: setTimeout(0) when requestIdleCallback is unavailable
All IDB errors caught silently — feature degrades gracefully in private
browsing
Suggestion engine (useSuggestions.ts):

New analyzeSqlWhereClause function detects when cursor is after an
operator expecting a value using a 4-alternative regex covering =, !=,
<>, >=, <=, >, <, IN (, NOT IN (, LIKE, NOT LIKE, str_match(,
fuzzy_match(
Cursor-sliced matching handles Monaco's auto-closing brackets correctly
Smart insertText quoting: numeric/boolean values unquoted, strings
wrapped in '...', open-quote detection avoids double-quoting
sortText prefixed with \x01 so value suggestions always sort above
keywords and functions
In-session values (current search) take precedence over stored values
(previous sessions)
Monaco popup fix (CodeQueryEditor.vue):

hideSuggestWidget → nextTick → triggerSuggest pattern ensures the popup
always refreshes, fixing cases where it was already in "Showing" state
(e.g. typing LIKE ')
Traces support (traces/SearchBar.vue):

Field expansion in traces was already writing to IDB (via
useFieldValuesStream with stream_type: "traces")
Added 3 lines to set org/streamType/streamName on autoCompleteData so
the read side works too
2026-03-25 16:20:38 +05:30
4f2a3ba622 fix(traces): service icons and flame graph improvements (#11005)
1. Flame graph parallel operations overlapping issue
2. Updated service icons in Traces Table and Trace Details

---------

Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Omkar Kesarkhane <undefined@users.noreply.github.com>
2026-03-25 15:13:59 +05:30
Bhargav c0d9fc49de fix: Ai logo enhancement (#11006) 2026-03-25 11:37:48 +05:30
Bhargav c9734e6fd7 fix: histogram toggle moved out from menubar (#11002) 2026-03-25 10:38:42 +05:30
bf3b36fcf7 feat: traces table improvements (#10941)
Design at: traces

---------

Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Omkar Kesarkhane <undefined@users.noreply.github.com>
2026-03-25 07:53:12 +05:30
ByteBaker f7b5bcdc91 chore: enable service graph by default, drop runtime config knobs
Remove O2_SERVICE_GRAPH_ENABLED and O2_SERVICE_GRAPH_QUERY_TIME_RANGE_MINUTES.
Service graph now runs unconditionally on enterprise ingester nodes.
Query window defaults to 60m constant; UI time range picker controls actual queries.

Also remove checks for this on the UI. Keep only enterprise level checks.
2026-03-23 12:17:53 +05:30
udev d3f6a333f9 feat: summary for tool responses (#10955) 2026-03-20 18:22:22 +05:30
Hengfei Yang b6e8ce9400 fix: show fts field values (#10975) 2026-03-20 14:57:30 +08:00
36c2ef4418 feat: anamoly detection p2 (#10940)
Design at: anomaly-detection

---------

Signed-off-by: loaki07 <rustyloaki@gmail.com>
Co-authored-by: Bhargav <BJP232004@GMAIL.COM>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Loakesh Indiran <undefined@users.noreply.github.com>
Co-authored-by: ByteBaker <42913098+ByteBaker@users.noreply.github.com>
Co-authored-by: Shrinath Rao <shnath@openobserve.ai>
2026-03-19 21:36:06 +05:30
Ashish Kolheandgithub-actions[bot] 8a378cda5e fix: patterns duplication issue (#10949) (#10965)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-03-19 08:27:44 +05:30
Omkar Kesarkhaneandgithub-actions[bot] 912d02ea08 fix(traces): fixed trace explorer error spans text (#10958)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-03-18 22:28:56 +05:30
Hengfei Yang f53c858035 feat: add configuration option for field values in FST logs page (#10951) 2026-03-18 17:28:19 +08:00
Sai Nikhil 1a0873d2b9 fix: exclude include should persist after run query (#10915) 2026-03-17 09:05:17 +08:00
Neha PandClaude 8a3eee1d3b fix: add data-test attribute to SQL query content in Search Job Inspector (#10922)
Add data-test="inspector-sql-query-content" attribute to the SQL query
pre element in the View Query dialog for reliable test automation.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-03-16 20:21:22 +05:30
ktx-vaidehi 6932a17b87 refactor: dashboard loading api files (#10773) 2026-03-16 18:32:35 +05:30
Sai Nikhil e47d6a46d0 fix: show atleast 2 decimal value and some text change on service graph edge side panel (#10912)
This PR fixes the isssue in e - 1351
2026-03-15 18:24:01 +05:30
Sai Nikhil b3c45b3279 fix: issue 10821 (#10910)
This PR fixes the issue in #10821
2026-03-15 12:55:15 +05:30
Omkar Kesarkhane eacc5e8b2f fix: resolve dashboard GridStack empty grid race condition (#10904)
Call loadDashboard before loading the SQL parser to prevent GridStack
from mounting when dashboardData is null.
2026-03-14 03:40:04 +05:30
Bhargav 4dd2f9adbb fix: dedup field is there then enabled flag true else false (#10886) 2026-03-13 22:59:04 +08:00
Omkar Kesarkhane 663ab7bacc fix: In traces prevent duplicate filter when same field condition is reapplied (#10894) 2026-03-13 21:38:06 +08:00
Sai NikhilandHengfei Yang 53150a2290 fix: search inspect issues (#10888)
Co-authored-by: Hengfei Yang <hengfei.yang@gmail.com>
2026-03-13 18:24:42 +08:00
Sai Nikhil fdd3d91016 fix: service graph v2 UI (#10889) 2026-03-13 13:58:58 +05:30
Sai Nikhil d2861433fa fix: search inspector UI (#10749) 2026-03-13 09:57:29 +08:00
Bhargav eff23e31b7 fix: added unit test cases for services layer (#10867) 2026-03-12 15:27:50 +05:30
Omkar Kesarkhane 54d00d5e78 fix: Traces span kind mapping (#10838) 2026-03-11 23:07:42 +05:30
Bhargav ecd1cf9e90 fix: patterns ui fix (#10865) 2026-03-11 21:54:17 +05:30
ae988c7219 feat: Search on all spans in Traces (#10826)
Design at: Traces

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Omkar Kesarkhane <undefined@users.noreply.github.com>
Co-authored-by: sai nikhil kethe <nikhil@openobserve.ai>
2026-03-10 22:34:50 +05:30
Bhargav f8e8cc8dd3 fix: Logs datatype icon remove main (#10827) 2026-03-10 17:11:33 +05:30
7320831928 feat: Traces Duration field improvement (#10814)
Design at: traces

---------

Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Omkar Kesarkhane <undefined@users.noreply.github.com>
2026-03-10 15:42:40 +05:30
BhargavandShrinath Rao 856f9a74b7 fix: duration filter fix (#10785)
Co-authored-by: Shrinath Rao <shnath@openobserve.ai>
2026-03-09 15:37:54 +05:30
a5533226be feat: Traces list UI improvements (#10735)
Design at : traces

1. Added Pagination
2. Add support to sort traces by duration and timestamp

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Omkar Kesarkhane <undefined@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-09 11:46:52 +05:30
Omkar Kesarkhane 26bc1c4b13 fix: traces table llm keys formatting (#10787) 2026-03-07 17:42:06 +05:30
Bhargav ff36340f91 fix: Field list values filter fix (#10786) 2026-03-07 12:01:20 +05:30