Skip to main content
Version: 3.7.0

Prometheus Exporter

Scrape metrics exposed by Exporters and ingest Prometheus metrics into the ONE platform.

Prerequisites

  • A working SmartGate Agent is deployed in the environment.
  • Network connectivity exists between the Exporter service and the ONE platform.

Getting Started

ONE Platform Setup

  • Navigate to IntegrationsPlugins, locate the Exporter data Plugin card, and click Start Integration
  • Add exporter component and specify the target SmartGate for collection. Refer to the Prometheus official documentation for configuration details:
scrape_configs:
- job_name: 'my_static_job-one'
scrape_interval: 30s
scrape_timeout: 10s
metrics_path: '/metrics'
scheme: 'http'
static_configs:
- targets: ['localhost:9090', 'localhost:8080']
labels:
environment: 'development'
group: 'static'
br_middleware_component: 'componentOne'
- job_name: 'my_static_job-two'
scrape_interval: 40s
scrape_timeout: 20s
metrics_path: '/metrics2'
scheme: 'https'
static_configs:
- targets: ['localhost:9091', 'localhost:8081']
labels:
environment: 'production'
group: 'dynamic'
br_middleware_component: 'componentTwo'
  • Save the task configuration
  • After the task is created, it remains disabled by default and must be manually enabled to start data processing

Configure Data Stream

  • The ONE platform provides out-of-the-box default data processing pipelines
  • Alternatively, you can manually configure the data pipeline based on specific monitoring scenario requirements

Verification

  • Check the corresponding metric registration data under InsightData ModelMetrics.
  • View the corresponding metric data in InsightData Explorer.