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

Added type to Prometheus JMX exporter

XMLWordPrintable

    • False
    • None
    • False

      Bug report

      For bug reports, provide this information, please:

      What Debezium connector do you use and what version?

      Debezium Server with Postgres and Mongo version 2.7.0

      What is the connector configuration?

      Environment variable `JMX_EXPORTER_PORT=9799`

      What is the captured database version and mode of depoyment?

      on-premises, PostgreSQL

      What behaviour do you expect?

      Prometheus metrics to have a type

      What behaviour do you see?

      Prometheus metrics show `untyped`

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

      Yes

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

      It does not show up on logs

      ```

      $ curl -s localhost:9799 | grep 'untyped'

      1. TYPE kafka_producer_producer_metrics_failed_reauthentication_total untyped
      2. TYPE kafka_producer_producer_metrics_request_rate untyped
      3. TYPE kafka_producer_producer_metrics_requests_in_flight untyped
      4. TYPE kafka_producer_producer_metrics_outgoing_byte_total untyped
      5. TYPE java_nio_direct_count untyped
      6. TYPE kafka_producer_producer_metrics_outgoing_byte_rate untyped
      7. TYPE kafka_producer_producer_metrics_successful_reauthentication_total untyped
      8. TYPE kafka_producer_producer_metrics_io_wait_time_ns_total untyped
      9. TYPE kafka_producer_producer_metrics_request_latency_avg untyped
      10. TYPE debezium_postgres_connector_metrics_totalnumberofeventsseen untyped
      11. TYPE java_nio_mapped_count untyped
      12. TYPE kafka_producer_producer_metrics_txn_init_time_ns_total untyped
      13. TYPE debezium_postgres_connector_metrics_connected untyped
      14. TYPE kafka_producer_producer_metrics_buffer_exhausted_rate untyped
      15. TYPE kafka_producer_producer_metrics_record_send_total untyped
      16. TYPE kafka_producer_app_info_start_time_ms untyped
      17. TYPE kafka_producer_producer_metrics_connection_creation_total untyped
      18. TYPE debezium_postgres_connector_metrics_totalnumberofdeleteeventsseen untyped
      19. TYPE kafka_producer_producer_metrics_bufferpool_wait_time_total untyped
      20. TYPE kafka_producer_producer_metrics_network_io_total untyped
      21. TYPE kafka_producer_producer_metrics_record_retry_total untyped
      22. TYPE kafka_producer_producer_topic_metrics_record_error_rate untyped
      23. TYPE debezium_postgres_connector_metrics_snapshotpauseddurationinseconds untyped
      24. TYPE debezium_postgres_connector_metrics_remainingtablecount untyped

      ```

      How to reproduce the issue using our tutorial deployment?

      Set environment variable `JMX_EXPORTER_PORT=9799`

      Feature request or enhancement

      For feature requests or enhancements, provide this information, please:

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

      <Your answer>

      Implementation ideas (optional)

      I already created a Pull Request https://github.com/debezium/debezium-server/pull/105

              Unassigned Unassigned
              ricdros Ricardo Rosales (Inactive)
              Ricardo Rosales (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: