Prometheus - Collector

Scale Counter Graph

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





Discover More
Scale Counter Graph
Prometheus - Exporter

An exporter is an endpoint that: produces a page with metrics that the collector can scrap. By default, the URL is: Exporters may add filter capabilities via the URL. Example with a name[] URL...
Scale Counter Graph
Prometheus - Instance (Target)

An endpoint you can scrape is called an instance, usually corresponding to a single process. The target's URL that was scraped.
Scale Counter Graph
Prometheus - Metrics

This page is metrics in Prometheus. where: the metric name is api_http_requests_total the labels are: method=“POST” handler=“/messages” A metric identifier is composed uniquely...
Scale Counter Graph
Prometheus - prometheus.yml (conf)

The configuration of prometheus is done via the prometheus.yml file in a Yaml format Global Block Controls the Prometheus server's global configuration rule_files block specifies the location...



Share this page:
Follow us:
Task Runner