Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-9532

Multiple connectors on same instance results in metric name clash

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • 3.4.0.Alpha1
    • None
    • core-library
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      Bug report

      What Debezium connector do you use and what version?

      ibmi connector 3.4.0-SNAPSHOT

      What is the connector configuration?

      I have two connectors with the same topic.prefix

      What is the captured database version and mode of deployment?

      DB2 on prem

      What behavior do you expect?

      When deploying second connector I would like to be able to see the metrics of both

      What behavior do you see?

      I only see the metrics from the first connector as the metric tags are identical

      I also get an exception in the logs javax.management.InstanceAlreadyExistsException source: jrt:/java.management

      Do you see the same behaviour using the latest released Debezium version?

      Yes 3.4.0-SNASPSHOT

      Do you have the connector logs, ideally from start till finish?

      can be provided

      note this has been reported before https://debezium.zulipchat.com/#narrow/channel/302529-community-general/topic/.E2.9C.94.20MBean.20Unable.20to.20register.20metrics.20on.20connectors/with/506825210

      How to reproduce the issue using our tutorial deployment?

      create two connectors on the same running instance with the same topic.prefix

      Feature request or enhancement

      the connector names must be unique

      adding the connector name by default into the tags for the metrics would prevent this

      Which use case/requirement will be addressed by the proposed feature?

      Multiple connectors without manually adding custom metric tags

      Implementation ideas (optional)

      PR to be provided

              Unassigned Unassigned
              msillencefnz Martin Sillence
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: