You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Jeff Storck (JIRA)" <ji...@apache.org> on 2019/04/03 00:10:03 UTC

[jira] [Updated] (NIFI-5373) Create Metrics API and default implementation

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

Jeff Storck updated NIFI-5373:
------------------------------
    Labels: Java11  (was: )

> Create Metrics API and default implementation
> ---------------------------------------------
>
>                 Key: NIFI-5373
>                 URL: https://issues.apache.org/jira/browse/NIFI-5373
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Core Framework
>    Affects Versions: 1.7.0
>            Reporter: Jeff Storck
>            Assignee: Jeff Storck
>            Priority: Major
>              Labels: Java11
>
> A decoupling of the metrics library used by several reporting components by providing a similar API in the nifi-api module (under a new package org.apache.nifi.metrics.jvm) will help internalize the dependencies on the yammer/dropwizard metrics libraries and reduce the number of dependencies that NiFi extensions need to collect those types of metrics.
> While working towards support for building NiFi on Java 10+, tests for components that use the com.yammer.metrics:metrics-core:2.2.0 dependency are failing due to references to internal JDK modules.  These metrics libraries are now maintained dropwizard, and a new version (4.0.0) has been released that works with Java 10.
> The public API for the metrics libraries has changed a bit, and VirtualMachineMetrics is no longer available.  NiFi will supply its own public API for metrics that is derived from dropwizard/yammer's VirtualMachineMetrics to minimize impact to NiFi extensions that currently use this dependency.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)