BREAKING CHANGES
-
The configuration syntax has evolved, you can refer to the updated version of the doc
pull.maximum_gitlab_api_requests_per_second
has moved togitlab.maximum_requests_per_second
project_defaults.pull.refs.*
has been redone in a hopefully more comprehensible fashionproject_defaults.pull.refs.(branches|tags|merge_requests).*
parameters can now be used to have a finer granularity
on the management of per-ref-kind settingsproject_defaults.pull.refs.from.(pipelines|merge_requests)
is not natively managed as part of the per-ref-kind specific parameters
project_defaults.pull.environments.name_regexp
has moved toproject_defaults.pull.environments.regexp
project_defaults.pull.environments.tags_regexp
was removed to avoid confusion
-
Logging configuration now has to be done as part of the config file instead of CLI flags:
log:
level: info
format: text
- By default, when exporting metrics for
environments
, stopped ones will not be considered any more.
Added
- New metric
gitlab_ci_pipeline_queued_duration_seconds
- New metric
gitlab_ci_pipeline_job_queued_duration_seconds
- (en|dis)able pulling
branches
/tags
/merge_requests
on a global or per-project basis - Choose to export metrics for only the most 'n' recently updated refs pipelines
- Choose to export metrics for refs with pipelines 'updated in the last x seconds'
- Choose to export metrics for deleted
branches
ortags
- Choose to export metrics for available
environments
only
Changed
- Bumped all dependencies
- Enhanced the function signatures for the ref objects management
- Fixed a bug causing the jobs metrics pull to fail on ref.Kind=RefKindMergeRequest
- Fixed a bug causing the environments to be garbage collected on every run
- Fixed the error handling when comparing 2 refs which resulted into nil pointer dereferences
- Fixed the pulling of merge-request based pipelines
- Fixed unit tests on windows
- Replaced custom config mangement implementation with
creasty/defaults
andgo-playground/validator
- Rewrote the non-OOP approach used so far for the controller