bug: otel logs getting truncated in UI #594

Closed
opened 2026-03-28 04:26:09 +00:00 by mfreeman451 · 1 comment
Owner

Imported from GitHub.

Original GitHub issue: #1845
Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/issues/1845
Original created: 2025-10-22T06:10:55Z


Describe the bug

  1. OTEL log details should include message and ability to copy message quickly into copy buffer
  2. Processed device with multiple IPs -- we see this as the log message, but there is only one IP in the details, seems like we're truncating these messages.
Log Details
Trace ID:

-

Span ID:

-

Service Version:

1.0.0

Service Instance:

-

Scope:

sync

Severity Number:

5

Attributes
device_id: 13663
primary_ip: 10.181.181.117
total_ips: 3
all_ips: ["10.181.181.117"

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
Image

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Imported from GitHub. Original GitHub issue: #1845 Original author: @mfreeman451 Original URL: https://github.com/carverauto/serviceradar/issues/1845 Original created: 2025-10-22T06:10:55Z --- **Describe the bug** 1. OTEL log details should include message and ability to copy message quickly into copy buffer 2. Processed device with multiple IPs -- we see this as the log message, but there is only one IP in the details, seems like we're truncating these messages. ``` Log Details Trace ID: - Span ID: - Service Version: 1.0.0 Service Instance: - Scope: sync Severity Number: 5 Attributes device_id: 13663 primary_ip: 10.181.181.117 total_ips: 3 all_ips: ["10.181.181.117" ``` **To Reproduce** Steps to reproduce the behavior: 1. Go to '...' 2. Click on '....' 3. Scroll down to '....' 4. See error **Expected behavior** A clear and concise description of what you expected to happen. **Screenshots** <img width="1169" height="601" alt="Image" src="https://github.com/user-attachments/assets/e4a5dc97-29a5-4464-80ed-53ad6ecf5c69" /> **Desktop (please complete the following information):** - OS: [e.g. iOS] - Browser [e.g. chrome, safari] - Version [e.g. 22] **Smartphone (please complete the following information):** - Device: [e.g. iPhone6] - OS: [e.g. iOS8.1] - Browser [e.g. stock browser, safari] - Version [e.g. 22] **Additional context** Add any other context about the problem here.
Author
Owner

Imported GitHub comment.

Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/issues/1845#issuecomment-3433191667
Original created: 2025-10-22T16:14:35Z


Fix pushed in sha-4f530784b13f: the web UI now uses a structured OTEL attribute parser so key/value pairs with JSON arrays (e.g. all_ips) render completely instead of truncating on the first comma. Added a Vitest regression (web/src/utils/otelAttributes.test.ts) and rolled demo to ghcr.io/carverauto/serviceradar-web:sha-4f530784b13ff3eccad994ea38204159f4e1aef4.

Imported GitHub comment. Original author: @mfreeman451 Original URL: https://github.com/carverauto/serviceradar/issues/1845#issuecomment-3433191667 Original created: 2025-10-22T16:14:35Z --- Fix pushed in sha-4f530784b13f: the web UI now uses a structured OTEL attribute parser so key/value pairs with JSON arrays (e.g. all_ips) render completely instead of truncating on the first comma. Added a Vitest regression (web/src/utils/otelAttributes.test.ts) and rolled demo to ghcr.io/carverauto/serviceradar-web:sha-4f530784b13ff3eccad994ea38204159f4e1aef4.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
carverauto/serviceradar#594
No description provided.