diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2c4ffd77..2456a273 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -40,7 +40,7 @@ In order to remove them run `make clean-tools` or `make clean-all`. ### Building the collector -The command `make` or `make build` (the default target) will build the collector for your operating system and CPU architecture. The resulting binary will be `bin/otelcol-dynatrace`. +The command `make` or `make build` (the default target) will build the collector for your operating system and CPU architecture. The resulting binary will be `bin/dynatrace-otel-collector`. #### Cross-compiling other architectures diff --git a/Makefile b/Makefile index 0be697e7..1d2579c8 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ BIN_DIR = bin # SRC_ROOT is the top of the source tree. SRC_ROOT := $(shell git rev-parse --show-toplevel) -BIN = $(BIN_DIR)/otelcol-dynatrace +BIN = $(BIN_DIR)/dynatrace-otel-collector MAIN = $(BUILD_DIR)/main.go # Files to be copied directly from the project root diff --git a/manifest.yaml b/manifest.yaml index ebd9ffb0..c7461365 100644 --- a/manifest.yaml +++ b/manifest.yaml @@ -1,6 +1,6 @@ dist: module: github.com/Dynatrace/dynatrace-otel-collector - name: otelcol-dynatrace + name: dynatrace-otel-collector description: Dynatrace OpenTelemetry Collector Distribution output_path: ./build version: 0.0.1-alpha diff --git a/testbed/smoke/smoke_test.go b/testbed/smoke/smoke_test.go index 0d76b3ac..928d8453 100644 --- a/testbed/smoke/smoke_test.go +++ b/testbed/smoke/smoke_test.go @@ -16,7 +16,7 @@ import ( "gopkg.in/yaml.v3" ) -var execPath = "../../bin/otelcol-dynatrace" +var execPath = "../../bin/dynatrace-otel-collector" func TestCollectorStarts(t *testing.T) { col := testbed.NewChildProcessCollector(testbed.WithAgentExePath(execPath)) @@ -27,7 +27,7 @@ func TestCollectorStarts(t *testing.T) { col.PrepareConfig(string(cfg)) err = col.Start(testbed.StartParams{ - Name: "otelcol-dynatrace", + Name: "dynatrace-otel-collector", LogFilePath: "col.log", }) require.NoError(t, err)