-
Bug
-
Resolution: Done
-
Major
-
2.7.0.Final
-
None
-
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'
- TYPE kafka_producer_producer_metrics_failed_reauthentication_total untyped
- TYPE kafka_producer_producer_metrics_request_rate untyped
- TYPE kafka_producer_producer_metrics_requests_in_flight untyped
- TYPE kafka_producer_producer_metrics_outgoing_byte_total untyped
- TYPE java_nio_direct_count untyped
- TYPE kafka_producer_producer_metrics_outgoing_byte_rate untyped
- TYPE kafka_producer_producer_metrics_successful_reauthentication_total untyped
- TYPE kafka_producer_producer_metrics_io_wait_time_ns_total untyped
- TYPE kafka_producer_producer_metrics_request_latency_avg untyped
- TYPE debezium_postgres_connector_metrics_totalnumberofeventsseen untyped
- TYPE java_nio_mapped_count untyped
- TYPE kafka_producer_producer_metrics_txn_init_time_ns_total untyped
- TYPE debezium_postgres_connector_metrics_connected untyped
- TYPE kafka_producer_producer_metrics_buffer_exhausted_rate untyped
- TYPE kafka_producer_producer_metrics_record_send_total untyped
- TYPE kafka_producer_app_info_start_time_ms untyped
- TYPE kafka_producer_producer_metrics_connection_creation_total untyped
- TYPE debezium_postgres_connector_metrics_totalnumberofdeleteeventsseen untyped
- TYPE kafka_producer_producer_metrics_bufferpool_wait_time_total untyped
- TYPE kafka_producer_producer_metrics_network_io_total untyped
- TYPE kafka_producer_producer_metrics_record_retry_total untyped
- TYPE kafka_producer_producer_topic_metrics_record_error_rate untyped
- TYPE debezium_postgres_connector_metrics_snapshotpauseddurationinseconds untyped
- 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
- relates to
-
DBZ-8037 Add `kafka.producer` metrics to debezium-server jmx exporter config
-
- Closed
-