opensearch-project / opentelemetry-demo

This repository contains the OpenSearch adaptation for the OpenTelemetry Astronomy Shop, a microservice-based distributed system intended to illustrate the implementation of OpenTelemetry in a near real-world environment.
https://opentelemetry.io/docs/demo/
Apache License 2.0
15 stars 16 forks source link

update add serviceName keyword default field to exemplar fields #148

Closed YANG-DB closed 2 months ago

YANG-DB commented 2 months ago

Changes

update data-prepper's metrics index template with serviceName field under exemplar section:

      "exemplar": {
          "properties": {
            "time": {
              "type": "date"
            },
            "traceId": {
              "ignore_above": 256,
              "type": "keyword"
            },
            "serviceName": {
              "ignore_above": 256,
              "type": "keyword"
            },
            "spanId": {
              "ignore_above": 256,
              "type": "keyword"
            }
          }
        } 

related issues

https://github.com/opensearch-project/opentelemetry-demo/issues/147

additional context

exemplar proto