schema: 1

bugzilla:
  product: "Toolkit"
  component: "Gecko Trace"

origin:
  name: opentelemetry-cpp
  description: The OpenTelemetry C++ Client
  url: https://opentelemetry.io/

  release: v1.27.0 (2026-05-13T16:06:52+02:00).
  revision: v1.27.0

  license: Apache-2.0
  license-file: LICENSE

vendoring:
  url: https://github.com/open-telemetry/opentelemetry-cpp
  source-hosting: github
  tracking: tag

  exclude:
   - "**"
   - "sdk/include/opentelemetry/sdk/common/thread_instrumentation.h"
   - "sdk/include/opentelemetry/sdk/trace/batch_span_processor*.h"
   - "sdk/src/trace/batch_span_processor*.cc"

  include:
   - CHANGELOG.md
   - LICENSE
   - README.md
   - api/include/opentelemetry/*.h
   - api/include/opentelemetry/common/*.h
   - api/include/opentelemetry/context/*.h
   - api/include/opentelemetry/detail/*.h
   - api/include/opentelemetry/nostd/*.h
   - api/include/opentelemetry/semconv/incubating/process_attributes.h
   - api/include/opentelemetry/semconv/service_attributes.h
   - api/include/opentelemetry/semconv/telemetry_attributes.h
   - api/include/opentelemetry/std/*.h
   - api/include/opentelemetry/trace/*.h
   - exporters/memory/include/opentelemetry/exporters/memory/in_memory_data.h
   - exporters/memory/include/opentelemetry/exporters/memory/in_memory_span*.h
   - exporters/memory/src/in_memory_span_exporter_factory.cc
   - exporters/otlp/include/opentelemetry/exporters/otlp/otlp_populate_attribute_utils.h
   - exporters/otlp/include/opentelemetry/exporters/otlp/otlp_recordable*.h
   - exporters/otlp/include/opentelemetry/exporters/otlp/protobuf_include_prefix.h
   - exporters/otlp/include/opentelemetry/exporters/otlp/protobuf_include_suffix.h
   - exporters/otlp/src/otlp_populate_attribute_utils.cc
   - exporters/otlp/src/otlp_recordable*.cc
   - sdk/include/opentelemetry/*.h
   - sdk/include/opentelemetry/sdk/common/*.h
   - sdk/include/opentelemetry/sdk/instrumentationscope/*.h
   - sdk/include/opentelemetry/sdk/resource/*.h
   - sdk/include/opentelemetry/sdk/trace/*.h
   - sdk/include/opentelemetry/sdk/trace/samplers/always_on.h
   - sdk/include/opentelemetry/sdk/trace/samplers/always_on_factory.h
   - sdk/include/opentelemetry/sdk/version/*.h
   - sdk/src/common/**/*.cc
   - sdk/src/common/**/*.h
   - sdk/src/resource/*.cc
   - sdk/src/trace/*.cc
   - sdk/src/trace/*.h
   - sdk/src/trace/samplers/always_on_factory.cc
   - sdk/src/version/*.cc

  keep:
   - opentelemetry-config.mozbuild
   - third_party/

  patches:
   - patches/remove-non-vendored-context_value-variant.patch
   - patches/remove-log-related-entries-from-otlp-exporter.patch

updatebot:
  maintainer-phab: jari
  maintainer-bz: jjalkanen@mozilla.com
  tasks:
   - type: vendoring
     enabled: true
     frequency: release
