BREAKING CHANGES
default_refs
&refs
parameter have been renamed respectively todefault_refs_regexp
andrefs_regexp
to make them more explicit- In the config, there is a new
defaults
parameter group for any setting which can be overridden at theproject
orwildcard
level. It includes the following parameters:- fetch_pipeline_job_metrics
- fetch_pipeline_variables
- output_sparse_status_metrics
- pipeline_variables_filter_regex
- refs_regexp
- Renamed the following parameters (their behaviour remains the same):
projects_polling_interval_seconds
intowildcards_projects_discover_interval_seconds
refs_polling_interval_seconds
intoprojects_refs_discover_interval_seconds
pipelines_polling_interval_seconds
intoprojects_refs_polling_interval_seconds
Added
kind
label on all metrics which reflects the type of the ref : branch, tag or merge-request- project/wildcard parameters
fetch_merge_request_pipelines_refs
andfetch_merge_request_pipelines_refs_init_limit
to enable the metrics polling of merge requests pipelines - Configuration for OpenMetrics Encoding in metrics HTTP endpoint. Enabled by default but can be disable using
disable_openmetrics_encoding: true
- Worker pool for projects polling: set
maximum_projects_poller_workers
with an integer value to control parallelism (defaults toruntime.GOMAXPROCS(0)
) - Augmented
disable_tls_verify
withdisable_health_check
additional parameter to drive the behaviour of checking healthiness of target service - Reading pipeline variables if enabled setting
fetch_pipeline_variables
totrue
(defaults tofalse
) - Pipeline variables can be filtered with
pipeline_variables_filter_regex
(defaults to.*
) - Configurable ServiceMonitor resource through the helm chart
Changed
- Projects polling from GitLab API is done in parallel using
maximum_projects_poller_workers
pollers and concurrently fetching refs and projects - Fixed a bug causing duplicate metrics when status changes with sparse flag enabled
- Updated labels syntax in helm chart to comply with standards
- Updated logging, using more extensively the log.WithFields parameter for an enhanced troubleshooting experience
- Bumped prometheus/client_golang to
1.6