Aperture-py

Latest version: v2.26.0

Safety actively analyzes 688674 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 37 of 53

0.24.0

Changelog

List of aperture PRs merged since 0.23.0 release. For the full list of changes, see [list of changes][changes]

Properly handle request to v1/status root (1400)

Handle requests to root path of v1/status.

refactor min/max constraints (1396)

Description of change

Bringing back min constraint in the integrator to allow accumulating
negative values and capping them with min constraint.

In addition, changing the min/max constraints to be stateful such that
they are reset along with the sum.

![Screenshot from 2023-02-19
18-27-09](https://user-images.githubusercontent.com/18579817/219995624-3cc1dc56-9630-469d-a270-18db45030246.png)

Policy: Rename components and ports for clarity (1384)

Co-authored-by: Harjot Gill <harjot.gillfluxninja.com>

aperturectl: validate values and generated policies in generate command (1392)


integrator: max inport should be optional (1393)


aimd concurrency limiter: use integrator component (1387)


aimd_concurrency_limiter: use load multiplier as control variable (1385)


Backward compatibility for generating values file in aperturectl (1380)


config: disallow unknown fields (1378)

Description of change

Listener config was getting the in the way of stricter decoding. Had to
refactor config key for the listener.

<img width="1377" alt="Screenshot 2023-02-16 at 8 39 59 PM"
src="https://user-images.githubusercontent.com/18579817/219550932-cf834030-fd03-4187-8d00-ea4d52cff0f3.png">

blueprints: move generated assets to subdirectories (1377)

Description of change

Cleaned up blueprints dirs by moving generated assets to a separate
subdirectory.

Reduce alert resolve timeout (1375)

Rationale behind this change is that alerts should be emitted repeatedly through the whole event they are alerting on. Each occurrence of an alert "cancels" the previous alert resolve timeout. Having long resolve time (300 seconds) may be misleading for a single event.

Fix handling of EDITOR and VISUAL environment variables with spaces (1376)

Only EDITOR variable was checked, and it was assumed that the value is just a command to be executed,
but it can be both command and its arguments (e.g. `EDITOR="emacsclient -c"`. This commit adds support
for that, as well as support for VISUAL environment variable.

Avoid data race in cache.GetAll (1373)

GetAll returned the same map as cache uses internally. This map can then
be accessed by GetAll's caller without any synchronization, risking a
data race with Put. To avoid the race, a copy is made and returned.

blueprints: add jsonschema for blueprints (1371)


Support nested components in graph converter (1344)


Add option to skip building plugins in playground (1360)


Update OTEL to v0.71.0 (1343)

This updates OpenTelemetry Collector, FN fork of it and contrib packages to latest released version, which is v0.71.0

spec: change the naming strategy (1355)


Allow additional options to GRPC server (1354)

This adds a way to add additional GRPC Server options with FX without the need to modify platform code. This should be useful when adding custom interceptors to the main platform GRPC server.


[changes]: https://github.com/fluxninja/aperture/compare/releases/aperture-controller/v0.23.0...releases/aperture-controller/v0.24.0

0.24.0rc.4

Changelog

List of aperture PRs merged since 0.23.0 release. For the full list of changes, see [list of changes][changes]

Properly handle request to v1/status root (1400)

Handle requests to root path of v1/status.

refactor min/max constraints (1396)

Description of change

Bringing back min constraint in the integrator to allow accumulating
negative values and capping them with min constraint.

In addition, changing the min/max constraints to be stateful such that
they are reset along with the sum.

![Screenshot from 2023-02-19
18-27-09](https://user-images.githubusercontent.com/18579817/219995624-3cc1dc56-9630-469d-a270-18db45030246.png)

Policy: Rename components and ports for clarity (1384)

Co-authored-by: Harjot Gill <harjot.gillfluxninja.com>

aperturectl: validate values and generated policies in generate command (1392)


integrator: max inport should be optional (1393)


aimd concurrency limiter: use integrator component (1387)


aimd_concurrency_limiter: use load multiplier as control variable (1385)


Backward compatibility for generating values file in aperturectl (1380)


config: disallow unknown fields (1378)

Description of change

Listener config was getting the in the way of stricter decoding. Had to
refactor config key for the listener.

<img width="1377" alt="Screenshot 2023-02-16 at 8 39 59 PM"
src="https://user-images.githubusercontent.com/18579817/219550932-cf834030-fd03-4187-8d00-ea4d52cff0f3.png">

blueprints: move generated assets to subdirectories (1377)

Description of change

Cleaned up blueprints dirs by moving generated assets to a separate
subdirectory.

Reduce alert resolve timeout (1375)

Rationale behind this change is that alerts should be emitted repeatedly through the whole event they are alerting on. Each occurrence of an alert "cancels" the previous alert resolve timeout. Having long resolve time (300 seconds) may be misleading for a single event.

Fix handling of EDITOR and VISUAL environment variables with spaces (1376)

Only EDITOR variable was checked, and it was assumed that the value is just a command to be executed,
but it can be both command and its arguments (e.g. `EDITOR="emacsclient -c"`. This commit adds support
for that, as well as support for VISUAL environment variable.

Avoid data race in cache.GetAll (1373)

GetAll returned the same map as cache uses internally. This map can then
be accessed by GetAll's caller without any synchronization, risking a
data race with Put. To avoid the race, a copy is made and returned.

blueprints: add jsonschema for blueprints (1371)


Support nested components in graph converter (1344)


Add option to skip building plugins in playground (1360)


Update OTEL to v0.71.0 (1343)

This updates OpenTelemetry Collector, FN fork of it and contrib packages to latest released version, which is v0.71.0

spec: change the naming strategy (1355)


Allow additional options to GRPC server (1354)

This adds a way to add additional GRPC Server options with FX without the need to modify platform code. This should be useful when adding custom interceptors to the main platform GRPC server.


[changes]: https://github.com/fluxninja/aperture/compare/releases/aperture-controller/v0.23.0...releases/aperture-controller/v0.24.0-rc.4

0.24.0rc.3

Changelog

List of aperture PRs merged since 0.23.0 release. For the full list of changes, see [list of changes][changes]

Properly handle request to v1/status root (1400)

Handle requests to root path of v1/status.

refactor min/max constraints (1396)

Description of change

Bringing back min constraint in the integrator to allow accumulating
negative values and capping them with min constraint.

In addition, changing the min/max constraints to be stateful such that
they are reset along with the sum.

![Screenshot from 2023-02-19
18-27-09](https://user-images.githubusercontent.com/18579817/219995624-3cc1dc56-9630-469d-a270-18db45030246.png)

Policy: Rename components and ports for clarity (1384)

Co-authored-by: Harjot Gill <harjot.gillfluxninja.com>

aperturectl: validate values and generated policies in generate command (1392)


integrator: max inport should be optional (1393)


aimd concurrency limiter: use integrator component (1387)


aimd_concurrency_limiter: use load multiplier as control variable (1385)


Backward compatibility for generating values file in aperturectl (1380)


config: disallow unknown fields (1378)

Description of change

Listener config was getting the in the way of stricter decoding. Had to
refactor config key for the listener.

<img width="1377" alt="Screenshot 2023-02-16 at 8 39 59 PM"
src="https://user-images.githubusercontent.com/18579817/219550932-cf834030-fd03-4187-8d00-ea4d52cff0f3.png">

blueprints: move generated assets to subdirectories (1377)

Description of change

Cleaned up blueprints dirs by moving generated assets to a separate
subdirectory.

Reduce alert resolve timeout (1375)

Rationale behind this change is that alerts should be emitted repeatedly through the whole event they are alerting on. Each occurrence of an alert "cancels" the previous alert resolve timeout. Having long resolve time (300 seconds) may be misleading for a single event.

Fix handling of EDITOR and VISUAL environment variables with spaces (1376)

Only EDITOR variable was checked, and it was assumed that the value is just a command to be executed,
but it can be both command and its arguments (e.g. `EDITOR="emacsclient -c"`. This commit adds support
for that, as well as support for VISUAL environment variable.

Avoid data race in cache.GetAll (1373)

GetAll returned the same map as cache uses internally. This map can then
be accessed by GetAll's caller without any synchronization, risking a
data race with Put. To avoid the race, a copy is made and returned.

blueprints: add jsonschema for blueprints (1371)


Support nested components in graph converter (1344)


Add option to skip building plugins in playground (1360)


Update OTEL to v0.71.0 (1343)

This updates OpenTelemetry Collector, FN fork of it and contrib packages to latest released version, which is v0.71.0

spec: change the naming strategy (1355)


Allow additional options to GRPC server (1354)

This adds a way to add additional GRPC Server options with FX without the need to modify platform code. This should be useful when adding custom interceptors to the main platform GRPC server.


[changes]: https://github.com/fluxninja/aperture/compare/releases/aperture-controller/v0.23.0...releases/aperture-controller/v0.24.0-rc.3

0.24.0rc.2

Changelog

List of aperture PRs merged since 0.23.0 release. For the full list of changes, see [list of changes][changes]

Properly handle request to v1/status root (1400)

Handle requests to root path of v1/status.

refactor min/max constraints (1396)

Description of change

Bringing back min constraint in the integrator to allow accumulating
negative values and capping them with min constraint.

In addition, changing the min/max constraints to be stateful such that
they are reset along with the sum.

![Screenshot from 2023-02-19
18-27-09](https://user-images.githubusercontent.com/18579817/219995624-3cc1dc56-9630-469d-a270-18db45030246.png)

Policy: Rename components and ports for clarity (1384)

Co-authored-by: Harjot Gill <harjot.gillfluxninja.com>

aperturectl: validate values and generated policies in generate command (1392)


integrator: max inport should be optional (1393)


aimd concurrency limiter: use integrator component (1387)


aimd_concurrency_limiter: use load multiplier as control variable (1385)


Backward compatibility for generating values file in aperturectl (1380)


config: disallow unknown fields (1378)

Description of change

Listener config was getting the in the way of stricter decoding. Had to
refactor config key for the listener.

<img width="1377" alt="Screenshot 2023-02-16 at 8 39 59 PM"
src="https://user-images.githubusercontent.com/18579817/219550932-cf834030-fd03-4187-8d00-ea4d52cff0f3.png">

blueprints: move generated assets to subdirectories (1377)

Description of change

Cleaned up blueprints dirs by moving generated assets to a separate
subdirectory.

Reduce alert resolve timeout (1375)

Rationale behind this change is that alerts should be emitted repeatedly through the whole event they are alerting on. Each occurrence of an alert "cancels" the previous alert resolve timeout. Having long resolve time (300 seconds) may be misleading for a single event.

Fix handling of EDITOR and VISUAL environment variables with spaces (1376)

Only EDITOR variable was checked, and it was assumed that the value is just a command to be executed,
but it can be both command and its arguments (e.g. `EDITOR="emacsclient -c"`. This commit adds support
for that, as well as support for VISUAL environment variable.

Avoid data race in cache.GetAll (1373)

GetAll returned the same map as cache uses internally. This map can then
be accessed by GetAll's caller without any synchronization, risking a
data race with Put. To avoid the race, a copy is made and returned.

blueprints: add jsonschema for blueprints (1371)


Support nested components in graph converter (1344)


Add option to skip building plugins in playground (1360)


Update OTEL to v0.71.0 (1343)

This updates OpenTelemetry Collector, FN fork of it and contrib packages to latest released version, which is v0.71.0

spec: change the naming strategy (1355)


Allow additional options to GRPC server (1354)

This adds a way to add additional GRPC Server options with FX without the need to modify platform code. This should be useful when adding custom interceptors to the main platform GRPC server.


[changes]: https://github.com/fluxninja/aperture/compare/releases/aperture-controller/v0.23.0...releases/aperture-controller/v0.24.0-rc.2

0.24.0rc.1

Changelog

List of aperture PRs merged since 0.23.0 release. For the full list of changes, see [list of changes][changes]

Backward compatibility for generating values file in aperturectl (1380)


config: disallow unknown fields (1378)

Description of change

Listener config was getting the in the way of stricter decoding. Had to
refactor config key for the listener.

<img width="1377" alt="Screenshot 2023-02-16 at 8 39 59 PM"
src="https://user-images.githubusercontent.com/18579817/219550932-cf834030-fd03-4187-8d00-ea4d52cff0f3.png">

blueprints: move generated assets to subdirectories (1377)

Description of change

Cleaned up blueprints dirs by moving generated assets to a separate
subdirectory.

Reduce alert resolve timeout (1375)

Rationale behind this change is that alerts should be emitted repeatedly through the whole event they are alerting on. Each occurrence of an alert "cancels" the previous alert resolve timeout. Having long resolve time (300 seconds) may be misleading for a single event.

Fix handling of EDITOR and VISUAL environment variables with spaces (1376)

Only EDITOR variable was checked, and it was assumed that the value is just a command to be executed,
but it can be both command and its arguments (e.g. `EDITOR="emacsclient -c"`. This commit adds support
for that, as well as support for VISUAL environment variable.

Avoid data race in cache.GetAll (1373)

GetAll returned the same map as cache uses internally. This map can then
be accessed by GetAll's caller without any synchronization, risking a
data race with Put. To avoid the race, a copy is made and returned.

blueprints: add jsonschema for blueprints (1371)


Support nested components in graph converter (1344)


Add option to skip building plugins in playground (1360)


Update OTEL to v0.71.0 (1343)

This updates OpenTelemetry Collector, FN fork of it and contrib packages to latest released version, which is v0.71.0

spec: change the naming strategy (1355)


Allow additional options to GRPC server (1354)

This adds a way to add additional GRPC Server options with FX without the need to modify platform code. This should be useful when adding custom interceptors to the main platform GRPC server.


[changes]: https://github.com/fluxninja/aperture/compare/releases/aperture-controller/v0.23.0...releases/aperture-controller/v0.24.0-rc.1

0.23.0

Changelog

List of aperture PRs merged since 0.22.0 release. For the full list of changes, see [list of changes][changes]

Propagate `instance` in user defined metrics (1350)

This label is required to avoid metrics with same set of labels and timestamp to be pushed to FluxNinja ARC. It causes errors in the metrics backend.

YAML language server jsonschema for policies (1348)



blueprints: fix indentation in values.yaml generator (1347)


Replace all - with _ in alerts label keys (1334)

AlertManager does not accept label names that contain "-".

APIs for Control Points exploration (1320)

Description of change
- Add `/v1/autoscale/kubernetes/controlpoints` endpoint
- Add `/v1/flowcontrol/controlpoints` endpoint
- Move `/v1/entities` -> `/v1/flowcontrol/entities`, move the protobuf
files under `flowcontrol` package as well

Add `service.name` label to custom metrics (1341)

All metrics coming from Prometheus like scrapers have service.name label. This adds such label to kubelet metrics, which are not gathered by Prometheus like scraper. This allows better metrics handing in FluxNinja ARC.

Fixed nil pointer panic in aperturectl generate (1340)

Description of change

We were getting some nil pointer panics in `aperturectl generate
--apply` due to recent changes in `aperturectl apply` command so fixed
that and re-added the TUI which was removed during the same change.

refactor dynamic config in blueprints (1330)


Add `policy` and `dynamic-config` sub-commands to `aperturectl apply` (1309)


Fixed same job name issue for promql (1331)

Description of change

Fixed the job name issue when 2 policies with promql are started.


![image](https://user-images.githubusercontent.com/34568645/217750002-6bc34a8c-fa0e-4c9f-ae82-3922217dca0f.png)

Improved error handling for aperturectl install/uninstall (1329)

Description of change

Improved error handling for `aperturectl install` and `aperturectl
uninstall` to not throw the error per resource failure but collect them
and print at the end.

Remove built-in alerter in LoadActuator, create as normal component (1325)

Nested component AIMD Concurrency Controller will now have an alerter and helper decider as separate components.

Added TUI for aperturectl blueprints generate and values commands (1305)

Description of change

Added support for opening the generated values file in default terminal
editor and listing the generated policy to select which one to apply.

[Screencast from 06-02-23 05:04:03 PM
IST.webm](https://user-images.githubusercontent.com/34568645/216961715-8a638f5f-2958-4aeb-ba98-df361e9f4103.webm)

Added support for installation and uninstallation of aperture in aperturectl (1318)

Description of change

Added support for installation for Agent and Controller via the
Aperturectl so that user don't need to install helm.
Example:

aperturectl install controller --values-file=controller-values.yaml
aperturectl install agent --values-file=agent-values.yaml
aperturectl install istioconfig --namespace istio-system

aperturectl uninstall controller
aperturectl uninstall agent
aperturectl uninstall istioconfig


Remove not necessary operator build dependencies

Agent and Controller specific config structs are now moved to separate packages. This allows operator to depend only on those packages, without the need to build not necessary OTEL stuff. This also allows to drop extra ld flags from all operator related builds required for proper building of OTEL deps.

Added validate policy annotation for apply via aperturectl (1307)

Description of change

Added the policy validate annotations for policies getting applied via
aperturectl

[changes]: https://github.com/fluxninja/aperture/compare/releases/aperture-controller/v0.22.0...releases/aperture-controller/v0.23.0

Page 37 of 53

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.