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
rufflinter configuration file - deps: Bump python from
026dd41toa569688 - 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
f3614d9to8f3aba4 - 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
ea836d3tof3614d9 - deps: Bump actions/download-artifact from 4.1.8 to 4.1.9
- deps: Bump python from
ae9f9actoea836d3 - 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
4efa69btoeda73ca - deps: Bump python from
eda73cato0de8181 - deps: Bump github/codeql-action from 3.27.5 to 3.27.6
- deps: Bump python from
0de8181tof41a75c - 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
031ebf3toae9f9ac - 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
a569688to031ebf3 - 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
23a81beto026dd41 - 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
31e0d1ato23a81be - deps: Bump python from
1127090to31e0d1a - 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
f41a75cto1127090 - 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-modulecheck - pyproject: Remove
flake8from dev dependency group - pyproject: Move dev dependencies into
dependency-groups - pyproject: Add ruff to
lintdependency group - pyproject: Remove
mocklibrary from test dependency group - ruff: Remove
deprecated-importfrom ignored rules list - ruff: Remove
type-comparisonfrom ignored rules list - ruff: Remove
non-pep585-annotationfrom ignored rules list - ruff: Remove
redundant-open-modesfrom ignored rules list - ruff: Remove
printf-string-formattingfrom ignored rules list - ruff: Remove
B011andB017from ignored rules list - ruff: Remove
commented-out-codefrom ignored rules list - ruff: Remove
collection-literal-concatenationfrom ignored rules list - ruff: Remove
deprecated-importfrom ignored rules list - ruff: Remove
strip-with-multi-charactersfrom ignored rules list - ruff: Remove
non-pep604-annotation-unionfrom 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
openmode argument - Replace deprecated
typingimports withcollections.abc - Remove commented-out code
- Format logging messages the same way across the codebase
- database: Move
prometheusinto its own submodule - database: Move
csvdbinto its own submodule - database: Move
mongodbinto its own submodule - database: Move
influxdb2into its own submodule - database: Move
virtiofsinto its own submodule - database: Move
opentsdbinto its own submodule - database: Move
socketinto its own submodule - database: Move
fileinto 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
uvto manage project dependencies - build: Add
rufflinter for src and tests folders
Documentation
- Remove used sphinx scripts and configuration
- joss: Add sources of the paper
Tests
- unit: Use
unittest.mockinstead of the deprecatedmocklibrary - unit/actor: Expect
ZMQErrorwhen the supervisor fails initialization - unit/cli: Replace
assert Falsebypytest.fail - unit/cli: Use
isinstead of==to compare types - unit/puller: Use
removeprefixinstead 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
835b976to59c7332 - 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
105e9d8to835b976 - deps: Bump python from
a3e58f9to105e9d8 - 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
1ef6f4dtoa3e58f9 - deps: Bump python from
740d94ato1ef6f4d - 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
52f92c5to740d94a - deps: Bump python from
09bbe22to52f92c5 - deps: Bump python from
f11725ato09bbe22 - 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
d5f1674tof11725a - deps: Bump python from
00bf210tod5f1674 - deps: Bump docker/setup-buildx-action from 3.3.0 to 3.4.0
- deps: Bump python from
d3a3259to00bf210 - 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
da2d7aftod3a3259 - deps: Bump github/codeql-action from 3.25.10 to 3.25.11
- deps: Bump python from
2fba8e7toda2d7af - 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
e3ae8cfto2fba8e7 - 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
afc139atoe3ae8cf - 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
JsonStreamclass
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
SocketDBhost/port checks - unit/database: Add
socketdatabase 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
2be8dadtoafc139a - 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
399ca82to2be8dad - deps: Bump actions/checkout from 4.1.3 to 4.1.4
- deps: Bump python from
541d45dto399ca82 - 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-objectwarning - pusher: Fix pylint
useless-returnwarning - report: Clean
_extract_timestampmethod code
Documentation
- Add CITATION.cff file
Features
- config: Add
hostparameter to config the socket db listen address - database/socket: Add
hostattribute 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
hostfield 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
5dc6f84to541d45d - 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-callcheck
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-callwarning - dispatcher: Rework actor state code
- dispatcher: Rework report handler
- dispatcher: Improve formula ID extraction code
- puller: Fix pylint
unnecessary-dunder-callwarning - tests/utils/db: Fix pylint
unnecessary-dunder-callwarnings - utils: Remove unused
Treeclass - 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
disconnectmethod in databases - database: Update overrides of
BaseDBmethods - database: Add
disconnectmethod toBaseDB - dispatcher: Optimize routing table lookup
- puller: Dynamically check if database is async
Tests
- unit/actor: Use
add_handlermethod instead of overwriting the handlers attribute - unit/dispatcher: Update routing table method name
- unit/dispatcher: Fix
flake8warnings in str methods - unit/dispatcher: Clean actor tests
- utils/db: Update
itermethod signature fromBaseDB - utils/formula/dummy: Remove
sleepbefore 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-argswarning - 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
36d57d7to5dc6f84 - 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
ProcessorActorbase class and state - processor: Use super() to get the parent class
- processor/k8s: Fix pylint warnings in monitor agent
- processor/k8s: Map
HWPCReportto 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
Managerbefore 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
k8sdict 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
utilsmodule unit tests - unit/processor/k8s: Fix pylint
f-string-without-interpolationwarning - 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_argumentmethod 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
5f02448to36d57d7 - 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
5c73034to5f02448 - 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
eb53cb9to56c0b10 - deps: Bump github/codeql-action from 3.24.0 to 3.24.1
- deps: Bump python from
56c0b10to86cd499 - deps: Bump python from
a64ac5btoeb53cb9 - deps: Bump docker/setup-buildx-action from 3.1.0 to 3.2.0
- deps: Bump python from
86cd499to5c73034 - 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
infomessages 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-renamedcheck - pylint: Enable pylint
unspecified-encodingcheck - pylint: Enable pylint
no-else-returncheck - pylint: Enable pylint
no-else-raisecheck - pylint: Enable pylint
protected-accesscheck - pylint: Enable pylint
empty-docstringcheck - pylint: Enable pylint
consider-using-dict-itemscheck - pylint: Fix pylint
consider-using-dict-itemswarning
Code Refactoring
- Remove all
simplemodules - actor: Fix pylint
no-else-returnwarning - 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-raisewarnings - actor: Fix Pylint logging-not-lazy warnings
- cli: Fix pylint
no-else-raisewarnings - cli: Fix CodeQL py/overwritten-inherited-attribute warnings
- cli: Fix CodeQL py/unreachable-statement warning
- cli: Fix pylint
empty-docstringwarnings - cli: Fix CodeQL py/file-not-closed warning
- cli: Fix Pylint logging-not-lazy warnings
- cli: Fix pylint
unspecified-encodingwarning - cli: Fix pylint
arguments-renamedwarnings - database: Fix pylint
unspecified-encodingwarnings - database: Fix pylint
no-else-raisewarnings - database: Fix CodeQL py/overwritten-inherited-attribute warnings
- dispatch_rule: Set DispatchRule fields attribute in super class
- puller: Fix pylint
no-else-returnwarning - report: Fix pylint
no-else-raisewarning - report: Fix pylint
protected-accesswarnings - utils: Fix pylint
protected-accesswarnings - utils: Remove unused utils and their corresponding tests
- utils: Fix pylint
no-else-returnwarning
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-docstringwarning - utils: Fix pylint
unspecified-encodingwarnings - 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
facbb9atoee9a59c - deps: Bump docker/metadata-action from 5.4.0 to 5.5.0
- deps: Bump python from
db7e928toa64ac5b - 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
a1f70a0todb7e928 - 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
ee9a59ctoa1f70a0 - deps: Bump python from
c805c5etofacbb9a - deps: Bump docker/metadata-action from 5.5.0 to 5.5.1
- deps: Bump python from
226853dtoc805c5e - deps: Bump python from
123229cto226853d - 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
edaf703to43a49c9 - deps: Bump python from
7ad180fto364ee1a - 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
32477c7toeb6d320 - 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
9bd704dto54382be - deps: Bump docker/build-push-action from 5.0.0 to 5.1.0
- deps: Bump python from
19a6235to123229c - deps: Bump python from
d79a388to80571b6 - deps: Bump python from
babc0d4tod79a388 - deps: Bump python from
fde1011tobabc0d4 - deps: Bump python from
c145aa0tofde1011 - deps: Bump python from
43a49c9toc145aa0 - deps: Bump docker/login-action from 2.2.0 to 3.0.0
- deps: Bump python from
54382betoedaf703 - deps: Bump python from
80571b6to32477c7 - deps: Bump python from
eb6d320to19a6235 - deps: Bump python from
0593057to9bd704d - 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
c499230to0593057 - deps: Bump actions/checkout from 3 to 4
- deps: Bump python from
17d62d6toc499230 - deps: Bump docker/setup-buildx-action from 2.9.1 to 2.10.0
- deps: Bump python from
325f5b0to17d62d6 - deps: Bump python from
58ae46eto325f5b0 - deps: Bump pypa/gh-action-pypi-publish from 1.8.8 to 1.8.10
- deps: Bump python from
36b544bto58ae46e - deps: Bump python from
6d79a6cto36b544b - deps: Bump python from
364ee1ato6d79a6c - pyproject: Fix
all-platformsdependencies 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