Skip to content

Commit dca1f75

Browse files
Update jmx-metric-gatherer to latest (#7238)
* Update jmx-metric-gatherer to latest * Add PR # to changelog entry * Record received log records during test * More logging * Add discovery log * Container logs * Set hash for JMX gatherer via build -ldflags * Undo the changes to the jmx test file --------- Co-authored-by: Paulo Janotti <pjanotti@splunk.com>
1 parent d0ed5f7 commit dca1f75

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
change_type: enhancement
2+
component: packaging
3+
note: Update JMX metrics gatherer to v1.54.0
4+
issues: [7238]
5+
subtext: null

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@ BUILD_INFO_IMPORT_PATH_TESTS=github.com/signalfx/splunk-otel-collector/tests/int
2424
BUILD_INFO_IMPORT_PATH_CORE=go.opentelemetry.io/collector/internal/version
2525
BUILD_X1=-X $(BUILD_INFO_IMPORT_PATH).Version=$(VERSION)
2626
BUILD_X2=-X $(BUILD_INFO_IMPORT_PATH_CORE).Version=$(VERSION)
27-
BUILD_INFO=-ldflags "${BUILD_X1} ${BUILD_X2}"
28-
BUILD_INFO_TESTS=-ldflags "-X $(BUILD_INFO_IMPORT_PATH_TESTS).Version=$(VERSION)"
27+
BUILD_JMX_GATHERER_HASH=-X github.com/open-telemetry/opentelemetry-collector-contrib/receiver/jmxreceiver.MetricsGathererHash=ff04b1b0109d4b4fd1a21191424807ea16a447aad4b9a203476a01512bfc7c79
28+
BUILD_INFO=-ldflags "${BUILD_X1} ${BUILD_X2} ${BUILD_JMX_GATHERER_HASH}"
29+
BUILD_INFO_TESTS=-ldflags "-X $(BUILD_INFO_IMPORT_PATH_TESTS).Version=$(VERSION) ${BUILD_JMX_GATHERER_HASH}"
2930
CGO_ENABLED?=0
3031

3132
# This directory is used in tests hold code coverage results.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1.53.0
1+
v1.54.0

0 commit comments

Comments
 (0)