apache / apache/skywalking

[Feature][BanyanDB] Support KeyValuePair as native formart

Open
#13,564 0 comments 0 reactions 2 assignees Claimed by @ButterBright View on GitHub
backend bydb file compatible change database feature UI
Dominant language
Java
Stars
25k
Forks
6.6k
Avg merge
10h 5m
Merged PRs (30d)
16

Description

### Search before asking

- [x] I had searched in the [issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no similar feature requirement.

### Description

Key=Value pair is popular in observability data structure. BanyanDB needs to consider it as a native format to support query.
Query criticals could be as following if a column named `attributes` is defined.
1. `attributes["http.method"] exist`
2. `attributes["http.method"] not exist`
3. `attributes["http.method"] = "get"`
4. `attributes["http.method"] != "get"`

### Use case

Tag/Attr existing and value equal are popular cases in logs and traces query.

### Related issues

OTEL trace and Zipkin trace could leverage this.

https://github.com/apache/skywalking/issues/13563

As skywalking's native traces and logs could be enhanced by this.

### Are you willing to submit a pull request to implement this on your own?

- [ ] Yes I am willing to submit a pull request on my own!

### Code of Conduct

- [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.