Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Too many Prometheus metric names. #3445

Closed
thinker0 opened this issue Feb 6, 2020 · 0 comments
Closed

Too many Prometheus metric names. #3445

thinker0 opened this issue Feb 6, 2020 · 0 comments

Comments

@thinker0
Copy link
Member

thinker0 commented Feb 6, 2020

13319 names
production metrics 13319.

heron_instance_bytes_received_1
...
heron_instance_bytes_received_122
heron_client_stmgr_96_ack_tuples_to_stmgrs
heron_client_stmgr_96_bytes_to_stmgrs
heron_client_stmgr_96_fail_tuples_to_stmgrs
heron_client_stmgr_96_hello_messages_to_stmgrs
heron_client_stmgr_96_tuples_to_stmgrs
heron_kafkaoffset_ad_dmp_dpa_event_integration_partition_0_earliesttimeoffset
heron_kafkaoffset_ad_dmp_dpa_event_integration_partition_0_latestcompletedoffset
heron_kafkaoffset_ad_dmp_dpa_event_integration_partition_0_latestemittedoffset
heron_kafkaoffset_ad_dmp_dpa_event_integration_partition_0_latesttimeoffset
heron_kafkaoffset_ad_dmp_dpa_event_integration_partition_0_recordsinpartition
heron_kafkaoffset_ad_dmp_dpa_event_integration_partition_0_spoutlag
....
heron_kafkaoffset_ad_dmp_dpa_event_integration_partition_100_earliesttimeoffset
heron_kafkaoffset_ad_dmp_dpa_event_integration_partition_100_latestcompletedoffset
heron_kafkaoffset_ad_dmp_dpa_event_integration_partition_100_latestemittedoffset
heron_kafkaoffset_ad_dmp_dpa_event_integration_partition_100_latesttimeoffset
heron_kafkaoffset_ad_dmp_dpa_event_integration_partition_100_recordsinpartition
heron_kafkaoffset_ad_dmp_dpa_event_integration_partition_100_spoutlag

master...thinker0:feature/fix-prometheus-metrics

In this way, I am developing to change the configuration to JMX_Exporter type.

https://github.com/prometheus/jmx_exporter/blob/master/collector/src/main/java/io/prometheus/jmx/JmxCollector.java#L168-L225

https://github.com/prometheus/jmx_exporter/blob/master/collector/src/main/java/io/prometheus/jmx/JmxCollector.java#L168-L225

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant