Skip to content

v2.2.0

Compare
Choose a tag to compare
@github-actions github-actions released this 12 Dec 15:44
· 746 commits to master since this release

v2.2.0 (2023-12-12)

Bug Fixes

  • Stop started actor via a PoisonPillMessage once it is no longer used
  • Remove default value definition in ConfigValidator. It is already done by CommonCLIParsingManager
  • Correct bug related to arguments default values not added to configuration when those arguments are not defined
  • Add kubernetes dependency
  • Correct issue related to parametres names in K8s configuration
  • Correct subparser k8s processor arguments types and names

Build System

  • Update dockerignore file for src-layout support
  • Bump PowerAPI package version to 2.2.0
  • Define kuberntes as a group and Add it to all-platforms group
  • Dockerfile: Pin Python slim base image tag to sha256 digest
  • deps: Bump python from edaf703 to 43a49c9
  • deps: Bump python from 7ad180f to 364ee1a
  • deps: Bump docker/metadata-action from 5.2.0 to 5.3.0
  • deps: Bump docker/metadata-action from 5.1.0 to 5.2.0
  • deps: Bump docker/metadata-action from 5.0.0 to 5.1.0
  • deps: Bump python from 32477c7 to eb6d320
  • deps: Bump pypa/gh-action-pypi-publish from 1.8.10 to 1.8.11
  • deps: Bump actions/setup-python from 4 to 5
  • deps: Bump python from 9bd704d to 54382be
  • deps: Bump docker/build-push-action from 5.0.0 to 5.1.0
  • deps: Bump python from 19a6235 to 123229c
  • deps: Bump python from d79a388 to 80571b6
  • deps: Bump python from babc0d4 to d79a388
  • deps: Bump python from fde1011 to babc0d4
  • deps: Bump python from c145aa0 to fde1011
  • deps: Bump python from 43a49c9 to c145aa0
  • deps: Bump docker/login-action from 2.2.0 to 3.0.0
  • deps: Bump python from 54382be to edaf703
  • deps: Bump python from 80571b6 to 32477c7
  • deps: Bump python from eb6d320 to 19a6235
  • deps: Bump python from 0593057 to 9bd704d
  • deps: Bump docker/build-push-action from 4.2.1 to 5.0.0
  • deps: Bump docker/setup-buildx-action from 2.10.0 to 3.0.0
  • deps: Bump docker/build-push-action from 4.2.0 to 4.2.1
  • deps: Bump docker/build-push-action from 4.1.1 to 4.2.0
  • deps: Bump docker/metadata-action from 4.6.0 to 5.0.0
  • deps: Bump python from c499230 to 0593057
  • deps: Bump actions/checkout from 3 to 4
  • deps: Bump python from 17d62d6 to c499230
  • deps: Bump docker/setup-buildx-action from 2.9.1 to 2.10.0
  • deps: Bump python from 325f5b0 to 17d62d6
  • deps: Bump python from 58ae46e to 325f5b0
  • deps: Bump pypa/gh-action-pypi-publish from 1.8.8 to 1.8.10
  • deps: Bump python from 36b544b to 58ae46e
  • deps: Bump python from 6d79a6c to 36b544b
  • deps: Bump python from 364ee1a to 6d79a6c
  • pyproject: Fix all-platforms dependencies alias
  • pyproject: Add Python 3.12 in classifiers

Code Refactoring

  • Make K8sPreprocessorActor generic regarding type of managed reports
  • Switch project to src-layout
  • Clean code
  • Rename variable name to avoid default string
  • Add 127.0.0.1 as default uri value for PrometheusDB
  • Adapt Pusher ReportHandler to ignore report saving when report has not the required metadata to be used as label
  • Adapt K8sPreProcessor to add empty metadata values if information related to K8s is not found for the Report
  • Adapt PrometheusDB to use all metadata keys of the first received report as labels if no tags are indicated in configuration
  • Clean code
  • Adapt PrometheusDB for provising a unique and simple implementation as well as tests
  • Remove unncessary code
  • Improve code quality
  • Improve code quality
  • Improve code quality
  • Remove unnecessary code
  • Remove some libvirt tests
  • Skip some libvirt tests
  • Skip some libvirt tests and remove some of them
  • Remove Report Modifiers fonctionality. They are replaced by pre-processors
  • Remove unnecessary code
  • Add support to BackendSupervisor to consider pre-processors when killing actors in postmorten mode
  • Improve logger manangement in processors
  • Readd BindingManager as it is required to create binding between processors and pullers/pushers and its related tests, Improve K8sMonitorAgent exception management
  • Use multiprocessing.Manager for dealing with Metadata Cache updates in K8sPreProcessorActor, Adapt tests, Remove unnecessary code
  • Correct problem related to variable initialisation on K8sMonitorAgentActor, Correct typos, Clean code
  • Remove useless code
  • Remove useless code
  • Separate pre-processors from post-processors, adapt processors parsing for including bindings to pullers/pushers, remove bindings as first class entities
  • Add new exceptions type for BindingManger
  • Move UnknownMessageTypeException to exception.py
  • Clean code

Continuous Integration

  • Update codebase paths in workflows for the src-layout
  • dependabot: Make dependabot check pip and docker versions daily
  • release: Disable generation of provenance attestation for container image
  • release: Remove container image signature
  • release: Skip cosign prompt when signing container image

Documentation

  • Update BackendSupervisor documentation

Features

  • Add api_key and host as paremeters of K8sPreProcessorActor for manual K8s api configuration
  • Add validation for processors and bindings as well ass related tests
  • Add monitors generation from a dictionary of processors
  • Add parsers for bindings and processors
  • Add K8sMonitorActor and K8sProcessorActor
  • Add ProcessorActor an LibvirtProcessorActor based on LibvirtMapper. Add binding manager for this kind of actor

Style

  • Update some debug messages

Tests

  • Add test case for PrometheusDB regarding labels
  • Add test for monitors generation from a processors dictionary
  • Add test for binding regarding K8s Processors, add Monitor Generator and related tests
  • Add some test on generator regarding K8s Processors