Skip to content

Commit

Permalink
Merge branch 'main' into fix_set_data_race
Browse files Browse the repository at this point in the history
  • Loading branch information
rogercoll authored Sep 3, 2024
2 parents 228658c + ad02711 commit 2f2f3c4
Show file tree
Hide file tree
Showing 117 changed files with 1,093 additions and 1,048 deletions.
27 changes: 27 additions & 0 deletions .chloggen/fix-wrong-latency.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Use this changelog template to create an entry for release notes.

# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
change_type: bug_fix

# The name of the component, or a single word describing the area of concern, (e.g. filelogreceiver)
component: servicegraphconnector

# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
note: Fix incorrectly reversed latency settings for the server and client

# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists.
issues: [34933]

# (Optional) One or more lines of additional information to render under the primary note.
# These lines will be padded with 2 spaces and then inserted directly into the document.
# Use pipe (|) for multiline entries.
subtext:

# If your change doesn't affect end users or the exported elements of any package,
# you should instead start your pull request title with [chore] or use the "Skip Changelog" label.
# Optional: The change log or logs in which this entry should be included.
# e.g. '[user]' or '[user, api]'
# Include 'user' if the change is relevant to end users.
# Include 'api' if there is a change to a library API.
# Default: '[user]'
change_logs: []
4 changes: 2 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,14 +137,14 @@ linters-settings:
- compares
- empty
- error-is-as
- error-nil
- expected-actual
- float-compare
- formatter
- go-require
- negative-positive
- nil-compare
- require-error
- suite-dont-use-pkg
- suite-subtest-run
- useless-assert
enable-all: true

Expand Down
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,14 @@ golint:
gogovulncheck:
$(MAKE) $(FOR_GROUP_TARGET) TARGET="govulncheck"

.PHONY: gotestifylint
gotestifylint:
$(MAKE) $(FOR_GROUP_TARGET) TARGET="testifylint"

.PHONY: gotestifylint-fix
gotestifylint-fix:
$(MAKE) $(FOR_GROUP_TARGET) TARGET="testifylint-fix"

.PHONY: goporto
goporto: $(PORTO)
$(PORTO) -w --include-internal --skip-dirs "^cmd$$" ./
Expand Down
11 changes: 11 additions & 0 deletions Makefile.Common
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,10 @@ BUILDER := $(TOOLS_BIN_DIR)/builder
GOVULNCHECK := $(TOOLS_BIN_DIR)/govulncheck
GCI := $(TOOLS_BIN_DIR)/gci
GOTESTSUM := $(TOOLS_BIN_DIR)/gotestsum
TESTIFYLINT := $(TOOLS_BIN_DIR)/testifylint

GOTESTSUM_OPT?= --rerun-fails=1
TESTIFYLINT_OPT?= --enable-all --disable=compares,empty,error-is-as,expected-actual,float-compare,formatter,go-require,negative-positive,require-error,suite-dont-use-pkg,suite-subtest-run,useless-assert

# BUILD_TYPE should be one of (dev, release).
BUILD_TYPE?=release
Expand Down Expand Up @@ -220,6 +222,15 @@ misspell-correction: $(TOOLS_BIN_DIR)/misspell
moddownload:
$(GOCMD) mod download

.PHONY: testifylint
testifylint: $(TESTIFYLINT)
@echo "running $(TESTIFYLINT)"
$(TESTIFYLINT) $(TESTIFYLINT_OPT) ./...

.PHONY: testifylint-fix
testifylint-fix:
@$(MAKE) testifylint TESTIFYLINT_OPT="${TESTIFYLINT_OPT} --fix"

.PHONY: gci
gci: $(TOOLS_BIN_DIR)/gci
@echo "running $(GCI)"
Expand Down
118 changes: 59 additions & 59 deletions cmd/otelcontribcol/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -289,65 +289,65 @@ require (
github.com/Azure/go-autorest/tracing v0.6.0 // indirect
github.com/AzureAD/microsoft-authentication-library-for-go v1.2.2 // indirect
github.com/ClickHouse/ch-go v0.61.5 // indirect
github.com/ClickHouse/clickhouse-go/v2 v2.28.1 // indirect
github.com/ClickHouse/clickhouse-go/v2 v2.28.2 // indirect
github.com/Code-Hex/go-generics-cache v1.5.1 // indirect
github.com/DataDog/agent-payload/v5 v5.0.131 // indirect
github.com/DataDog/datadog-agent/comp/core/config v0.56.0 // indirect
github.com/DataDog/datadog-agent/comp/core/flare/builder v0.56.0 // indirect
github.com/DataDog/datadog-agent/comp/core/flare/types v0.56.0 // indirect
github.com/DataDog/datadog-agent/comp/core/hostname/hostnameinterface v0.56.0 // indirect
github.com/DataDog/datadog-agent/comp/core/log v0.56.0 // indirect
github.com/DataDog/datadog-agent/comp/core/secrets v0.56.0 // indirect
github.com/DataDog/datadog-agent/comp/core/telemetry v0.56.0 // indirect
github.com/DataDog/datadog-agent/comp/def v0.56.0 // indirect
github.com/DataDog/datadog-agent/comp/logs/agent/config v0.56.0 // indirect
github.com/DataDog/datadog-agent/comp/otelcol/logsagentpipeline v0.56.0 // indirect
github.com/DataDog/datadog-agent/comp/otelcol/logsagentpipeline/logsagentpipelineimpl v0.56.0 // indirect
github.com/DataDog/datadog-agent/comp/otelcol/otlp/components/exporter/logsagentexporter v0.56.0 // indirect
github.com/DataDog/datadog-agent/comp/otelcol/otlp/components/metricsclient v0.56.0 // indirect
github.com/DataDog/datadog-agent/comp/otelcol/otlp/components/statsprocessor v0.56.0 // indirect
github.com/DataDog/datadog-agent/comp/trace/compression/def v0.56.0 // indirect
github.com/DataDog/datadog-agent/comp/trace/compression/impl-gzip v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/collector/check/defaults v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/config/env v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/config/model v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/config/setup v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/config/utils v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/logs/auditor v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/logs/client v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/logs/diagnostic v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/logs/message v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/logs/metrics v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/logs/pipeline v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/logs/processor v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/logs/sds v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/logs/sender v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/logs/sources v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/logs/status/statusinterface v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/logs/status/utils v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/obfuscate v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/proto v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/status/health v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/telemetry v0.56.0 // indirect
github.com/DataDog/datadog-agent/comp/core/config v0.56.2 // indirect
github.com/DataDog/datadog-agent/comp/core/flare/builder v0.56.2 // indirect
github.com/DataDog/datadog-agent/comp/core/flare/types v0.56.2 // indirect
github.com/DataDog/datadog-agent/comp/core/hostname/hostnameinterface v0.56.2 // indirect
github.com/DataDog/datadog-agent/comp/core/log v0.56.2 // indirect
github.com/DataDog/datadog-agent/comp/core/secrets v0.56.2 // indirect
github.com/DataDog/datadog-agent/comp/core/telemetry v0.56.2 // indirect
github.com/DataDog/datadog-agent/comp/def v0.56.2 // indirect
github.com/DataDog/datadog-agent/comp/logs/agent/config v0.56.2 // indirect
github.com/DataDog/datadog-agent/comp/otelcol/logsagentpipeline v0.56.2 // indirect
github.com/DataDog/datadog-agent/comp/otelcol/logsagentpipeline/logsagentpipelineimpl v0.56.2 // indirect
github.com/DataDog/datadog-agent/comp/otelcol/otlp/components/exporter/logsagentexporter v0.56.2 // indirect
github.com/DataDog/datadog-agent/comp/otelcol/otlp/components/metricsclient v0.56.2 // indirect
github.com/DataDog/datadog-agent/comp/otelcol/otlp/components/statsprocessor v0.56.2 // indirect
github.com/DataDog/datadog-agent/comp/trace/compression/def v0.56.2 // indirect
github.com/DataDog/datadog-agent/comp/trace/compression/impl-gzip v0.56.2 // indirect
github.com/DataDog/datadog-agent/pkg/collector/check/defaults v0.56.2 // indirect
github.com/DataDog/datadog-agent/pkg/config/env v0.56.2 // indirect
github.com/DataDog/datadog-agent/pkg/config/model v0.56.2 // indirect
github.com/DataDog/datadog-agent/pkg/config/setup v0.56.2 // indirect
github.com/DataDog/datadog-agent/pkg/config/utils v0.56.2 // indirect
github.com/DataDog/datadog-agent/pkg/logs/auditor v0.56.2 // indirect
github.com/DataDog/datadog-agent/pkg/logs/client v0.56.2 // indirect
github.com/DataDog/datadog-agent/pkg/logs/diagnostic v0.56.2 // indirect
github.com/DataDog/datadog-agent/pkg/logs/message v0.56.2 // indirect
github.com/DataDog/datadog-agent/pkg/logs/metrics v0.56.2 // indirect
github.com/DataDog/datadog-agent/pkg/logs/pipeline v0.56.2 // indirect
github.com/DataDog/datadog-agent/pkg/logs/processor v0.56.2 // indirect
github.com/DataDog/datadog-agent/pkg/logs/sds v0.56.2 // indirect
github.com/DataDog/datadog-agent/pkg/logs/sender v0.56.2 // indirect
github.com/DataDog/datadog-agent/pkg/logs/sources v0.56.2 // indirect
github.com/DataDog/datadog-agent/pkg/logs/status/statusinterface v0.56.2 // indirect
github.com/DataDog/datadog-agent/pkg/logs/status/utils v0.56.2 // indirect
github.com/DataDog/datadog-agent/pkg/obfuscate v0.56.2 // indirect
github.com/DataDog/datadog-agent/pkg/proto v0.56.2 // indirect
github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.56.2 // indirect
github.com/DataDog/datadog-agent/pkg/status/health v0.56.2 // indirect
github.com/DataDog/datadog-agent/pkg/telemetry v0.56.2 // indirect
github.com/DataDog/datadog-agent/pkg/trace v0.57.0-devel.0.20240722160158-ad956a31a730 // indirect
github.com/DataDog/datadog-agent/pkg/util/backoff v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/util/cgroups v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/util/executable v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/util/filesystem v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/util/fxutil v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/util/hostname/validate v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/util/http v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/util/log v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/util/optional v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/util/pointer v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/util/scrubber v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/util/startstop v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/util/statstracker v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/util/system v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/util/system/socket v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/util/winutil v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/version v0.56.0 // indirect
github.com/DataDog/datadog-agent/pkg/util/backoff v0.56.2 // indirect
github.com/DataDog/datadog-agent/pkg/util/cgroups v0.56.2 // indirect
github.com/DataDog/datadog-agent/pkg/util/executable v0.56.2 // indirect
github.com/DataDog/datadog-agent/pkg/util/filesystem v0.56.2 // indirect
github.com/DataDog/datadog-agent/pkg/util/fxutil v0.56.2 // indirect
github.com/DataDog/datadog-agent/pkg/util/hostname/validate v0.56.2 // indirect
github.com/DataDog/datadog-agent/pkg/util/http v0.56.2 // indirect
github.com/DataDog/datadog-agent/pkg/util/log v0.56.2 // indirect
github.com/DataDog/datadog-agent/pkg/util/optional v0.56.2 // indirect
github.com/DataDog/datadog-agent/pkg/util/pointer v0.56.2 // indirect
github.com/DataDog/datadog-agent/pkg/util/scrubber v0.56.2 // indirect
github.com/DataDog/datadog-agent/pkg/util/startstop v0.56.2 // indirect
github.com/DataDog/datadog-agent/pkg/util/statstracker v0.56.2 // indirect
github.com/DataDog/datadog-agent/pkg/util/system v0.56.2 // indirect
github.com/DataDog/datadog-agent/pkg/util/system/socket v0.56.2 // indirect
github.com/DataDog/datadog-agent/pkg/util/winutil v0.56.2 // indirect
github.com/DataDog/datadog-agent/pkg/version v0.56.2 // indirect
github.com/DataDog/datadog-api-client-go/v2 v2.29.0 // indirect
github.com/DataDog/datadog-go/v5 v5.5.0 // indirect
github.com/DataDog/dd-sensitive-data-scanner/sds-go/go v0.0.0-20240419161837-f1b2f553edfe // indirect
Expand Down Expand Up @@ -446,7 +446,7 @@ require (
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
github.com/digitalocean/godo v1.118.0 // indirect
github.com/distribution/reference v0.6.0 // indirect
github.com/docker/docker v27.1.1+incompatible // indirect
github.com/docker/docker v27.2.0+incompatible // indirect
github.com/docker/go-connections v0.5.0 // indirect
github.com/docker/go-units v0.5.0 // indirect
github.com/dustin/go-humanize v1.0.1 // indirect
Expand Down Expand Up @@ -712,14 +712,14 @@ require (
github.com/secure-systems-lab/go-securesystemslib v0.7.0 // indirect
github.com/segmentio/asm v1.2.0 // indirect
github.com/shirou/gopsutil/v3 v3.24.5 // indirect
github.com/shirou/gopsutil/v4 v4.24.7 // indirect
github.com/shirou/gopsutil/v4 v4.24.8 // indirect
github.com/shoenig/go-m1cpu v0.1.6 // indirect
github.com/shopspring/decimal v1.4.0 // indirect
github.com/signalfx/com_signalfx_metrics_protobuf v0.0.3 // indirect
github.com/signalfx/sapm-proto v0.14.0 // indirect
github.com/sijms/go-ora/v2 v2.8.19 // indirect
github.com/sirupsen/logrus v1.9.3 // indirect
github.com/snowflakedb/gosnowflake v1.11.0 // indirect
github.com/snowflakedb/gosnowflake v1.11.1 // indirect
github.com/soheilhy/cmux v0.1.5 // indirect
github.com/solarwindscloud/apm-proto v1.0.7 // indirect
github.com/sourcegraph/conc v0.3.0 // indirect
Expand Down
Loading

0 comments on commit 2f2f3c4

Please sign in to comment.