[ 
https://issues.apache.org/jira/browse/NIFI-4362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16676465#comment-16676465
 ] 

Sudeep Kumar Garg commented on NIFI-4362:
-----------------------------------------

[~dseifert] I am not able to see all metrics in prometheus server. Please see 
below snippet.

Below is my prometheus.yaml file config.

 

global:
 scrape_interval: 15s # By default, scrape targets every 15 seconds.

# Attach these labels to any time series or alerts when communicating with
 # external systems (federation, remote storage, Alertmanager).
 external_labels:
 monitor: 'local-monitor'

# A scrape configuration containing exactly one endpoint to scrape:
# Here it's Prometheus itself.
scrape_configs:
 * job_name: 'nifi_reporting_job'
 * Override the global default and scrape targets from this job every 5 seconds.
 scrape_interval: 5s
 honor_labels: true
 static_configs:
 - targets: ['10.24.23.50:9091']

Can you please look into my configuration and update me where i am doing wrong.

!image-2018-11-06-15-25-42-486.png!

> Prometheus Reporting Task
> -------------------------
>
>                 Key: NIFI-4362
>                 URL: https://issues.apache.org/jira/browse/NIFI-4362
>             Project: Apache NiFi
>          Issue Type: New Feature
>          Components: Extensions
>            Reporter: matt price
>            Assignee: matt price
>            Priority: Minor
>              Labels: features, newbie
>         Attachments: image-2018-11-06-15-25-42-486.png, 
> nifi-prometheus-nar-1.7.1.nar
>
>
> Right now Datadog is one of the few external monitoring systems that is 
> supported by Nifi via a reporting task.  We are building a Prometheus 
> reporting task that will report similar metrics as Datadog/processor status 
> history and wanted to contribute this back to the community.
> This is my first contribution to Nifi so please correct me if I'm doing 
> something incorrectly.



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

Reply via email to