Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-6799

Add RecordSink implementation for Prometheus scraping

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.10.0
    • Component/s: Extensions
    • Labels:
      None

      Description

      With the advent of NIFI-6780, a RecordSinkService controller service interface is available and is used by components like QueryNiFiReportingTask to decouple the collection of data from its destination or transmission method. Initial implementations in NIFI-6780 included a Site-to-Site record sink as well as a DatabaseRecordSink for writing to RDBMS targets.

      This Jira proposes to add a RecordSinkService implementation to enable Prometheus scraping. The PrometheusReportingTask exists (via NIFI-5435) to allow scraping of many available metrics, but a PrometheusRecordSink would allow scraping of these plus derived metrics (via SQL queries executed by QueryNiFiReportingTask) and analytical metrics such as connection status predictions (Time-to-Backpressure, e.g.).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mattyb149 Matt Burgess
                Reporter:
                mattyb149 Matt Burgess
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h