dylibso / dylibso/observe-sdk

make otel json formatter Value type generic over serde_json::Value

Open
#27 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
188
Forks
8
PR merge metrics
No merged PRs in 30d

Description

See: https://github.com/dylibso/observe-sdk/blob/main/rust/src/adapter/otel_formatter/mod.rs#L33C1-L38

If it makes sense to go more generic than `serde_json` then let's do it, but for this adapter we at least need to support json, so the `serde_json` option is fine

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in rust/src/adapter/otel_formatter/mod.rs at lines 33–38 and inspect how the formatter currently uses serde_json::Value. Determine the smallest generic change that still supports JSON for this adapter; done means the formatter accepts the intended generic Value type while retaining serde_json compatibility.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
observability-sre
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.