Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package 
golang-github-prometheus-prometheus.15751 for openSUSE:Leap:15.2:Update checked 
in at 2021-02-12 14:05:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing 
/work/SRC/openSUSE:Leap:15.2:Update/golang-github-prometheus-prometheus.15751 
(Old)
 and      
/work/SRC/openSUSE:Leap:15.2:Update/.golang-github-prometheus-prometheus.15751.new.28504
 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "golang-github-prometheus-prometheus.15751"

Fri Feb 12 14:05:19 2021 rev:1 rq:870500 version:2.22.1

Changes:
--------
New Changes file:

--- /dev/null   2021-01-11 18:20:20.070723563 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2:Update/.golang-github-prometheus-prometheus.15751.new.28504/golang-github-prometheus-prometheus.changes
        2021-02-12 14:05:20.477627444 +0100
@@ -0,0 +1,881 @@
+-------------------------------------------------------------------
+Mon Nov  9 10:49:39 UTC 2020 - Stefano Torresi <[email protected]>
+
+- Update to upstream version 2.22.1
+- Update packaging
+  * Remove systemd and shadow hard requirements
+  * use systemd-sysusers to configure the user in a dedicated 
'system-user-prometheus' subpackage
+  * add 'prometheus' package alias
+
+-------------------------------------------------------------------
+Fri Jul 31 14:50:21 UTC 2020 - Witek Bedyk <[email protected]>
+
+- Update 0003-Add-Uyuni-service-discovery.patch:
+  + Add support for Prometheus exporters proxy
+
+-------------------------------------------------------------------
+Wed Jun  3 15:59:05 UTC 2020 - Joao Cavalheiro <[email protected]>
+
+- Update change log and spec file
+  + Modified spec file: default to golang 1.14 to avoid "have choice" build 
issues in OBS. 
+  + Rebase and update patches for version 2.18.0
+  + Changed:  
+    * 0001-Do-not-force-the-pure-Go-name-resolver.patch
+    * 0002-Default-settings.patch Changed
+    * 0003-Add-Uyuni-service-discovery.patch
+
+- Update to 2.18.0 
+  + Features 
+    * Tracing: Added experimental Jaeger support #7148
+  + Changes
+    * Federation: Only use local TSDB for federation (ignore remote read). 
#7096
+    * Rules: `rule_evaluations_total` and `rule_evaluation_failures_total` 
have a `rule_group` label now. #7094
+  + Enhancements
+    * TSDB: Significantly reduce WAL size kept around after a block cut. #7098
+    * Discovery: Add `architecture` meta label for EC2. #7000
+  + Bug fixes
+    * UI: Fixed wrong MinTime reported by /status. #7182
+    * React UI: Fixed multiselect legend on OSX. #6880
+    * Remote Write: Fixed blocked resharding edge case. #7122
+    * Remote Write: Fixed remote write not updating on relabel configs change. 
#7073
+
+- Changes from 2.17.2
+  + Bug fixes
+    * Federation: Register federation metrics #7081
+    * PromQL: Fix panic in parser error handling #7132
+    * Rules: Fix reloads hanging when deleting a rule group that is being 
evaluated #7138
+    * TSDB: Fix a memory leak when prometheus starts with an empty TSDB WAL 
#7135
+    * TSDB: Make isolation more robust to panics in web handlers #7129 #7136
+
+- Changes from 2.17.1
+  + Bug fixes
+    * TSDB: Fix query performance regression that increased memory and CPU 
usage #7051
+
+- Changes from 2.17.0
+  + Features 
+    * TSDB: Support isolation #6841
+    * This release implements isolation in TSDB. API queries and recording 
rules are
+      guaranteed to only see full scrapes and full recording rules. This comes 
with a
+      certain overhead in resource usage. Depending on the situation, there 
might be
+      some increase in memory usage, CPU usage, or query latency.
+  + Enhancements
+    * PromQL: Allow more keywords as metric names #6933
+    * React UI: Add normalization of localhost URLs in targets page #6794
+    * Remote read: Read from remote storage concurrently #6770
+    * Rules: Mark deleted rule series as stale after a reload #6745
+    * Scrape: Log scrape append failures as debug rather than warn #6852
+    * TSDB: Improve query performance for queries that partially hit the head 
#6676
+    * Consul SD: Expose service health as meta label #5313
+    * EC2 SD: Expose EC2 instance lifecycle as meta label #6914
+    * Kubernetes SD: Expose service type as meta label for K8s service role 
#6684
+    * Kubernetes SD: Expose label_selector and field_selector #6807
+    * Openstack SD: Expose hypervisor id as meta label #6962
+  + Bug fixes
+    * PromQL: Do not escape HTML-like chars in query log #6834 #6795
+    * React UI: Fix data table matrix values #6896
+    * React UI: Fix new targets page not loading when using non-ASCII 
characters #6892
+    * Remote read: Fix duplication of metrics read from remote storage with 
external labels #6967 #7018
+    * Remote write: Register WAL watcher and live reader metrics for all 
remotes, not just the first one #6998
+    * Scrape: Prevent removal of metric names upon relabeling #6891
+    * Scrape: Fix 'superfluous response.WriteHeader call' errors when scrape 
fails under some circonstances #6986
+    * Scrape: Fix crash when reloads are separated by two scrape intervals 
#7011
+
+- Changes from 2.16.0
+  + Features 
+    * React UI: Support local timezone on /graph #6692
+    * PromQL: add absent_over_time query function #6490
+    * Adding optional logging of queries to their own file #6520
+  + Enhancements
+    * React UI: Add support for rules page and "Xs ago" duration displays #6503
+    * React UI: alerts page, replace filtering togglers tabs with checkboxes 
#6543
+    * TSDB: Export metric for WAL write errors #6647
+    * TSDB: Improve query performance for queries that only touch the most 
recent 2h of data. #6651
+    * PromQL: Refactoring in parser errors to improve error messages #6634
+    * PromQL: Support trailing commas in grouping opts #6480
+    * Scrape: Reduce memory usage on reloads by reusing scrape cache #6670
+    * Scrape: Add metrics to track bytes and entries in the metadata cache 
#6675
+    * promtool: Add support for line-column numbers for invalid rules output 
#6533
+    * Avoid restarting rule groups when it is unnecessary #6450
+  + Bug fixes
+    * React UI: Send cookies on fetch() on older browsers #6553
+    * React UI: adopt grafana flot fix for stacked graphs #6603
+    * React UI: broken graph page browser history so that back button works as 
expected #6659
+    * TSDB: ensure compactionsSkipped metric is registered, and log proper 
error if one is returned from head.Init #6616
+    * TSDB: return an error on ingesting series with duplicate labels #6664
+    * PromQL: Fix unary operator precedence #6579
+    * PromQL: Respect query.timeout even when we reach query.max-concurrency 
#6712
+    * PromQL: Fix string and parentheses handling in engine, which affected 
React UI #6612
+    * PromQL: Remove output labels returned by absent() if they are produced 
by multiple identical label matchers #6493
+    * Scrape: Validate that OpenMetrics input ends with `# EOF` #6505
+    * Remote read: return the correct error if configs can't be marshal'd to 
JSON #6622
+    * Remote write: Make remote client `Store` use passed context, which can 
affect shutdown timing #6673
+    * Remote write: Improve sharding calculation in cases where we would 
always be consistently behind by tracking pendingSamples #6511
+    * Ensure prometheus_rule_group metrics are deleted when a rule group is 
removed #6693
+
+- Changes from 2.15.2
+  + Bug fixes
+    * TSDB: Fixed support for TSDB blocks built with Prometheus before 2.1.0. 
#6564
+    * TSDB: Fixed block compaction issues on Windows. #6547
+
+- Changes from 2.15.1
+  + Bug fixes
+    * TSDB: Fixed race on concurrent queries against same data. #6512
+
+- Changes from 2.15.0
+  + Features 
+    * API: Added new endpoint for exposing per metric metadata `/metadata`. 
#6420 #6442
+  + Changes
+    * Discovery: Removed `prometheus_sd_kubernetes_cache_*` metrics. 
Additionally `prometheus_sd_kubernetes_workqueue_latency_seconds` and 
`prometheus_sd_kubernetes_workqueue_work_duration_seconds` metrics now show 
correct values in seconds. #6393
+    * Remote write: Changed `query` label on `prometheus_remote_storage_*` 
metrics to `remote_name` and `url`. #6043
+  + Enhancements
+    * TSDB: Significantly reduced memory footprint of loaded TSDB blocks. 
#6418 #6461
+    * TSDB: Significantly optimized what we buffer during compaction which 
should result in lower memory footprint during compaction. #6422 #6452 #6468 
#6475
+    * TSDB: Improve replay latency. #6230
+    * TSDB: WAL size is now used for size based retention calculation. #5886
+    * Remote read: Added query grouping and range hints to the remote read 
request #6401
+    * Remote write: Added `prometheus_remote_storage_sent_bytes_total` counter 
per queue. #6344
+    * promql: Improved PromQL parser performance. #6356
+    * React UI: Implemented missing pages like `/targets` #6276, TSDB status 
page #6281 #6267 and many other fixes and performance improvements.
+    * promql: Prometheus now accepts spaces between time range and square 
bracket. e.g `[ 5m]` #6065  
+  + Bug fixes
+    * Config: Fixed alertmanager configuration to not miss targets when 
configurations are similar. #6455
+    * Remote write: Value of `prometheus_remote_storage_shards_desired` gauge 
shows raw value of desired shards and it's updated correctly. #6378
+    * Rules: Prometheus now fails the evaluation of rules and alerts where 
metric results collide with labels specified in `labels` field. #6469
+    * API: Targets Metadata API `/targets/metadata` now accepts empty 
`match_targets` parameter as in the spec. #6303
+
+- Changes from 2.14.0
+  + Features 
+    * API: `/api/v1/status/runtimeinfo` and `/api/v1/status/buildinfo` 
endpoints added for use by the React UI. #6243
+    * React UI: implement the new experimental React based UI. #5694 and many 
more
+      * Can be found by under `/new`.
+      * Not all pages are implemented yet.
+    * Status: Cardinality statistics added to the Runtime & Build Information 
page. #6125
+  + Enhancements
+    * Remote write: fix delays in remote write after a compaction. #6021
+    * UI: Alerts can be filtered by state. #5758
+  + Bug fixes
+    * Ensure warnings from the API are escaped. #6279
+    * API: lifecycle endpoints return 403 when not enabled. #6057
+    * Build: Fix Solaris build. #6149
+    * Promtool: Remove false duplicate rule warnings when checking rule files 
with alerts. #6270
+    * Remote write: restore use of deduplicating logger in remote write. #6113
+    * Remote write: do not reshard when unable to send samples. #6111
+    * Service discovery: errors are no longer logged on context cancellation. 
#6116, #6133
+    * UI: handle null response from API properly. #6071
+
+- Changes from 2.13.1
+  + Bug fixes
+    * Fix panic in ARM builds of Prometheus. #6110
+    * promql: fix potential panic in the query logger. #6094
+    * Multiple errors of http: superfluous response.WriteHeader call in the 
logs. #6145
+
+- Changes from 2.13.0
+  + Enhancements
+    * Metrics: renamed prometheus_sd_configs_failed_total to 
prometheus_sd_failed_configs and changed to Gauge #5254
+    * Include the tsdb tool in builds. #6089
+    * Service discovery: add new node address types for kubernetes. #5902
+    * UI: show warnings if query have returned some warnings. #5964
+    * Remote write: reduce memory usage of the series cache. #5849
+    * Remote read: use remote read streaming to reduce memory usage. #5703
+    * Metrics: added metrics for remote write max/min/desired shards to queue 
manager. #5787
+    * Promtool: show the warnings during label query. #5924
+    * Promtool: improve error messages when parsing bad rules. #5965
+    * Promtool: more promlint rules. #5515
+  + Bug fixes
+    * UI: Fix a Stored DOM XSS vulnerability with query history 
[CVE-2019-10215](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-10215). 
#6098
+    * Promtool: fix recording inconsistency due to duplicate labels. #6026
+    * UI: fixes service-discovery view when accessed from unhealthy targets. 
#5915
+    * Metrics format: OpenMetrics parser crashes on short input. #5939
+    * UI: avoid truncated Y-axis values. #6014
+
+- Changes from 2.12.0
+  + Features 
+    * Track currently active PromQL queries in a log file. #5794
+    * Enable and provide binaries for `mips64` / `mips64le` architectures. 
#5792
+  + Enhancements
+    * Improve responsiveness of targets web UI and API endpoint. #5740
+    * Improve remote write desired shards calculation. #5763
++++ 684 more lines (skipped)
++++ between /dev/null
++++ and 
/work/SRC/openSUSE:Leap:15.2:Update/.golang-github-prometheus-prometheus.15751.new.28504/golang-github-prometheus-prometheus.changes

New:
----
  0001-Do-not-force-the-pure-Go-name-resolver.patch
  0002-Default-settings.patch
  0003-Add-Uyuni-service-discovery.patch
  _service
  golang-github-prometheus-prometheus.changes
  golang-github-prometheus-prometheus.spec
  prometheus-2.22.1.tar.xz
  prometheus.service
  prometheus.sysconfig
  prometheus.yml

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ golang-github-prometheus-prometheus.spec ++++++
#
# spec file for package golang-github-prometheus-prometheus
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2017 Silvio Moioli <[email protected]>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


# Compatibility with systems older than Nov 2017
# See https://en.opensuse.org/openSUSE:Packaging_Conventions_RPM_Macros
%if ! %{defined _fillupdir}
%define _fillupdir /var/adm/fillup-templates
%endif
%if 0%{?suse_version} < 1500
%define _sharedstatedir /var/lib
%endif

Name:           golang-github-prometheus-prometheus
Version:        2.22.1
Release:        0
Summary:        The Prometheus monitoring system and time series database
License:        Apache-2.0
Group:          System/Monitoring
URL:            https://prometheus.io/
Source:         prometheus-%{version}.tar.xz
Source1:        prometheus.service
Source2:        prometheus.yml
Source3:        prometheus.sysconfig
Patch1:         0001-Do-not-force-the-pure-Go-name-resolver.patch
# Lifted from Debian's prometheus package
Patch2:         0002-Default-settings.patch
# PATCH-FEATURE-OPENSUSE 0003-Add-Uyuni-service-discovery.patch 
[email protected]
Patch3:         0003-Add-Uyuni-service-discovery.patch
BuildRequires:  fdupes
# Adding glibc-devel-static seems to be required for linking if building
# with -buildmode=pie
BuildRequires:  glibc-devel-static
BuildRequires:  golang-github-prometheus-promu
BuildRequires:  golang-packaging
BuildRequires:  xz
BuildRequires:  golang(API) >= 1.14
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires(pre):  user(prometheus)
Requires(pre):  group(prometheus)
Requires(post): %fillup_prereq
Provides:       prometheus = %{version}
%systemd_ordering

%go_nostrip

%description
Prometheus's main features are:
 - a multi-dimensional data model (time series identified by metric name and 
key/value pairs)
 - a flexible query language to leverage this dimensionality
 - no reliance on distributed storage; single server nodes are autonomous
 - time series collection happens via a pull model over HTTP
 - pushing time series is supported via an intermediary gateway
 - targets are discovered via service discovery or static configuration
 - multiple modes of graphing and dashboarding support

%prep
%autosetup -p1 -n prometheus-%{version}

%build
%goprep github.com/prometheus/prometheus
GOPATH=%{_builddir}/go promu build -v

%install
install -D -m0755 %{_builddir}/prometheus-%{version}/prometheus 
%{buildroot}/%{_bindir}/prometheus
install -D -m0755 %{_builddir}/prometheus-%{version}/promtool 
%{buildroot}/%{_bindir}/promtool
install -D -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}/prometheus.service

install -D -m 0644 %{SOURCE2} 
%{buildroot}%{_sysconfdir}/prometheus/prometheus.yml

install -d -m 0755 %{buildroot}%{_sbindir}
ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rcprometheus

install -m 0755 -d %{buildroot}%{_datarootdir}/prometheus
cp -fr console_libraries/ consoles/ %{buildroot}%{_datarootdir}/prometheus

install -m 0755 -d %{buildroot}%{_fillupdir}
install -m 0644 %{SOURCE3} %{buildroot}%{_fillupdir}/sysconfig.prometheus

install -Dd -m 0750 %{buildroot}%{_localstatedir}/lib/prometheus
install -Dd -m 0750 %{buildroot}%{_localstatedir}/lib/prometheus/data
install -Dd -m 0750 %{buildroot}%{_localstatedir}/lib/prometheus/metrics
%gofilelist

%fdupes %{buildroot}/%{_prefix}

%pre
%service_add_pre prometheus.service

%post
%fillup_only -n prometheus
%service_add_post prometheus.service

%preun
%service_del_preun prometheus.service

%postun
%service_del_postun prometheus.service

%verifyscript
%fillup_only -n prometheus

%files
%defattr(-,root,root,-)
%doc README.md
%license LICENSE
%{_bindir}/prometheus
%{_bindir}/promtool
%{_unitdir}/prometheus.service
%{_sbindir}/rcprometheus
%{_datarootdir}/prometheus
%{_fillupdir}/sysconfig.prometheus
%dir %attr(0700,prometheus,prometheus) %{_sharedstatedir}/prometheus
%dir %attr(0700,prometheus,prometheus) %{_sharedstatedir}/prometheus/data
%dir %attr(0700,prometheus,prometheus) %{_sharedstatedir}/prometheus/metrics
%dir %{_sysconfdir}/prometheus
%config(noreplace) %{_sysconfdir}/prometheus/prometheus.yml

%changelog
++++++ 0001-Do-not-force-the-pure-Go-name-resolver.patch ++++++
>From 7953e106d8afa5ba660396c1c59bcc674ef3a404 Mon Sep 17 00:00:00 2001
From: Jan Fajerski <[email protected]>
Date: Fri, 8 Feb 2019 09:17:06 +0100
Subject: [PATCH 1/3] Do not force the pure Go name resolver

Revert to Go's default mechanism that will decide between the `netgo`
pure-Go implementation and the `netcgo` cgo-based implementation depending
on OS and environment variables.

This allows, among other things, to use Prometheus to scrape mDNS targets.

Signed-off-by: Jan Fajerski <[email protected]>
---
 .promu.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.promu.yml b/.promu.yml
index caaa63a55..f75af963d 100644
--- a/.promu.yml
+++ b/.promu.yml
@@ -10,7 +10,7 @@ build:
           path: ./cmd/prometheus
         - name: promtool
           path: ./cmd/promtool
-    flags: -mod=vendor -a -tags netgo,builtinassets
+    flags: -mod=vendor -a -tags builtinassets
     ldflags: |
         -X github.com/prometheus/common/version.Version={{.Version}}
         -X github.com/prometheus/common/version.Revision={{.Revision}}
-- 
2.29.2

++++++ 0002-Default-settings.patch ++++++
>From 129223e15588c384c39b279213c81ba24e2f7ac9 Mon Sep 17 00:00:00 2001
From: Jan Fajerski <[email protected]>
Date: Fri, 8 Feb 2019 09:28:12 +0100
Subject: [PATCH 2/3] Default settings

Signed-off-by: Jan Fajerski <[email protected]>
---
 cmd/prometheus/main.go | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/cmd/prometheus/main.go b/cmd/prometheus/main.go
index fa6b6fa88..ac9f9dcfa 100644
--- a/cmd/prometheus/main.go
+++ b/cmd/prometheus/main.go
@@ -147,7 +147,7 @@ func main() {
        a.HelpFlag.Short('h')
 
        a.Flag("config.file", "Prometheus configuration file path.").
-               Default("prometheus.yml").StringVar(&cfg.configFile)
+               
Default("/etc/prometheus/prometheus.yml").StringVar(&cfg.configFile)
 
        a.Flag("web.listen-address", "Address to listen on for UI, API, and 
telemetry.").
                Default("0.0.0.0:9090").StringVar(&cfg.web.ListenAddress)
@@ -177,10 +177,10 @@ func main() {
                Default("false").BoolVar(&cfg.web.EnableAdminAPI)
 
        a.Flag("web.console.templates", "Path to the console template 
directory, available at /consoles.").
-               Default("consoles").StringVar(&cfg.web.ConsoleTemplatesPath)
+               
Default("/etc/prometheus/consoles").StringVar(&cfg.web.ConsoleTemplatesPath)
 
        a.Flag("web.console.libraries", "Path to the console library 
directory.").
-               
Default("console_libraries").StringVar(&cfg.web.ConsoleLibrariesPath)
+               
Default("/etc/prometheus/console_libraries").StringVar(&cfg.web.ConsoleLibrariesPath)
 
        a.Flag("web.page-title", "Document title of Prometheus instance.").
                Default("Prometheus Time Series Collection and Processing 
Server").StringVar(&cfg.web.PageTitle)
@@ -189,7 +189,7 @@ func main() {
                Default(".*").StringVar(&cfg.corsRegexString)
 
        a.Flag("storage.tsdb.path", "Base path for metrics storage.").
-               Default("data/").StringVar(&cfg.localStoragePath)
+               
Default("/var/lib/prometheus/metrics/").StringVar(&cfg.localStoragePath)
 
        a.Flag("storage.tsdb.min-block-duration", "Minimum duration of a data 
block before being persisted. For use in testing.").
                Hidden().Default("2h").SetValue(&cfg.tsdb.MinBlockDuration)
-- 
2.29.2

++++++ 0003-Add-Uyuni-service-discovery.patch ++++++
++++ 1712 lines (skipped)

++++++ _service ++++++
<services>
  <service name="tar_scm" mode="disabled">
    <param name="url">https://github.com/prometheus/prometheus.git</param>
    <param name="scm">git</param>
    <param name="exclude">.git</param>
    <param name="versionformat">@PARENT_TAG@</param>
    <param name="revision">v2.22.1</param>
    <param name="versionrewrite-pattern">v(.*)</param>
  </service>
  <service name="recompress" mode="disabled">
    <param name="file">prometheus-*.tar</param>
    <param name="compression">xz</param>
  </service>
  <service name="set_version" mode="disabled">
    <param name="basename">prometheus</param>
  </service>
</services>
++++++ prometheus.service ++++++
[Unit]
Description=Monitoring system and time series database
Documentation=https://prometheus.io/docs/introduction/overview/
Wants=network-online.target
After=network-online.target

[Service]
Restart=always
User=prometheus
EnvironmentFile=-/etc/sysconfig/prometheus
ExecStart=/usr/bin/prometheus $ARGS
ExecReload=/bin/kill -HUP $MAINPID
TimeoutStopSec=20s
SendSIGKILL=no

[Install]
WantedBy=multi-user.target
++++++ prometheus.sysconfig ++++++
## Path:
## Description: Prometheus monitoring server settings
## Type:        string
## Default:     ""
## ServiceRestart: prometheus
#
# Command line options for prometheus
#
ARGS=""
++++++ prometheus.yml ++++++
# Sample config for Prometheus.

global:
  scrape_interval:     15s # By default, scrape targets every 15 seconds.
  evaluation_interval: 15s # By default, scrape targets every 15 seconds.
  # scrape_timeout is set to the global default (10s).

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

# Load and evaluate rules in this file every 'evaluation_interval' seconds.
rule_files:
  # - "first.rules"
  # - "second.rules"

# A scrape configuration containing exactly one endpoint to scrape:
# Here it's Prometheus itself.
scrape_configs:
  # The job name is added as a label `job=<job_name>` to any timeseries scraped 
from this config.
  - job_name: 'prometheus'

    # Override the global default and scrape targets from this job every 5 
seconds.
    scrape_interval: 5s
    scrape_timeout: 5s

    # metrics_path defaults to '/metrics'
    # scheme defaults to 'http'.

    static_configs:
      - targets: ['localhost:9090']

  - job_name: node
    # If prometheus-node-exporter is installed, grab stats about the local
    # machine by default.
    static_configs:
      - targets: ['localhost:9100']

Reply via email to