Prometheus - Collector

About

A collector is a metrics collector and is embedded in the prometheus server.

Management

Conf

The scrape_configs block of the prometheus.yml file controls what resources Prometheus monitors. The below example shows a single job, called prometheus, which scrapes the metrics (time series data) exposed by an exporter (below this is the internal Prometheus server exporter)

Example:

scrape_configs:
  - job_name: prometheus
    static_configs:
      - targets: ['localhost:9090']
    scheme: 'https' 

where:

Ref Conf Doc


Powered by ComboStrap