# Note: Later matches take precedence

# default owner
*                               @DataDog/dd-trace-go-guild
# tracing
/contrib                        @DataDog/apm-go @DataDog/apm-idm-go
/ddtrace                        @DataDog/apm-go

# profiling
/profiler                       @DataDog/profiling-go
/internal/traceprof             @DataDog/profiling-go

# appsec
/appsec                         @DataDog/asm-go
/internal/appsec                @DataDog/asm-go
/instrumentation/appsec         @DataDog/asm-go
/contrib/**/*appsec*.go         @DataDog/asm-go
/.github/workflows/appsec.yml   @DataDog/asm-go
/contrib/envoyproxy             @DataDog/asm-go
/contrib/haproxy                @DataDog/asm-go
/contrib/k8s.io/gateway-api     @DataDog/asm-go

# Internal shared packages
/internal/log                   @DataDog/dd-trace-go-guild
/internal/stacktrace            @DataDog/dd-trace-go-guild
/internal/synctest              @DataDog/dd-trace-go-guild

# capabilities - config, dynamic config, remote config
/internal/env                        @DataDog/apm-sdk-capabilities-go
/internal/stableconfig               @DataDog/apm-sdk-capabilities-go
/internal/globalconfig               @DataDog/apm-sdk-capabilities-go
/internal/remoteconfig               @DataDog/apm-sdk-capabilities-go
/ddtrace/tracer/dynamic_config.go    @DataDog/apm-sdk-capabilities-go
/ddtrace/tracer/remote_config.go     @DataDog/apm-sdk-capabilities-go
/ddtrace/tracer/otel_dd_mappings.go  @DataDog/apm-sdk-capabilities-go
# capabilities - telemetry
/internal/telemetry                  @DataDog/apm-sdk-capabilities-go
/ddtrace/tracer/telemetry.go         @DataDog/apm-sdk-capabilities-go
# capabilities - sampling
/ddtrace/tracer/tracer.go            @DataDog/apm-sdk-capabilities-go
/ddtrace/tracer/sampler.go           @DataDog/apm-sdk-capabilities-go
/ddtrace/tracer/rules_sampler.go     @DataDog/apm-sdk-capabilities-go
/internal/samplernames               @DataDog/apm-sdk-capabilities-go
# capabilities - context, propagation, injection/extraction
/ddtrace/baggage                     @DataDog/apm-sdk-capabilities-go
/ddtrace/tracer/textmap.go           @DataDog/apm-sdk-capabilities-go
/ddtrace/tracer/spancontext.go       @DataDog/apm-sdk-capabilities-go
/ddtrace/tracer/context.go           @DataDog/apm-sdk-capabilities-go
/ddtrace/tracer/propagator.go        @DataDog/apm-sdk-capabilities-go
/ddtrace/tracer/propagating_tags.go  @DataDog/apm-sdk-capabilities-go
# capabilities- OTel integration
/ddtrace/opentelemetry               @DataDog/apm-sdk-capabilities-go

# data streams monitoring
/datastreams                                @Datadog/data-streams-monitoring
/internal/datastreams                       @Datadog/data-streams-monitoring
/ddtrace/tracer/data_streams.go             @Datadog/data-streams-monitoring
/contrib/IBM/sarama                         @DataDog/apm-go @Datadog/apm-idm-go @Datadog/data-streams-monitoring
/contrib/Shopify/sarama                     @DataDog/apm-go @Datadog/apm-idm-go @Datadog/data-streams-monitoring
/contrib/confluentinc/confluent-kafka-go    @DataDog/apm-go @Datadog/apm-idm-go @Datadog/data-streams-monitoring
/contrib/segmentio/kafka-go                 @DataDog/apm-go @Datadog/apm-idm-go @Datadog/data-streams-monitoring

# civisibility
/civisibility                   @DataDog/ci-app-libraries
/internal/civisibility          @DataDog/ci-app-libraries

# llm observability
/llmobs                                    @DataDog/ml-observability @DataDog/apm-idm-go
/internal/llmobs                           @DataDog/ml-observability @DataDog/apm-idm-go
/contrib/mark3labs/mcp-go                  @DataDog/ml-observability @DataDog/apm-idm-go
/contrib/modelcontextprotocol/go-sdk       @DataDog/ml-observability @DataDog/apm-idm-go

# Gitlab configuration
.gitlab-ci.yml                  @DataDog/dd-trace-go-guild @DataDog/apm-ecosystems-reliability
/.gitlab-ci                     @DataDog/dd-trace-go-guild @DataDog/apm-ecosystems-reliability

# Orchestrion
/internal/orchestrion           @DataDog/apm-orchestrion
/**/orchestrion.yml             @DataDog/apm-orchestrion

# Serverless
/contrib/aws/datadog-lambda-go  @DataDog/apm-serverless @DataDog/serverless-aws

# Feature Flagging Experiments
/openfeature                    @DataDog/feature-flagging-and-experimentation-sdk @DataDog/asm-go

# Database Monitoring
ddtrace/tracer/sqlcomment*      @DataDog/database-monitoring @DataDog/apm-go @DataDog/apm-idm-go
contrib/database/sql            @DataDog/database-monitoring @DataDog/apm-go @DataDog/apm-idm-go

# no owner: changes to these files will not automatically ping any particular
# team and can be reviewed by anybody with the appropriate permissions. This is
# meant to avoid pinging all of @DataDog/dd-trace-go-guild for every PR that
# changes one of these files.
**/go.mod
**/go.sum
go.work
go.work.sum
