opentelemetry-java-contrib icon indicating copy to clipboard operation
opentelemetry-java-contrib copied to clipboard

Add ibm-mq-metrics

Open breedx-splk opened this issue 5 months ago • 5 comments

This is the first part of #1941. It adds a new component called ibm-mq-metrics which provides a runnable utility that can fetch metrics from IBM MQ series and emit them as otel metrics. It is based on https://github.com/signalfx/opentelemetry-ibm-mq-monitoring. This code is alpha quality.

There are a few pieces that are still missing from this PR:

  • e2e tests. We have a set of end-to-end "golden" tests that validate data using a docker-compose environment. These have not yet been added, due in part to the golden image only being available in a splunk registry (see #40721 for more info)
  • ability to run the integrationTest target. This requires running the ibm mq server as a docker container, which is not yet included.
  • workflows to run the above

breedx-splk avatar Jun 13 '25 22:06 breedx-splk

❌ The result from spotlessApply could not be committed to the PR branch, see logs: https://github.com/open-telemetry/opentelemetry-java-contrib/actions/runs/15645359085.

🔧 The result from spotlessApply was committed to the PR branch.

🔧 The result from spotlessApply was committed to the PR branch.

🔧 The result from spotlessApply was committed to the PR branch.

🔧 The result from spotlessApply was committed to the PR branch.

Ok, so I've done an update that does the following:

  • updates most metric names to include the ibm.mq namespace prefix
  • updates most attribute names to include the ibm.mq prefix
  • creates a new attributes constant class, to reduce the duplication of string constants, which is a maintainability problem.

Thanks for looking.

breedx-splk avatar Jul 16 '25 21:07 breedx-splk

thank you @breedx-splk for all the update! So we are waiting for @trask to give the final blessing?

mcmho avatar Jul 23 '25 17:07 mcmho

thank you @breedx-splk for all the update! So we are waiting for @trask to give the final blessing?

Not necessarily @trask, but any of the approvers/maintainers of this repo.

breedx-splk avatar Jul 23 '25 21:07 breedx-splk

merge failed, looks like conflict with updating the shadow plugin:

  • What went wrong: Plugin [id: 'com.github.johnrengelman.shadow'] was not found in any of the following sources:

trask avatar Aug 14 '25 16:08 trask