Skip to content

Commit

Permalink
add otlp tag
Browse files Browse the repository at this point in the history
  • Loading branch information
GustavoCaso committed May 22, 2024
1 parent b7b509c commit a56269c
Show file tree
Hide file tree
Showing 3 changed files with 406 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/serverless/dependency_list_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func buildDependencyList() (string, error) {
arg1 := "-f"
arg2 := `"{{ join .Deps "\n"}}"`
arg3 := "-tags"
arg4 := "serverless"
arg4 := "serverless,otlp"
arg5 := "github.com/DataDog/datadog-agent/cmd/serverless"
cmd := exec.Command(run, arg0, arg1, arg2, arg3, arg4, arg5)

Expand Down
203 changes: 203 additions & 0 deletions cmd/serverless/linux_dependencies_amd64.txt
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ github.com/DataDog/datadog-agent/comp/logs/agent/config
github.com/DataDog/datadog-agent/comp/logs/agent/flare
github.com/DataDog/datadog-agent/comp/metadata/inventoryagent
github.com/DataDog/datadog-agent/comp/otelcol/otlp
github.com/DataDog/datadog-agent/comp/otelcol/otlp/components/exporter/logsagentexporter
github.com/DataDog/datadog-agent/comp/otelcol/otlp/components/exporter/serializerexporter
github.com/DataDog/datadog-agent/comp/otelcol/otlp/components/processor/infraattributesprocessor
github.com/DataDog/datadog-agent/comp/otelcol/otlp/internal/configutils
github.com/DataDog/datadog-agent/comp/remote-config/rcclient/types
github.com/DataDog/datadog-agent/comp/serializer/compression
github.com/DataDog/datadog-agent/comp/serializer/compression/compressionimpl
Expand Down Expand Up @@ -254,6 +258,7 @@ github.com/DataDog/datadog-agent/pkg/util/kubernetes
github.com/DataDog/datadog-agent/pkg/util/kubernetes/clustername
github.com/DataDog/datadog-agent/pkg/util/kubernetes/hostinfo
github.com/DataDog/datadog-agent/pkg/util/log
github.com/DataDog/datadog-agent/pkg/util/log/zap
github.com/DataDog/datadog-agent/pkg/util/optional
github.com/DataDog/datadog-agent/pkg/util/pointer
github.com/DataDog/datadog-agent/pkg/util/proto
Expand All @@ -266,6 +271,9 @@ github.com/DataDog/datadog-agent/pkg/util/system
github.com/DataDog/datadog-agent/pkg/util/system/socket
github.com/DataDog/datadog-agent/pkg/util/tmplvar
github.com/DataDog/datadog-agent/pkg/version
github.com/DataDog/datadog-api-client-go/v2
github.com/DataDog/datadog-api-client-go/v2/api/datadog
github.com/DataDog/datadog-api-client-go/v2/api/datadogV2
github.com/DataDog/datadog-go/v5/statsd
github.com/DataDog/go-libddwaf/v2
github.com/DataDog/go-libddwaf/v2/internal/lib
Expand All @@ -285,6 +293,11 @@ github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes/azure
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes/ec2
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes/gcp
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/attributes/source
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/logs
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics/internal/instrumentationlibrary
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics/internal/instrumentationscope
github.com/DataDog/opentelemetry-mapping-go/pkg/otlp/metrics/internal/utils
github.com/DataDog/opentelemetry-mapping-go/pkg/quantile
github.com/DataDog/opentelemetry-mapping-go/pkg/quantile/summary
github.com/DataDog/sketches-go/ddsketch
Expand Down Expand Up @@ -372,7 +385,9 @@ github.com/aws/smithy-go/transport/http
github.com/aws/smithy-go/transport/http/internal/io
github.com/benbjohnson/clock
github.com/beorn7/perks/quantile
github.com/briandowns/spinner
github.com/cenkalti/backoff
github.com/cenkalti/backoff/v4
github.com/cespare/xxhash/v2
github.com/cihub/seelog
github.com/containerd/cgroups/v3
Expand All @@ -386,6 +401,7 @@ github.com/ebitengine/purego
github.com/ebitengine/purego/internal/cgo
github.com/ebitengine/purego/internal/strings
github.com/fatih/color
github.com/felixge/httpsnoop
github.com/fsnotify/fsnotify
github.com/go-logr/logr
github.com/go-logr/logr/funcr
Expand All @@ -406,6 +422,7 @@ github.com/gogo/protobuf/proto
github.com/gogo/protobuf/protoc-gen-gogo/descriptor
github.com/gogo/protobuf/sortkeys
github.com/gogo/protobuf/types
github.com/golang/groupcache/lru
github.com/golang/mock/gomock
github.com/golang/protobuf/descriptor
github.com/golang/protobuf/jsonpb
Expand All @@ -416,12 +433,17 @@ github.com/golang/protobuf/ptypes/duration
github.com/golang/protobuf/ptypes/empty
github.com/golang/protobuf/ptypes/timestamp
github.com/golang/protobuf/ptypes/wrappers
github.com/golang/snappy
github.com/google/uuid
github.com/grpc-ecosystem/grpc-gateway/internal
github.com/grpc-ecosystem/grpc-gateway/runtime
github.com/grpc-ecosystem/grpc-gateway/utilities
github.com/grpc-ecosystem/grpc-gateway/v2/internal/httprule
github.com/grpc-ecosystem/grpc-gateway/v2/runtime
github.com/grpc-ecosystem/grpc-gateway/v2/utilities
github.com/hashicorp/errwrap
github.com/hashicorp/go-multierror
github.com/hashicorp/go-version
github.com/hashicorp/golang-lru/v2
github.com/hashicorp/golang-lru/v2/internal
github.com/hashicorp/golang-lru/v2/simplelru
Expand All @@ -439,6 +461,13 @@ github.com/imdario/mergo
github.com/json-iterator/go
github.com/kardianos/osext
github.com/karrick/godirwalk
github.com/klauspost/compress
github.com/klauspost/compress/fse
github.com/klauspost/compress/huff0
github.com/klauspost/compress/internal/cpuinfo
github.com/klauspost/compress/internal/snapref
github.com/klauspost/compress/zstd
github.com/klauspost/compress/zstd/internal/xxhash
github.com/knadh/koanf/maps
github.com/knadh/koanf/providers/confmap
github.com/knadh/koanf/v2
Expand All @@ -452,7 +481,12 @@ github.com/mitchellh/reflectwalk
github.com/modern-go/concurrent
github.com/modern-go/reflect2
github.com/mohae/deepcopy
github.com/mostynb/go-grpc-compression/internal/snappy
github.com/mostynb/go-grpc-compression/internal/zstd
github.com/mostynb/go-grpc-compression/nonclobbering/snappy
github.com/mostynb/go-grpc-compression/nonclobbering/zstd
github.com/olekukonko/tablewriter
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/resourcetotelemetry
github.com/opencontainers/go-digest
github.com/opencontainers/image-spec/specs-go
github.com/opencontainers/image-spec/specs-go/v1
Expand All @@ -479,6 +513,8 @@ github.com/richardartoul/molecule
github.com/richardartoul/molecule/src/codec
github.com/richardartoul/molecule/src/protowire
github.com/rivo/uniseg
github.com/rs/cors
github.com/rs/cors/internal
github.com/samber/lo
github.com/secure-systems-lab/go-securesystemslib/cjson
github.com/shirou/gopsutil/v3/common
Expand All @@ -495,17 +531,74 @@ github.com/spf13/cast
github.com/spf13/cobra
github.com/spf13/jwalterweatherman
github.com/spf13/pflag
github.com/stormcat24/protodep/pkg/logger
github.com/stretchr/testify/assert
github.com/stretchr/testify/require
github.com/tinylib/msgp/msgp
github.com/tklauser/go-sysconf
github.com/tklauser/numcpus
github.com/twmb/murmur3
go.opencensus.io
go.opencensus.io/internal
go.opencensus.io/internal/tagencoding
go.opencensus.io/metric
go.opencensus.io/metric/metricdata
go.opencensus.io/metric/metricproducer
go.opencensus.io/resource
go.opencensus.io/trace
go.opencensus.io/trace/internal
go.opencensus.io/trace/tracestate
go.opentelemetry.io/collector/client
go.opentelemetry.io/collector/component
go.opentelemetry.io/collector/component/componenttest
go.opentelemetry.io/collector/config/configauth
go.opentelemetry.io/collector/config/configcompression
go.opentelemetry.io/collector/config/configgrpc
go.opentelemetry.io/collector/config/confighttp
go.opentelemetry.io/collector/config/confignet
go.opentelemetry.io/collector/config/configopaque
go.opentelemetry.io/collector/config/configretry
go.opentelemetry.io/collector/config/configtelemetry
go.opentelemetry.io/collector/config/configtls
go.opentelemetry.io/collector/config/internal
go.opentelemetry.io/collector/confmap
go.opentelemetry.io/collector/confmap/converter/expandconverter
go.opentelemetry.io/collector/confmap/internal/mapstructure
go.opentelemetry.io/collector/confmap/provider/envprovider
go.opentelemetry.io/collector/confmap/provider/fileprovider
go.opentelemetry.io/collector/confmap/provider/httpprovider
go.opentelemetry.io/collector/confmap/provider/httpsprovider
go.opentelemetry.io/collector/confmap/provider/internal
go.opentelemetry.io/collector/confmap/provider/internal/configurablehttpprovider
go.opentelemetry.io/collector/confmap/provider/yamlprovider
go.opentelemetry.io/collector/connector
go.opentelemetry.io/collector/consumer
go.opentelemetry.io/collector/consumer/consumererror
go.opentelemetry.io/collector/exporter
go.opentelemetry.io/collector/exporter/exporterbatcher
go.opentelemetry.io/collector/exporter/exporterhelper
go.opentelemetry.io/collector/exporter/exporterqueue
go.opentelemetry.io/collector/exporter/internal/common
go.opentelemetry.io/collector/exporter/internal/experr
go.opentelemetry.io/collector/exporter/internal/otlptext
go.opentelemetry.io/collector/exporter/internal/queue
go.opentelemetry.io/collector/exporter/loggingexporter
go.opentelemetry.io/collector/exporter/loggingexporter/internal/metadata
go.opentelemetry.io/collector/exporter/otlpexporter
go.opentelemetry.io/collector/exporter/otlpexporter/internal/metadata
go.opentelemetry.io/collector/extension
go.opentelemetry.io/collector/extension/auth
go.opentelemetry.io/collector/extension/experimental/storage
go.opentelemetry.io/collector/featuregate
go.opentelemetry.io/collector/internal/fanoutconsumer
go.opentelemetry.io/collector/internal/httphelper
go.opentelemetry.io/collector/internal/localhostgate
go.opentelemetry.io/collector/internal/obsreportconfig
go.opentelemetry.io/collector/internal/obsreportconfig/obsmetrics
go.opentelemetry.io/collector/internal/sharedcomponent
go.opentelemetry.io/collector/otelcol
go.opentelemetry.io/collector/otelcol/internal/configunmarshaler
go.opentelemetry.io/collector/otelcol/internal/grpclog
go.opentelemetry.io/collector/pdata/internal
go.opentelemetry.io/collector/pdata/internal/data
go.opentelemetry.io/collector/pdata/internal/data/protogen/collector/logs/v1
Expand All @@ -519,15 +612,82 @@ go.opentelemetry.io/collector/pdata/internal/data/protogen/trace/v1
go.opentelemetry.io/collector/pdata/internal/json
go.opentelemetry.io/collector/pdata/internal/otlp
go.opentelemetry.io/collector/pdata/pcommon
go.opentelemetry.io/collector/pdata/plog
go.opentelemetry.io/collector/pdata/plog/plogotlp
go.opentelemetry.io/collector/pdata/pmetric
go.opentelemetry.io/collector/pdata/pmetric/pmetricotlp
go.opentelemetry.io/collector/pdata/ptrace
go.opentelemetry.io/collector/pdata/ptrace/ptraceotlp
go.opentelemetry.io/collector/processor
go.opentelemetry.io/collector/processor/batchprocessor
go.opentelemetry.io/collector/processor/batchprocessor/internal/metadata
go.opentelemetry.io/collector/processor/processorhelper
go.opentelemetry.io/collector/receiver
go.opentelemetry.io/collector/receiver/otlpreceiver
go.opentelemetry.io/collector/receiver/otlpreceiver/internal/errors
go.opentelemetry.io/collector/receiver/otlpreceiver/internal/logs
go.opentelemetry.io/collector/receiver/otlpreceiver/internal/metadata
go.opentelemetry.io/collector/receiver/otlpreceiver/internal/metrics
go.opentelemetry.io/collector/receiver/otlpreceiver/internal/trace
go.opentelemetry.io/collector/receiver/receiverhelper
go.opentelemetry.io/collector/semconv/v1.17.0
go.opentelemetry.io/collector/semconv/v1.18.0
go.opentelemetry.io/collector/semconv/v1.6.1
go.opentelemetry.io/collector/service
go.opentelemetry.io/collector/service/extensions
go.opentelemetry.io/collector/service/internal/capabilityconsumer
go.opentelemetry.io/collector/service/internal/components
go.opentelemetry.io/collector/service/internal/graph
go.opentelemetry.io/collector/service/internal/proctelemetry
go.opentelemetry.io/collector/service/internal/resource
go.opentelemetry.io/collector/service/internal/servicetelemetry
go.opentelemetry.io/collector/service/internal/status
go.opentelemetry.io/collector/service/internal/zpages
go.opentelemetry.io/collector/service/pipelines
go.opentelemetry.io/collector/service/telemetry
go.opentelemetry.io/contrib/config
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc/internal
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/internal/semconv
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/internal/semconvutil
go.opentelemetry.io/contrib/propagators/b3
go.opentelemetry.io/otel
go.opentelemetry.io/otel/attribute
go.opentelemetry.io/otel/baggage
go.opentelemetry.io/otel/bridge/opencensus
go.opentelemetry.io/otel/bridge/opencensus/internal
go.opentelemetry.io/otel/bridge/opencensus/internal/oc2otel
go.opentelemetry.io/otel/bridge/opencensus/internal/ocmetric
go.opentelemetry.io/otel/bridge/opencensus/internal/otel2oc
go.opentelemetry.io/otel/codes
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc/internal
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc/internal/envconfig
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc/internal/oconf
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc/internal/retry
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc/internal/transform
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp/internal
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp/internal/envconfig
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp/internal/oconf
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp/internal/retry
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp/internal/transform
go.opentelemetry.io/otel/exporters/otlp/otlptrace
go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/tracetransform
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/envconfig
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/otlpconfig
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/retry
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp/internal
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp/internal/envconfig
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp/internal/otlpconfig
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp/internal/retry
go.opentelemetry.io/otel/exporters/prometheus
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric
go.opentelemetry.io/otel/exporters/stdout/stdouttrace
go.opentelemetry.io/otel/internal
go.opentelemetry.io/otel/internal/attribute
go.opentelemetry.io/otel/internal/baggage
Expand All @@ -549,10 +709,18 @@ go.opentelemetry.io/otel/sdk/metric/metricdata
go.opentelemetry.io/otel/sdk/resource
go.opentelemetry.io/otel/sdk/trace
go.opentelemetry.io/otel/sdk/trace/tracetest
go.opentelemetry.io/otel/semconv/v1.17.0
go.opentelemetry.io/otel/semconv/v1.20.0
go.opentelemetry.io/otel/semconv/v1.24.0
go.opentelemetry.io/otel/trace
go.opentelemetry.io/otel/trace/embedded
go.opentelemetry.io/otel/trace/noop
go.opentelemetry.io/proto/otlp/collector/metrics/v1
go.opentelemetry.io/proto/otlp/collector/trace/v1
go.opentelemetry.io/proto/otlp/common/v1
go.opentelemetry.io/proto/otlp/metrics/v1
go.opentelemetry.io/proto/otlp/resource/v1
go.opentelemetry.io/proto/otlp/trace/v1
go.uber.org/atomic
go.uber.org/automaxprocs/internal/cgroups
go.uber.org/automaxprocs/internal/runtime
Expand Down Expand Up @@ -580,8 +748,10 @@ go.uber.org/zap/internal/exit
go.uber.org/zap/internal/pool
go.uber.org/zap/internal/stacktrace
go.uber.org/zap/zapcore
go.uber.org/zap/zapgrpc
go/token
golang.org/x/exp/constraints
golang.org/x/exp/maps
golang.org/x/exp/slices
golang.org/x/net/http/httpguts
golang.org/x/net/http/httpproxy
Expand All @@ -592,7 +762,10 @@ golang.org/x/net/internal/socks
golang.org/x/net/internal/timeseries
golang.org/x/net/proxy
golang.org/x/net/trace
golang.org/x/oauth2
golang.org/x/oauth2/internal
golang.org/x/sys/unix
golang.org/x/term
golang.org/x/text/cases
golang.org/x/text/internal
golang.org/x/text/internal/language
Expand All @@ -607,9 +780,35 @@ golang.org/x/text/unicode/norm
golang.org/x/time/rate
golang.org/x/xerrors
golang.org/x/xerrors/internal
gonum.org/v1/gonum/blas
gonum.org/v1/gonum/blas/blas64
gonum.org/v1/gonum/blas/cblas128
gonum.org/v1/gonum/blas/gonum
gonum.org/v1/gonum/floats
gonum.org/v1/gonum/floats/scalar
gonum.org/v1/gonum/graph
gonum.org/v1/gonum/graph/internal/linear
gonum.org/v1/gonum/graph/internal/ordered
gonum.org/v1/gonum/graph/internal/set
gonum.org/v1/gonum/graph/iterator
gonum.org/v1/gonum/graph/set/uid
gonum.org/v1/gonum/graph/simple
gonum.org/v1/gonum/graph/topo
gonum.org/v1/gonum/graph/traverse
gonum.org/v1/gonum/internal/asm/c128
gonum.org/v1/gonum/internal/asm/c64
gonum.org/v1/gonum/internal/asm/f32
gonum.org/v1/gonum/internal/asm/f64
gonum.org/v1/gonum/internal/cmplx64
gonum.org/v1/gonum/internal/math32
gonum.org/v1/gonum/lapack
gonum.org/v1/gonum/lapack/gonum
gonum.org/v1/gonum/lapack/lapack64
gonum.org/v1/gonum/mat
google.golang.org/genproto/googleapis/api
google.golang.org/genproto/googleapis/api/annotations
google.golang.org/genproto/googleapis/api/httpbody
google.golang.org/genproto/googleapis/rpc/errdetails
google.golang.org/genproto/googleapis/rpc/status
google.golang.org/genproto/protobuf/field_mask
google.golang.org/grpc
Expand All @@ -626,8 +825,10 @@ google.golang.org/grpc/connectivity
google.golang.org/grpc/credentials
google.golang.org/grpc/credentials/insecure
google.golang.org/grpc/encoding
google.golang.org/grpc/encoding/gzip
google.golang.org/grpc/encoding/proto
google.golang.org/grpc/grpclog
google.golang.org/grpc/health/grpc_health_v1
google.golang.org/grpc/internal
google.golang.org/grpc/internal/backoff
google.golang.org/grpc/internal/balancer/gracefulswitch
Expand Down Expand Up @@ -701,6 +902,7 @@ google.golang.org/protobuf/types/known/anypb
google.golang.org/protobuf/types/known/durationpb
google.golang.org/protobuf/types/known/emptypb
google.golang.org/protobuf/types/known/fieldmaskpb
google.golang.org/protobuf/types/known/structpb
google.golang.org/protobuf/types/known/timestamppb
google.golang.org/protobuf/types/known/wrapperspb
gopkg.in/DataDog/dd-trace-go.v1/datastreams/options
Expand Down Expand Up @@ -780,6 +982,7 @@ log/slog/internal/buffer
math
math/big
math/bits
math/cmplx
math/rand
mime
mime/multipart
Expand Down
Loading

0 comments on commit a56269c

Please sign in to comment.