Releases: powerapi-ng/powerapi
Releases · powerapi-ng/powerapi
v2.10.0
v2.10.0 (2025-03-27)
Bug Fixes
- Add timezone info to timestamp in PowerReport before conversion and sending to OpenTSDB
- Consider empty values on csv lines when creating a HWPC Report
Build System
- Bump PowerAPI package version to v2.10.0
- Remove flake8 configuration file
- Add
ruff
linter configuration file - deps: Bump python from
026dd41
toa569688
- deps: Bump docker/build-push-action from 6.14.0 to 6.15.0
- deps: Bump github/codeql-action from 3.28.11 to 3.28.12
- deps: Bump actions/upload-artifact from 4.6.1 to 4.6.2
- deps: Bump actions/download-artifact from 4.2.0 to 4.2.1
- deps: Bump actions/download-artifact from 4.1.9 to 4.2.0
- deps: Bump python from
f3614d9
to8f3aba4
- deps: Bump docker/login-action from 3.3.0 to 3.4.0
- deps: Bump github/codeql-action from 3.28.10 to 3.28.11
- deps: Bump docker/setup-qemu-action from 3.5.0 to 3.6.0
- deps: Bump astral-sh/setup-uv from 5.3.0 to 5.3.1
- deps: Bump github/codeql-action from 3.28.12 to 3.28.13
- deps: Bump docker/metadata-action from 5.6.1 to 5.7.0
- deps: Bump codecov/codecov-action from 5.3.1 to 5.4.0
- deps: Bump docker/setup-qemu-action from 3.4.0 to 3.5.0
- deps: Bump docker/setup-buildx-action from 3.9.0 to 3.10.0
- deps: Bump python from
ea836d3
tof3614d9
- deps: Bump actions/download-artifact from 4.1.8 to 4.1.9
- deps: Bump python from
ae9f9ac
toea836d3
- deps: Bump slsa-framework/slsa-github-generator
- deps: Bump actions/upload-artifact from 4.6.0 to 4.6.1
- deps: Bump github/codeql-action from 3.28.9 to 3.28.10
- deps: Bump astral-sh/setup-uv from 5.2.2 to 5.3.0
- deps: Bump docker/build-push-action from 6.13.0 to 6.14.0
- deps: Bump astral-sh/setup-uv from 5.2.1 to 5.2.2
- deps: Bump python from
4efa69b
toeda73ca
- deps: Bump python from
eda73ca
to0de8181
- deps: Bump github/codeql-action from 3.27.5 to 3.27.6
- deps: Bump python from
0de8181
tof41a75c
- deps: Bump codecov/codecov-action from 5.0.7 to 5.1.1
- deps: Bump pypa/gh-action-pypi-publish from 1.12.2 to 1.12.3
- deps: Bump softprops/action-gh-release from 2.1.0 to 2.2.0
- deps: Bump github/codeql-action from 3.27.6 to 3.27.9
- deps: Bump docker/setup-buildx-action from 3.7.1 to 3.8.0
- deps: Bump actions/upload-artifact from 4.4.3 to 4.5.0
- deps: Bump github/codeql-action from 3.27.9 to 3.28.0
- deps: Bump python from
031ebf3
toae9f9ac
- deps: Bump docker/setup-qemu-action from 3.3.0 to 3.4.0
- deps: Bump docker/setup-buildx-action from 3.8.0 to 3.9.0
- deps: Bump github/codeql-action from 3.28.8 to 3.28.9
- deps: Bump python from
a569688
to031ebf3
- deps: Bump actions/setup-python from 5.4.0 to 5.5.0
- deps: Bump astral-sh/setup-uv from 4.1.0 to 4.2.0
- deps: Bump astral-sh/setup-uv from 4.2.0 to 5.0.1
- deps: Bump astral-sh/setup-uv from 5.3.1 to 5.4.0
- deps: Bump github/codeql-action from 3.28.6 to 3.28.8
- deps: Bump actions/setup-python from 5.3.0 to 5.4.0
- deps: Bump github/codeql-action from 3.28.5 to 3.28.6
- deps: Bump github/codeql-action from 3.28.4 to 3.28.5
- deps: Bump codecov/codecov-action from 5.3.0 to 5.3.1
- deps: Bump python from
23a81be
to026dd41
- deps: Bump pypa/gh-action-pypi-publish from 1.12.3 to 1.12.4
- deps: Bump docker/build-push-action from 6.12.0 to 6.13.0
- deps: Bump github/codeql-action from 3.28.2 to 3.28.4
- deps: Bump codecov/codecov-action from 5.1.2 to 5.3.0
- deps: Bump github/codeql-action from 3.28.1 to 3.28.2
- deps: Bump astral-sh/setup-uv from 5.2.0 to 5.2.1
- deps: Bump astral-sh/setup-uv from 5.1.0 to 5.2.0
- deps: Bump docker/build-push-action from 6.11.0 to 6.12.0
- deps: Bump python from
31e0d1a
to23a81be
- deps: Bump python from
1127090
to31e0d1a
- deps: Bump github/codeql-action from 3.28.0 to 3.28.1
- deps: Bump actions/upload-artifact from 4.5.0 to 4.6.0
- deps: Bump docker/setup-qemu-action from 3.2.0 to 3.3.0
- deps: Bump softprops/action-gh-release from 2.2.0 to 2.2.1
- deps: Bump docker/build-push-action from 6.10.0 to 6.11.0
- deps: Bump python from
f41a75c
to1127090
- deps: Bump astral-sh/setup-uv from 5.0.1 to 5.1.0
- deps: Bump codecov/codecov-action from 5.1.1 to 5.1.2
- pylint: Disable
deprecated-module
check - pyproject: Remove
flake8
from dev dependency group - pyproject: Move dev dependencies into
dependency-groups
- pyproject: Add ruff to
lint
dependency group - pyproject: Remove
mock
library from test dependency group - ruff: Remove
deprecated-import
from ignored rules list - ruff: Remove
type-comparison
from ignored rules list - ruff: Remove
non-pep585-annotation
from ignored rules list - ruff: Remove
redundant-open-modes
from ignored rules list - ruff: Remove
printf-string-formatting
from ignored rules list - ruff: Remove
B011
andB017
from ignored rules list - ruff: Remove
commented-out-code
from ignored rules list - ruff: Remove
collection-literal-concatenation
from ignored rules list - ruff: Remove
deprecated-import
from ignored rules list - ruff: Remove
strip-with-multi-characters
from ignored rules list - ruff: Remove
non-pep604-annotation-union
from ignored rules list - ruff: Remove logging string formats from ignored rules list
Code Refactoring
- Concatenate collections with iterable unpacking
- Use PEP585 type hints for standard collections
- Use PEP-604 annotation for union types
- Remove redundant
open
mode argument - Replace deprecated
typing
imports withcollections.abc
- Remove commented-out code
- Format logging messages the same way across the codebase
- database: Move
prometheus
into its own submodule - database: Move
csvdb
into its own submodule - database: Move
mongodb
into its own submodule - database: Move
influxdb2
into its own submodule - database: Move
virtiofs
into its own submodule - database: Move
opentsdb
into its own submodule - database: Move
socket
into its own submodule - database: Move
file
into its own submodule - report: Remove usage of printf string formatting
Continuous Integration
- Add workflow to check pull request title
- build: Always upload coverage reports to Codecov
- build: Remove flake8 step from workflow
- build: Use
uv
to manage project dependencies - build: Add
ruff
linter for src and tests folders
Documentation
- Remove used sphinx scripts and configuration
- joss: Add sources of the paper
Tests
- unit: Use
unittest.mock
instead of the deprecatedmock
library - unit/actor: Expect
ZMQError
when the supervisor fails initialization - unit/cli: Replace
assert False
bypytest.fail
- unit/cli: Use
is
instead of==
to compare types - unit/puller: Use
removeprefix
instead oflstrip
v2.9.1
v2.8.0
v2.8.0 (2024-09-03)
Bug Fixes
- Correct issue related to empty tags in configuration
- Modify tags management in prometheus_db destination
Build System
- Bump PowerAPI package version to 2.8.0
- Dockerfile: Install PowerAPI inside a global Python virtualenv
- deps: Bump pypa/gh-action-pypi-publish from 1.10.0 to 1.10.1
- deps: Bump pypa/gh-action-pypi-publish from 1.9.0 to 1.10.0
- deps: Bump actions/setup-python from 5.1.1 to 5.2.0
- deps: Bump github/codeql-action from 3.26.3 to 3.26.6
- deps: Bump github/codeql-action from 3.26.1 to 3.26.3
- deps: Bump python from
835b976
to59c7332
- deps: Bump docker/build-push-action from 6.6.1 to 6.7.0
- deps: Bump github/codeql-action from 3.26.0 to 3.26.1
- deps: Bump python from
105e9d8
to835b976
- deps: Bump python from
a3e58f9
to105e9d8
- deps: Bump docker/build-push-action from 6.5.0 to 6.6.1
- deps: Bump github/codeql-action from 3.25.15 to 3.26.0
- deps: Bump python from
1ef6f4d
toa3e58f9
- deps: Bump python from
740d94a
to1ef6f4d
- deps: Bump docker/setup-buildx-action from 3.5.0 to 3.6.1
- deps: Bump github/codeql-action from 3.25.14 to 3.25.15
- deps: Bump github/codeql-action from 3.25.13 to 3.25.14
- deps: Bump python from
52f92c5
to740d94a
- deps: Bump python from
09bbe22
to52f92c5
- deps: Bump python from
f11725a
to09bbe22
- deps: Bump docker/setup-buildx-action from 3.4.0 to 3.5.0
- deps: Bump docker/setup-qemu-action from 3.1.0 to 3.2.0
- deps: Bump docker/login-action from 3.2.0 to 3.3.0
- deps: Bump github/codeql-action from 3.25.12 to 3.25.13
- deps: Bump docker/build-push-action from 6.4.1 to 6.5.0
- deps: Bump softprops/action-gh-release from 2.0.7 to 2.0.8
- deps: Bump softprops/action-gh-release from 2.0.6 to 2.0.7
- deps: Bump docker/build-push-action from 6.4.0 to 6.4.1
- deps: Bump docker/build-push-action from 6.3.0 to 6.4.0
- deps: Bump github/codeql-action from 3.25.11 to 3.25.12
- deps: Bump actions/setup-python from 5.1.0 to 5.1.1
- deps: Bump python from
d5f1674
tof11725a
- deps: Bump python from
00bf210
tod5f1674
- deps: Bump docker/setup-buildx-action from 3.3.0 to 3.4.0
- deps: Bump python from
d3a3259
to00bf210
- deps: Bump docker/build-push-action from 6.2.0 to 6.3.0
- deps: Bump docker/setup-qemu-action from 3.0.0 to 3.1.0
- deps: Bump python from
da2d7af
tod3a3259
- deps: Bump github/codeql-action from 3.25.10 to 3.25.11
- deps: Bump python from
2fba8e7
toda2d7af
- deps: Bump docker/build-push-action from 6.1.0 to 6.2.0
- deps: Bump docker/build-push-action from 6.0.1 to 6.1.0
- deps: Bump softprops/action-gh-release from 2.0.5 to 2.0.6
- deps: Bump docker/build-push-action from 6.0.0 to 6.0.1
- deps: Bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0
- deps: Bump docker/build-push-action from 5.4.0 to 6.0.0
- deps: Bump github/codeql-action from 3.25.9 to 3.25.10
- deps: Bump python from
e3ae8cf
to2fba8e7
- deps: Bump codecov/codecov-action from 4.4.1 to 4.5.0
- deps: Bump actions/checkout from 4.1.6 to 4.1.7
- deps: Bump github/codeql-action from 3.25.8 to 3.25.9
- deps: Bump docker/build-push-action from 5.3.0 to 5.4.0
- deps: Bump python from
afc139a
toe3ae8cf
- deps: Bump github/codeql-action from 3.25.7 to 3.25.8
Code Refactoring
- Use empty string as default value for tags no presented in report metadata
- puller: Remove unused async database handling
- utils: Remove unused
JsonStream
class
Continuous Integration
- release: Enable generation and upload of python package digital attestation
Documentation
- CITATION.cff: Add Zenodo DOI
- CITATION.cff: Add JOSS paper metadata
- README: Update JOSS and Zenodo badges, add JOSS publication
Features
- database/socket: Rework socket database code
- report/hwpc: Improves error handling when deserializing from json
Tests
- unit/cli: Update
SocketDB
host/port checks - unit/database: Add
socket
database tests
v2.7.0
v2.7.0 (2024-06-03)
Bug Fixes
- Remove useless tags initialisation in save method of prometheus_db
- Change filtering by tags on PowerReport. Now, if tags is empty all metadata is kept
- Adapt test to changes on environment variables parsing
- Correct parsing of environment variable by using longest argument suffix
- Change argument names separator from _ to -
- Rename parameters names in extract_file_names action, Remove code related to influxdb 1.8
Build System
- Bump PowerAPI package version to 2.7.0
- deps: Bump github/codeql-action from 3.25.6 to 3.25.7
- deps: Bump docker/login-action from 3.1.0 to 3.2.0
- deps: Bump actions/checkout from 4.1.5 to 4.1.6
- deps: Bump python from
2be8dad
toafc139a
- deps: Bump github/codeql-action from 3.25.3 to 3.25.4
- deps: Bump softprops/action-gh-release from 2.0.4 to 2.0.5
- deps: Bump actions/checkout from 4.1.4 to 4.1.5
- deps: Bump codecov/codecov-action from 4.3.0 to 4.3.1
- deps: Bump github/codeql-action from 3.25.2 to 3.25.3
- deps: Bump python from
399ca82
to2be8dad
- deps: Bump actions/checkout from 4.1.3 to 4.1.4
- deps: Bump python from
541d45d
to399ca82
- deps: Bump github/codeql-action from 3.25.1 to 3.25.2
- deps: Bump actions/checkout from 4.1.2 to 4.1.3
- deps: Bump github/codeql-action from 3.25.0 to 3.25.1
- deps: Bump github/codeql-action from 3.24.10 to 3.25.0
Code Refactoring
- Remove unnecessary files and directory on source
- Remove unnecessary directory old
- actor: Fix pylint
unsubscriptable-object
warning - pusher: Fix pylint
useless-return
warning - report: Clean
_extract_timestamp
method code
Documentation
- Add CITATION.cff file
Features
- config: Add
host
parameter to config the socket db listen address - database/socket: Add
host
attribute to set the socket listen address
Tests
- Add tests for PowerReport related to tags management and generation of influxdb and prometheus documents
- utils/cli: Add
host
field for socket output in config export
v2.6.0
v2.6.0 (2024-04-12)
Bug Fixes
- Create CSV output file when it doesn't exists
- actor: Enable ZMQ High-Water-Mark on actors sockets
- database/csv: Set file handle to beginning of file before parsing headers
- puller: Set database puller thread as daemon
Build System
- Bump PowerAPI package version to 2.6.0
- Bump minimal Python version to 3.10
- deps: Bump codecov/codecov-action from 4.2.0 to 4.3.0
- deps: Bump python from
5dc6f84
to541d45d
- deps: Bump github/codeql-action from 3.24.9 to 3.24.10
- deps: Bump docker/setup-buildx-action from 3.2.0 to 3.3.0
- deps: Bump codecov/codecov-action from 4.1.1 to 4.2.0
- pylint: Enable pylint
unnecessary-dunder-call
check
Code Refactoring
- actor: Use PyZMQ methods to send/receive python objects
- cli: Clean parse config from json/env methods
- cli: Improve argument name cleaning code
- database/csv: Fix pylint
unnecessary-dunder-call
warning - dispatcher: Rework actor state code
- dispatcher: Rework report handler
- dispatcher: Improve formula ID extraction code
- puller: Fix pylint
unnecessary-dunder-call
warning - tests/utils/db: Fix pylint
unnecessary-dunder-call
warnings - utils: Remove unused
Tree
class - utils/cli: Clean code of find longest string method
- utils/cli: Clean code of merge dict function
Documentation
- Update publications list, Add related research projects
Features
- actor: Optimize message handler lookup
- database: Override the
disconnect
method in databases - database: Update overrides of
BaseDB
methods - database: Add
disconnect
method toBaseDB
- dispatcher: Optimize routing table lookup
- puller: Dynamically check if database is async
Tests
- unit/actor: Use
add_handler
method instead of overwriting the handlers attribute - unit/dispatcher: Update routing table method name
- unit/dispatcher: Fix
flake8
warnings in str methods - unit/dispatcher: Clean actor tests
- utils/db: Update
iter
method signature fromBaseDB
- utils/formula/dummy: Remove
sleep
before processing reports
v2.5.0
v2.5.0 (2024-03-28)
Bug Fixes
- dispatcher: Fix pickle error on formula factory when using spawn method
- processor/k8s: Close socket interface of target actor when stopping
- processor/k8s: Fix pylint
logging-too-few-args
warning - processor/k8s: Fix reversed container name/id parameters
- processor/libvirt: Add missing Poison Pill message handler to actor
Build System
- Bump PowerAPI package version to 2.5.0
- chglog: Update header pattern to allow
/
character in scope - deps: Bump codecov/codecov-action from 4.1.0 to 4.1.1
- deps: Bump actions/setup-python from 5.0.0 to 5.1.0
- deps: Bump python from
36d57d7
to5dc6f84
- deps: Bump github/codeql-action from 3.24.8 to 3.24.9
- deps: Bump github/codeql-action from 3.24.7 to 3.24.8
Code Refactoring
- cli: Improve k8s pre-processor cli args help text
- cli: Remove unused timeout parameters for k8s pre-processor
- handler: Remove debug print in Poison Pill message handler
- processor: Clean
ProcessorActor
base class and state - processor: Use super() to get the parent class
- processor/k8s: Fix pylint warnings in monitor agent
- processor/k8s: Map
HWPCReport
to its corresponding handler - processor/k8s: Rework background metadata cache update agent
- processor/libvirt: Fix flake8 warnings in actor module
Features
- actor: Remove Poison Pill message in signal handler
- cli: Update default paramaters value in k8s pre-processor factory
- cli: Rename k8s pre-processor config arguments
- cli/generator: Remove monitor and update pre-processor factory
- processor/k8s: Wait for monitor agent to terminate before stopping actor
- processor/k8s: Use resource id of V1PodList instead of V1Pod items
- processor/k8s: Exit monitor process when receiving SIGINT/TERM
- processor/k8s: Shutdown
Manager
before shutting down actor - processor/k8s: More robust processing of container statuses
- processor/k8s: Fill metadata cache from k8s API at startup
- processor/k8s: Add method to clear metadata cache entries
- processor/k8s: Add cgroups path validation before setting metadata
- processor/k8s: Move monitor agent initialization in actor setup
- processor/k8s: Drop reports with unknown kubernetes target
- processor/k8s: Put the container metadata inside a
k8s
dict entry - processor/k8s: Rework actor and report handlers code
- processor/k8s: Add container metadata cache manager
Tests
- unit/cli: Remove monitor tests
- unit/cli: Fix CodeQL warnings about unused imports
- unit/dispatcher: Fix deadlocks in Dispatcher actor tests
- unit/processor: Remove unused fixtures
- unit/processor/k8s: Add processor actor unit tests
- unit/processor/k8s: Rename monitor agent tests file
- unit/processor/k8s: Add monitor unit tests
- unit/processor/k8s: Add
utils
module unit tests - unit/processor/k8s: Fix pylint
f-string-without-interpolation
warning - unit/processor/k8s: Rename actor tests file
- unit/processor/k8s: Add tests for metadata cache manager
- unit/processor/k8s: Fix pylint warnings about fixtures
- utils: Use Manager for the Actors mailbox Queue
v2.4.0
v2.4.0 (2024-03-14)
Bug Fixes
- cli: Add missing
add_argument
method to RootConfigParsingManager
Build System
- Bump PowerAPI package version to 2.4.0
- deps: Bump codecov/codecov-action from 4.0.0 to 4.0.1
- deps: Bump pypa/gh-action-pypi-publish from 1.8.11 to 1.8.12
- deps: Bump docker/login-action from 3.0.0 to 3.1.0
- deps: Bump python from
5f02448
to36d57d7
- deps: Bump softprops/action-gh-release from 2.0.3 to 2.0.4
- deps: Bump github/codeql-action from 3.24.6 to 3.24.7
- deps: Bump softprops/action-gh-release from 2.0.2 to 2.0.3
- deps: Bump actions/checkout from 4.1.1 to 4.1.2
- deps: Bump python from
5c73034
to5f02448
- deps: Fix version number comment for softprops/action-gh-release
- deps: Bump softprops/action-gh-release from 1 to 2
- deps: Bump docker/build-push-action from 5.1.0 to 5.2.0
- deps: Bump codecov/codecov-action from 4.0.2 to 4.1.0
- deps: Bump docker/build-push-action from 5.2.0 to 5.3.0
- deps: Bump github/codeql-action from 3.24.1 to 3.24.2
- deps: Bump python from
eb53cb9
to56c0b10
- deps: Bump github/codeql-action from 3.24.0 to 3.24.1
- deps: Bump python from
56c0b10
to86cd499
- deps: Bump python from
a64ac5b
toeb53cb9
- deps: Bump docker/setup-buildx-action from 3.1.0 to 3.2.0
- deps: Bump python from
86cd499
to5c73034
- deps: Bump github/codeql-action from 3.24.2 to 3.24.3
- deps: Bump github/codeql-action from 3.24.3 to 3.24.4
- deps: Bump github/codeql-action from 3.24.5 to 3.24.6
- deps: Bump github/codeql-action from 3.24.4 to 3.24.5
- deps: Bump codecov/codecov-action from 4.0.1 to 4.0.2
- deps: Bump docker/setup-buildx-action from 3.0.0 to 3.1.0
- deps: Bump pypa/gh-action-pypi-publish from 1.8.12 to 1.8.14
- pylint: Add
info
messages to the global evaluation score - pylint: Disable broad-exception-caught check
- pylint: Use full name instead of identifier to disable messages
- pylint: Enable useless-suppression and suppressed-message checks
- pylint: Enable Pylint logging-not-lazy check
- pylint: Enable Pylint
arguments-renamed
check - pylint: Enable pylint
unspecified-encoding
check - pylint: Enable pylint
no-else-return
check - pylint: Enable pylint
no-else-raise
check - pylint: Enable pylint
protected-access
check - pylint: Enable pylint
empty-docstring
check - pylint: Enable pylint
consider-using-dict-items
check - pylint: Fix pylint
consider-using-dict-items
warning
Code Refactoring
- Remove all
simple
modules - actor: Fix pylint
no-else-return
warning - actor: Remove pylint pragma to disable c-extension-no-member check
- actor: Remove pylint pragma to disable broad-exception-caught check
- actor: Fix pylint
no-else-raise
warnings - actor: Fix Pylint logging-not-lazy warnings
- cli: Fix pylint
no-else-raise
warnings - cli: Fix CodeQL py/overwritten-inherited-attribute warnings
- cli: Fix CodeQL py/unreachable-statement warning
- cli: Fix pylint
empty-docstring
warnings - cli: Fix CodeQL py/file-not-closed warning
- cli: Fix Pylint logging-not-lazy warnings
- cli: Fix pylint
unspecified-encoding
warning - cli: Fix pylint
arguments-renamed
warnings - database: Fix pylint
unspecified-encoding
warnings - database: Fix pylint
no-else-raise
warnings - database: Fix CodeQL py/overwritten-inherited-attribute warnings
- dispatch_rule: Set DispatchRule fields attribute in super class
- puller: Fix pylint
no-else-return
warning - report: Fix pylint
no-else-raise
warning - report: Fix pylint
protected-access
warnings - utils: Fix pylint
protected-access
warnings - utils: Remove unused utils and their corresponding tests
- utils: Fix pylint
no-else-return
warning
Continuous Integration
- build: Add load flag to container image build
- build: Add container image build job
- build: Pin GitHub Actions version by commit-hash
- codeql: Add toplevel permission
- codeql: Pin GitHub Actions version by commit-hash
- release: Add release Pre-Checks job
- release: Add toplevel permission
- release: Pin GitHub Actions version by commit-hash
Documentation
- Remove unused readthedocs configuration file
- Add SECURITY.md
Features
- dispatch_rule: Add fields attribute to DispatchRule constructor
- report: Override eq method of all report types
Tests
- Remove broken integration/acceptation tests
- acceptation: Remove fixtures imports
- acceptation: Add init.py file in directories
- acceptation: Fix CodeQL py/unused-import warning
- actor: Fix CodeQL py/empty-except warning
- integration: Fix CodeQL py/unused-import warnings
- utils: Fix pylint
empty-docstring
warning - utils: Fix pylint
unspecified-encoding
warnings - utils: Remove pylint pragma to disable no-self-use check
v2.3.0
v2.3.0 (2024-02-01)
Bug Fixes
- Correct group name for PostProcessorGenerator
Build System
- Bump PowerAPI package version to 2.3.0
- deps: Bump python from
facbb9a
toee9a59c
- deps: Bump docker/metadata-action from 5.4.0 to 5.5.0
- deps: Bump python from
db7e928
toa64ac5b
- deps: Bump codecov/codecov-action from 3.1.5 to 3.1.6
- deps: Bump codecov/codecov-action from 3.1.4 to 3.1.5
- deps: Bump python from
a1f70a0
todb7e928
- deps: Bump codecov/codecov-action from 3.1.6 to 4.0.0
- deps: Bump github/codeql-action from 2 to 3
- deps: Bump python from
ee9a59c
toa1f70a0
- deps: Bump python from
c805c5e
tofacbb9a
- deps: Bump docker/metadata-action from 5.5.0 to 5.5.1
- deps: Bump python from
226853d
toc805c5e
- deps: Bump python from
123229c
to226853d
- deps: Bump docker/metadata-action from 5.3.0 to 5.4.0
- pyproject: Remove unmaintained influxdb client dependency
Code Refactoring
- Remove influxdb 1.8 as source, its dependencies and tests
Continuous Integration
- release: Add Docker image build for arm64 target platform
- release: Use organization variable for Docker Hub username
Documentation
- Add FOSSA badge in README.md
Style
- Fix license header formatting of integration tests
v2.2.0
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
to43a49c9
- deps: Bump python from
7ad180f
to364ee1a
- 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
toeb6d320
- 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
to54382be
- deps: Bump docker/build-push-action from 5.0.0 to 5.1.0
- deps: Bump python from
19a6235
to123229c
- deps: Bump python from
d79a388
to80571b6
- deps: Bump python from
babc0d4
tod79a388
- deps: Bump python from
fde1011
tobabc0d4
- deps: Bump python from
c145aa0
tofde1011
- deps: Bump python from
43a49c9
toc145aa0
- deps: Bump docker/login-action from 2.2.0 to 3.0.0
- deps: Bump python from
54382be
toedaf703
- deps: Bump python from
80571b6
to32477c7
- deps: Bump python from
eb6d320
to19a6235
- deps: Bump python from
0593057
to9bd704d
- 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
to0593057
- deps: Bump actions/checkout from 3 to 4
- deps: Bump python from
17d62d6
toc499230
- deps: Bump docker/setup-buildx-action from 2.9.1 to 2.10.0
- deps: Bump python from
325f5b0
to17d62d6
- deps: Bump python from
58ae46e
to325f5b0
- deps: Bump pypa/gh-action-pypi-publish from 1.8.8 to 1.8.10
- deps: Bump python from
36b544b
to58ae46e
- deps: Bump python from
6d79a6c
to36b544b
- deps: Bump python from
364ee1a
to6d79a6c
- 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
v2.1.0
v2.1.0 (2023-07-18)
Bug Fixes
- Correct bug related to flags arguments. Their default type was always str
- Correct bug related to usage of - in arguments names and parsing of environment variables. Now, by default, composed arguments names are separated by -
- Correct bug related to required default value of name attribute in a configuration
- Correct bug related to actors killed by the supervisor
Build System
- Dockerfile: Switch to "slim" python base image
- deps: Bump docker/setup-buildx-action from 2.9.0 to 2.9.1
- deps: Bump pypa/gh-action-pypi-publish from 1.8.7 to 1.8.8
- deps: Bump docker/setup-buildx-action from 2.8.0 to 2.9.0
- deps: Bump pypa/gh-action-pypi-publish from 1.8.6 to 1.8.7
Code Refactoring
- Remove useless constants
- Correct flake8 indentation issue
- Simplify some add methods names in managers and parsers
- Remove useless import
- Change management of prefixes and arguments names list to SubgroupParserGroup and Parsers. Configuration definitions via environment variables only support long names for arguments. Adaptation of tests and CommonCLIParsingManager according to these changes
Continuous Integration
- build: Remove top-level permissions key
- release: Sign container image with cosign
- release: Use Docker buildx for container image builds
Features
- Add for configuration through environment variables. The three methods can be combined and the priority is as follows: 1. CLI, 2. Environment Variables, 3. Configuration File. The configuration via environment variables can only be used with arguments long names