denoland / denoland/deploy_feedback

https://dash.deno.com/***/logs - consider structured property extraction

Open
#654 0 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
No language data
Stars
79
Forks
5
PR merge metrics
No merged PRs in 30d

Description

### What problem are you trying to solve?

Log messages can be pretty verbose, typically having a mix of `message` + `property1=val1, property2=val2, ...`

This is causing unnecessary hardness when reading / browsing logs, as those properties are needed typically only as a "drill-down"

### Describe the solution you'd like

Having a way to push logs - where the `property1=val1, property2=val2, ...` can be extracted as structured data (as a drilldown) on the log entry itself in the UI - keeping only the `message` available for immediate browsing/read.

For example:
```
console.log(`Hello World! [a=1, b=2]`);
```

could be seen on the https://dash.deno.com/***/logs website as the following entry:

```
gcp-us-east4 Hello World! 4/20/2024, 8:09:10 PM
[a] [b]
```

`[a]` and `[b]` could be expanded (tooltip or expand/collapse) whenever needed for this log statement.

### Describe alternatives you've considered

None really - those properties are needed when dealing with concurrent requests

### Documentation, Adoption, Migration Strategy

If new construct/message format is needed - doc update is needed. No migration needed.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the Deno Deploy logs page linked in the issue and review how log messages are currently ingested and displayed. Use the provided console.log example to evaluate structured property extraction, and define done as showing the message for immediate browsing while making extracted properties expandable as drill-down data.

Written by the indexing model from the issue text.

Assessment

Tech stack
deno
Domain
observability
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.