Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: David Handermann <[email protected]>
  • Loading branch information
esecules and exceptionfactory authored Jan 27, 2025
1 parent 9ed1842 commit 3aedfab
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -277,14 +277,14 @@ public NiFiMetricsRegistry() {
.register(registry));

nameToGaugeMap.put("PROCESSING_PERF_CPU_MILLIS", Gauge.build()
.name("nifi_processing_cpu_duration")
.help("Estimated cpu time (in milliseconds) used by this component")
.name("nifi_processing_performance_cpu_duration")
.help("Estimated CPU time (in milliseconds) used by this component")
.labelNames("instance", "component_type", "component_name", "component_id", "parent_id", "repo_identifier")
.register(registry));

nameToGaugeMap.put("PROCESSING_PERF_GC_MILLIS", Gauge.build()
.name("nifi_processing_gc_duration")
.help("Estimated gc time (in milliseconds) used by this component")
.help("Estimated garbage collection time (in milliseconds) used by this component")
.labelNames("instance", "component_type", "component_name", "component_id", "parent_id", "repo_identifier")
.register(registry));

Expand Down

0 comments on commit 3aedfab

Please sign in to comment.