kevdoran commented on a change in pull request #3257: NIFI-5435 Prometheus 
/metrics http endpoint for monitoring integration
URL: https://github.com/apache/nifi/pull/3257#discussion_r272292827
 
 

 ##########
 File path: 
nifi-nar-bundles/nifi-prometheus-bundle/nifi-prometheus-reporting-task/pom.xml
 ##########
 @@ -0,0 +1,134 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+       xmlns="http://maven.apache.org/POM/4.0.0";
+       xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
+       <!-- Licensed to the Apache Software Foundation (ASF) under one or more 
+               contributor license agreements. See the NOTICE file distributed 
with this 
+               work for additional information regarding copyright ownership. 
The ASF licenses 
+               this file to You under the Apache License, Version 2.0 (the 
"License"); you 
+               may not use this file except in compliance with the License. 
You may obtain 
+               a copy of the License at 
http://www.apache.org/licenses/LICENSE-2.0 Unless 
+               required by applicable law or agreed to in writing, software 
distributed 
+               under the License is distributed on an "AS IS" BASIS, WITHOUT 
WARRANTIES 
+               OR CONDITIONS OF ANY KIND, either express or implied. See the 
License for 
+               the specific language governing permissions and limitations 
under the License. -->
+       <modelVersion>4.0.0</modelVersion>
+       <parent>
+               <groupId>org.apache.nifi</groupId>
+               <artifactId>nifi-prometheus-bundle</artifactId>
+               <version>1.10.0-SNAPSHOT</version>
+       </parent>
+       <properties>
+               <prometheus.version>0.3.0</prometheus.version>
+               <yammer.metrics.version>2.2.0</yammer.metrics.version>
+                <jetty.version>9.3.8.v20160314</jetty.version>
+       </properties>
+
+       <artifactId>nifi-prometheus-reporting-task</artifactId>
+       <description>Prometheus /metrics http endpoint for 
monitoring</description>
+
+       <dependencies>
+               <dependency>
+                       <groupId>com.yammer.metrics</groupId>
+                       <artifactId>metrics-core</artifactId>
+                       <version>${yammer.metrics.version}</version>
+               </dependency>
+               <dependency>
+                       <groupId>org.apache.nifi</groupId>
+                       <artifactId>nifi-api</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>org.apache.nifi</groupId>
+                       <artifactId>nifi-utils</artifactId>
+                       <version>1.10.0-SNAPSHOT</version>
+               </dependency>
+               <!-- The client -->
+               <dependency>
+                       <groupId>io.prometheus</groupId>
+                       <artifactId>simpleclient</artifactId>
+                       <version>${prometheus.version}</version>
+               </dependency>
+               <!-- Hotspot JVM metrics -->
+               <dependency>
+                       <groupId>io.prometheus</groupId>
+                       <artifactId>simpleclient_hotspot</artifactId>
+                       <version>${prometheus.version}</version>
+               </dependency>
+               <!-- Exposition servlet -->
+               <dependency>
+                       <groupId>io.prometheus</groupId>
+                       <artifactId>simpleclient_servlet</artifactId>
+                       <version>${prometheus.version}</version>
+               </dependency>
+               <dependency>
+                       <groupId>org.apache.nifi</groupId>
+                       <artifactId>nifi-mock</artifactId>
+                       <version>1.10.0-SNAPSHOT</version>
+                       <scope>test</scope>
+               </dependency>
+                <dependency>
+                        <groupId>org.apache.nifi</groupId>
+                        <artifactId>nifi-ssl-context-service</artifactId>
+                        <version>1.10.0-SNAPSHOT</version>
+                </dependency> 
+               <dependency>
+                       <groupId>org.apache.nifi</groupId>
+                       <artifactId>nifi-security-utils</artifactId>
+                       <version>1.10.0-SNAPSHOT</version>
+               </dependency>
+        
+              <dependency>
+                      <groupId>org.apache.nifi</groupId>
+                      <artifactId>nifi-ssl-context-service-api</artifactId>
+                      <version>1.10.0-SNAPSHOT</version>
+              </dependency>
+             <dependency>
+                    <groupId>org.apache.nifi</groupId>
+                    <artifactId>nifi-standard-services-api-nar</artifactId>
+                    <version>1.10.0-SNAPSHOT</version>
+                    <type>nar</type>
+             </dependency>
+             <dependency>
+                       <groupId>org.eclipse.jetty</groupId>
+                       <artifactId>jetty-continuation</artifactId>
+                       <version>${jetty.version}</version>
+                       <scope>test</scope>
+               </dependency>
+               <dependency>
+                       <groupId>org.eclipse.jetty</groupId>
+                       <artifactId>jetty-http</artifactId>
+                       <version>${jetty.version}</version>
+                       <scope>test</scope>
+               </dependency>
+
+
+               <dependency>
+                       <groupId>org.eclipse.jetty</groupId>
+                       <artifactId>jetty-servlet</artifactId>
+                       <version>${jetty.version}</version>
+               </dependency>
+               <dependency>
+                       <groupId>org.eclipse.jetty</groupId>
+                       <artifactId>jetty-server</artifactId>
+                       <version>${jetty.version}</version>
+               </dependency>
+               <dependency>
+                       <groupId>javax.servlet</groupId>
+                       <artifactId>javax.servlet-api</artifactId>
+                       <version>3.0.1</version>
+                       <scope>provided</scope>
+               </dependency>
+               <dependency>
+                       <groupId>org.eclipse.jetty</groupId>
+                       <artifactId>jetty-util</artifactId>
+                       <version>${jetty.version}</version>
+               </dependency>
+               
+               <dependency>
+                        <groupId>org.apache.httpcomponents</groupId>
+                        <artifactId>httpclient</artifactId>
+                        <version>4.5.3</version>
 
 Review comment:
   is this used outside of a test scope?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to