Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] incorrect traces mapping json #199

Open
chikei opened this issue Nov 21, 2024 · 2 comments
Open

[BUG] incorrect traces mapping json #199

chikei opened this issue Nov 21, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@chikei
Copy link

chikei commented Nov 21, 2024

current traces or traces data stream mapping has this attributes definition

        "attributes": {
          "type": "object",
          "data_stream": {
            "properties": {
                "dataset": {
                  "ignore_above": 128,
                  "type": "keyword"
                },
                "namespace": {
                  "ignore_above": 128,
                  "type": "keyword"
                },
                "type": {
                  "ignore_above": 56,
                  "type": "keyword"
                }
              }
            }
          }
        },

that is uneven bracket'ed and I think uses an incorrect schema for type object, the correct one should be

        "attributes": {
          "type": "object",
          "properties": {
            "data_stream": {
              "properties": {
                "dataset": {
                  "ignore_above": 128,
                  "type": "keyword"
                },
                "namespace": {
                  "ignore_above": 128,
                  "type": "keyword"
                },
                "type": {
                  "ignore_above": 56,
                  "type": "keyword"
                }
              }
            }
          }
        },
@chikei chikei added bug Something isn't working untriaged labels Nov 21, 2024
@YANG-DB YANG-DB removed the untriaged label Nov 25, 2024
@YANG-DB YANG-DB self-assigned this Nov 25, 2024
@YANG-DB
Copy link
Member

YANG-DB commented Nov 25, 2024

@chikei thanks for your help
We will issue a fix ASAP

YANG-DB added a commit to YANG-DB/opensearch-catalog that referenced this issue Nov 25, 2024
@YANG-DB
Copy link
Member

YANG-DB commented Nov 25, 2024

@chikei see #200 - soon to be reviewed and merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants