You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Ruben Laguna (Jira)" <ji...@apache.org> on 2022/03/04 09:43:00 UTC
[jira] [Created] (NIFI-9760) PrometheusReportingTask: should at least expose all the info in nifi-api/system-diagnostics
Ruben Laguna created NIFI-9760:
----------------------------------
Summary: PrometheusReportingTask: should at least expose all the info in nifi-api/system-diagnostics
Key: NIFI-9760
URL: https://issues.apache.org/jira/browse/NIFI-9760
Project: Apache NiFi
Issue Type: Improvement
Reporter: Ruben Laguna
The PrometheusReportingTask currently exposes / export the following JVM metrics:
nifi_jvm_uptime
nifi_jvm_heap_non_usage
nifi_jvm_heap_used
nifi_jvm_gc_time
nifi_jvm_gc_runs
nifi_jvm_heap_usage
nifi_jvm_daemon_thread_count
nifi_jvm_file_descriptor_usage
nifi_jvm_thread_count
There are some notable things missing from there that are present in nifi-api/system-diagnostics
nifi_jvm_heap_free
nifi_jvm_heap_max
nifi_jvm_heap_total
Also other non JVM stuff is missing (that is present in system diagnostics)
* contentRepositoryStorageUsage
* provenanceRepositoryStorageUsage
* flowFileRepositoryStorageUsage
I would be good to expose the same information in both places (it's a little surprising for a newcomer that some information is in prometheus, some other in system-diagnostics, etc)
Also it would be great to also expose all the jvm stuff under more conventional metric names like
- java_lang_memory_heapmemoryusage_used
- java_lang_memory_heapmemoryusage_committed
- java_lang_operatingsystem_openfiledescriptorcount
- java_lang_operatingsystem_maxfiledescriptorcount
- java_lang_operatingsystem_freephysicalmemorysize
- java_lang_operatingsystem_freeswapspacesize
- java_lang_threading_threadcount
- java_lang_threading_daemonthreadcount
- java_lang_classloading_loadedclasscount
- java_lang_garbagecollector_collectiontime_copy
- java_lang_garbagecollector_collectiontime_ps_scavenge
- java_lang_garbagecollector_collectiontime_parnew
- java_lang_garbagecollector_collectiontime_marksweepcompact
- java_lang_garbagecollector_collectiontime_ps_marksweep
- java_lang_garbagecollector_collectiontime_concurrentmarksweep
- java_lang_garbagecollector_collectiontime_g1_young_generation
- java_lang_garbagecollector_collectiontime_g1_old_generation
- java_lang_garbagecollector_collectiontime_g1_mixed_generation
- java_lang_operatingsystem_committedvirtualmemorysize
--
This message was sent by Atlassian Jira
(v8.20.1#820001)