hyperdxio / hyperdxio/hyperdx

for JSON type, field auto completion doesn't work in search

Open
#1,415 3 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
9.9k
Forks
471
Avg merge
2d 4h
Merged PRs (30d)
117

Description

When I used Map type for LogAttributes, auto completion works great in search.

Image

When i used JSON type for LogAttributes, auto completion doesn't work.

Image

Since JSON type support is in beta, i set BETA_CH_OTEL_JSON_SCHEMA_ENABLED=true to hyperdx but it didn't resolve the issue.

version: 2.8.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the search field autocomplete behavior with LogAttributes stored as Map and then as JSON, using version 2.8.0 and BETA_CH_OTEL_JSON_SCHEMA_ENABLED=true. Compare the two cases and confirm that JSON fields are suggested in search without breaking Map completion.

Written by the indexing model from the issue text.

Assessment

Tech stack
clickhouse, typescript
Domain
frontend, search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.