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

Zipkin tags object disabled in ES #48

Open
vineetalagh opened this issue Aug 11, 2021 · 1 comment
Open

Zipkin tags object disabled in ES #48

vineetalagh opened this issue Aug 11, 2021 · 1 comment

Comments

@vineetalagh
Copy link

Zipkin version: 2.23.2

ES Version: AWS ES 7.9

I have setup zipkin to write spans to our AWS managed ES instance. I am unable to search tags object in ES because they are not searchable. They have been marked as unknown datatype and are not enabled in the template.

How can I resolve this?

The zipkin template is:

{
  "zipkin-span-2021-08-11" : {
    "aliases" : { },
    "mappings" : {
      "_source" : {
        "excludes" : [ "_q" ]
      },
      "dynamic_templates" : [ {
        "strings" : {
          "match" : "*",
          "match_mapping_type" : "string",
          "mapping" : {
            "ignore_above" : 256,
            "norms" : false,
            "type" : "keyword"
          }
        }
      } ],
      "properties" : {
        "_q" : {
          "type" : "keyword"
        },
        "annotations" : {
          "type" : "object",
          "enabled" : false
        },
        "duration" : {
          "type" : "long"
        },
        "id" : {
          "type" : "keyword",
          "ignore_above" : 256
        },
        "kind" : {
          "type" : "keyword",
          "ignore_above" : 256
        },
        "localEndpoint" : {
          "dynamic" : "false",
          "properties" : {
            "serviceName" : {
              "type" : "keyword"
            }
          }
        },
        "name" : {
          "type" : "keyword"
        },
        "parentId" : {
          "type" : "keyword",
          "ignore_above" : 256
        },
        "remoteEndpoint" : {
          "dynamic" : "false",
          "properties" : {
            "serviceName" : {
              "type" : "keyword"
            }
          }
        },
        "shared" : {
          "type" : "boolean"
        },
        "tags" : {
          "type" : "object",
          "enabled" : false
        },
        "timestamp" : {
          "type" : "long"
        },
        "timestamp_millis" : {
          "type" : "date",
          "format" : "epoch_millis"
        },
        "traceId" : {
          "type" : "keyword"
        }
      }
    },
    "settings" : {
      "index" : {
        "number_of_shards" : "5",
        "provided_name" : "zipkin-span-2021-08-11",
        "creation_date" : "1628640006251",
        "requests" : {
          "cache" : {
            "enable" : "true"
          }
        },
        "number_of_replicas" : "1",
        "uuid" : "-BYja4VdRb6PdKOd5nFxRg",
        "version" : {
          "created" : "7090199"
        }
      }
    }
  }
}

Thanks,
Vineet

@jcchavezs
Copy link

Ping @xeera. Do you mind checking this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants