[ 
https://issues.apache.org/jira/browse/KAFKA-17006?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dharani updated KAFKA-17006:
----------------------------
    Description: 
Hi,

Most of the Kafka metrics type is showing as 'untyped'.

Some of the metrics is as below.
 # HELP kafka_server_ZooKeeperClientMetrics_Min Attribute exposed for 
management 
kafka.server:name=ZooKeeperRequestLatencyMs,type=ZooKeeperClientMetrics,attribute=Min
 # TYPE kafka_server_ZooKeeperClientMetrics_Min untyped
 # HELP java_lang_CodeHeap_non_profiled_nmethods_UsageThreshold 
java.lang:name=CodeHeap 'non-profiled 
nmethods',type=MemoryPool,attribute=UsageThreshold
 # TYPE java_lang_CodeHeap_non_profiled_nmethods_UsageThreshold untyped
 # HELP kafka_server_socket_server_metrics_successful_reauthentication_rate The 
number of successful re-authentication of connections per second 
kafka.server:name=null,type=socket-server-metrics,attribute=successful-reauthentication-rate
 # TYPE kafka_server_socket_server_metrics_successful_reauthentication_rate 
untyped
But the supported Prometheus metric types are Counter | Gauge | Histogram | 
Summary as per [https://prometheus.io/docs/concepts/metric_types/]


Is it possible to change type of metrics from "untyped" to the Prometheus 
supported types?

  was:
Hi,

Most of the Kafka metrics type is showing as 'untyped'.

Some of the metrics is as below.
# HELP kafka_server_ZooKeeperClientMetrics_Min Attribute exposed for management 
kafka.server:name=ZooKeeperRequestLatencyMs,type=ZooKeeperClientMetrics,attribute=Min
# TYPE kafka_server_ZooKeeperClientMetrics_Min untyped
# HELP java_lang_CodeHeap_non_profiled_nmethods_UsageThreshold 
java.lang:name=CodeHeap 'non-profiled 
nmethods',type=MemoryPool,attribute=UsageThreshold
# TYPE java_lang_CodeHeap_non_profiled_nmethods_UsageThreshold untyped
# HELP kafka_server_socket_server_metrics_successful_reauthentication_rate The 
number of successful re-authentication of connections per second 
kafka.server:name=null,type=socket-server-metrics,attribute=successful-reauthentication-rate
# TYPE kafka_server_socket_server_metrics_successful_reauthentication_rate 
untyped
But the supported Prometheus metric types are Counter | Gauge | Histogram | 
Summary as per [https://prometheus.io/docs/concepts/metric_types/]
Is it possible to change type of metrics from "untyped" to the Prometheus 
supported types?


> Kafka Metrics showing type as "Untyped"
> ---------------------------------------
>
>                 Key: KAFKA-17006
>                 URL: https://issues.apache.org/jira/browse/KAFKA-17006
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Dharani
>            Priority: Major
>         Attachments: metrics.txt
>
>
> Hi,
> Most of the Kafka metrics type is showing as 'untyped'.
> Some of the metrics is as below.
>  # HELP kafka_server_ZooKeeperClientMetrics_Min Attribute exposed for 
> management 
> kafka.server:name=ZooKeeperRequestLatencyMs,type=ZooKeeperClientMetrics,attribute=Min
>  # TYPE kafka_server_ZooKeeperClientMetrics_Min untyped
>  # HELP java_lang_CodeHeap_non_profiled_nmethods_UsageThreshold 
> java.lang:name=CodeHeap 'non-profiled 
> nmethods',type=MemoryPool,attribute=UsageThreshold
>  # TYPE java_lang_CodeHeap_non_profiled_nmethods_UsageThreshold untyped
>  # HELP kafka_server_socket_server_metrics_successful_reauthentication_rate 
> The number of successful re-authentication of connections per second 
> kafka.server:name=null,type=socket-server-metrics,attribute=successful-reauthentication-rate
>  # TYPE kafka_server_socket_server_metrics_successful_reauthentication_rate 
> untyped
> But the supported Prometheus metric types are Counter | Gauge | Histogram | 
> Summary as per [https://prometheus.io/docs/concepts/metric_types/]
> Is it possible to change type of metrics from "untyped" to the Prometheus 
> supported types?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to