Aperture-py

Latest version: v2.26.0

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

Scan your dependencies

Page 35 of 53

0.26.1

Changelog

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

Report Flow Control Points by all Agents (1543)

Agents know only about Control Points present on their Nodes, so all of them need to report CPs to FN ARC instead of only Agent Leader doing so.

Reduce metrics batching time (1542)

Scrape interval for metrics sent to FN ARC is 10 seconds. Having batching set at the same value (10 seconds) may lead to two data points for the same metrics sent in the same batch and thus rejected.

Set FN exporter `num_consumers` to 1 (1536)

Having more than one queue consumer lead to metrics batches being sent out of order and thus being rejected by FN ARC.

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

0.26.1rc.1

Changelog

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

Report Flow Control Points by all Agents (1543)

Agents know only about Control Points present on their Nodes, so all of them need to report CPs to FN ARC instead of only Agent Leader doing so.

Reduce metrics batching time (1542)

Scrape interval for metrics sent to FN ARC is 10 seconds. Having batching set at the same value (10 seconds) may lead to two data points for the same metrics sent in the same batch and thus rejected.

Set FN exporter `num_consumers` to 1 (1536)

Having more than one queue consumer lead to metrics batches being sent out of order and thus being rejected by FN ARC.

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

0.26.0

Changelog

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

Make heartbeats.proto compatible with v0.25.0 again (1524)

Description of change

* Revert to use repeated field directly.
* Reorder fields in FlowControlPoint to match 0.25's
ServiceControlPoint. (Shis in theory breaks FlowControlPoint
introspection
API, but it's just introspection api and field ordering doesn't matter
there
anyway).

This should make changes introduced in 1519 non-breaking, so that new
agent-service can support 0.25 agents.

Will need followup PR in cloud.

autoscale: move control points code to pkg (1520)


refactor discovery APIs (1519)


platform: refactor notifiers a bit (1518)


Move entitycache data model outside of flowcontrol (1515)

Informer (1508)


docs: add horizontal rule to generator (1512)


Remove synchronous service lookup being done in `updateMappingFromEndpoints` (1507)


Replace cenkalti/backoff with cenkalti/backoff/v4 (1498)

Description of change
- Replace cenkalti/backoff with cenkalti/backoff/v4
- Fix operator test

Fixed the issue of aperturectl not re-pulling for main (1501)


Add simple epoch-based expiry to cache.Cache (1504)

Right now, the period is hardcoded to 30s (so effective expiry is 30s–1m).

Add missing `process_uuid` label to custom metrics (1502)

Without this label, there could be duplicate metrics when container restarts.

docs: update concepts (1496)


Robust scale actuation (1472)

Description of change
* Wait for previous scale operation to cancel before starting a new one
* Retry scale operation with backoff

Robust scale fetching (1471)

Description of change
* Use Streams from
[`sourcegraph/conc`](https://github.com/sourcegraph/conc) to ensure
ordering of scale fetch operation
* Perform scale fetch under backoff retry
* Fix bug where incorrect context was being used in fetch call

Autoscale scenario tuning (1465)

Description of change
* Tune autoscale scenario.
* Fix incorrect defaults for max scale in vs scale out percentage. Also,
renamed these parameters for better readability.

Update YAML Example in Policy API (1423)

Fix config with missing agent_functions.endpoints not applying (1463)

Should fix the following error (introduced by 1418), which occurs when
`agent_functions` is not set in `agents`.

Agent.fluxninja.com "agent" is invalid:
spec.config.agent_functions.endpoints: Invalid value: "null":
spec.config.agent_functions.endpoints in body must be of type array:
"null". Retrying attempt 5 at 1:57PM.


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

0.26.0rc.2

Changelog

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

Make heartbeats.proto compatible with v0.25.0 again (1524)

Description of change

* Revert to use repeated field directly.
* Reorder fields in FlowControlPoint to match 0.25's
ServiceControlPoint. (Shis in theory breaks FlowControlPoint
introspection
API, but it's just introspection api and field ordering doesn't matter
there
anyway).

This should make changes introduced in 1519 non-breaking, so that new
agent-service can support 0.25 agents.

Will need followup PR in cloud.

autoscale: move control points code to pkg (1520)


refactor discovery APIs (1519)


platform: refactor notifiers a bit (1518)


Move entitycache data model outside of flowcontrol (1515)

Informer (1508)


docs: add horizontal rule to generator (1512)


Remove synchronous service lookup being done in `updateMappingFromEndpoints` (1507)


Replace cenkalti/backoff with cenkalti/backoff/v4 (1498)

Description of change
- Replace cenkalti/backoff with cenkalti/backoff/v4
- Fix operator test

Fixed the issue of aperturectl not re-pulling for main (1501)


Add simple epoch-based expiry to cache.Cache (1504)

Right now, the period is hardcoded to 30s (so effective expiry is 30s–1m).

Add missing `process_uuid` label to custom metrics (1502)

Without this label, there could be duplicate metrics when container restarts.

docs: update concepts (1496)


Robust scale actuation (1472)

Description of change
* Wait for previous scale operation to cancel before starting a new one
* Retry scale operation with backoff

Robust scale fetching (1471)

Description of change
* Use Streams from
[`sourcegraph/conc`](https://github.com/sourcegraph/conc) to ensure
ordering of scale fetch operation
* Perform scale fetch under backoff retry
* Fix bug where incorrect context was being used in fetch call

Autoscale scenario tuning (1465)

Description of change
* Tune autoscale scenario.
* Fix incorrect defaults for max scale in vs scale out percentage. Also,
renamed these parameters for better readability.

Update YAML Example in Policy API (1423)

Fix config with missing agent_functions.endpoints not applying (1463)

Should fix the following error (introduced by 1418), which occurs when
`agent_functions` is not set in `agents`.

Agent.fluxninja.com "agent" is invalid:
spec.config.agent_functions.endpoints: Invalid value: "null":
spec.config.agent_functions.endpoints in body must be of type array:
"null". Retrying attempt 5 at 1:57PM.


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

0.26.0rc.1

Changelog

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

docs: add horizontal rule to generator (1512)


Remove synchronous service lookup being done in `updateMappingFromEndpoints` (1507)

Replace cenkalti/backoff with cenkalti/backoff/v4 (1498)

Description of change
- Replace cenkalti/backoff with cenkalti/backoff/v4
- Fix operator test

Fixed the issue of aperturectl not re-pulling for main (1501)


Add simple epoch-based expiry to cache.Cache (1504)

Right now, the period is hardcoded to 30s (so effective expiry is 30s–1m).

Add missing `process_uuid` label to custom metrics (1502)

Without this label, there could be duplicate metrics when container restarts.

docs: update concepts (1496)


Robust scale actuation (1472)

Description of change
* Wait for previous scale operation to cancel before starting a new one
* Retry scale operation with backoff

Robust scale fetching (1471)

Description of change
* Use Streams from
[`sourcegraph/conc`](https://github.com/sourcegraph/conc) to ensure
ordering of scale fetch operation
* Perform scale fetch under backoff retry
* Fix bug where incorrect context was being used in fetch call

fix signals dashboard generator (1469)


docs: update aperture docs (1466)


Autoscale scenario tuning (1465)

Description of change
* Tune autoscale scenario.
* Fix incorrect defaults for max scale in vs scale out percentage. Also,
renamed these parameters for better readability.

Update YAML Example in Policy API (1423)

Fix config with missing agent_functions.endpoints not applying (1463)

Should fix the following error (introduced by 1418), which occurs when
`agent_functions` is not set in `agents`.

Agent.fluxninja.com "agent" is invalid:
spec.config.agent_functions.endpoints: Invalid value: "null":
spec.config.agent_functions.endpoints in body must be of type array:
"null". Retrying attempt 5 at 1:57PM.


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

0.25.2

Changelog

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

Remove synchronous service lookup being done in `updateMappingFromEndpoints` (1507)

Description of change

Checklist

- [x] Tested in playground or other setup
- [x] Screenshot (Grafana) from playground added to PR for 15+ minute
run
- [ ] Documentation is changed or added
- [ ] Tests and/or benchmarks are included
- [ ] Breaking changes

<!-- Reviewable:start -->
- - -
This change is [<img src="https://reviewable.io/review_button.svg"
height="34" align="absmiddle"
alt="Reviewable"/>](https://reviewable.io/reviews/fluxninja/aperture/1507)
<!-- Reviewable:end -->

Replace cenkalti/backoff with cenkalti/backoff/v4 (1498)

Description of change
- Replace cenkalti/backoff with cenkalti/backoff/v4
- Fix operator test

Checklist

- [ ] Tested in playground or other setup
- [ ] Screenshot (Grafana) from playground added to PR for 15+ minute
run
- [ ] Documentation is changed or added
- [ ] Tests and/or benchmarks are included
- [ ] Breaking changes

<!-- Reviewable:start -->
- - -
This change is [<img src="https://reviewable.io/review_button.svg"
height="34" align="absmiddle"
alt="Reviewable"/>](https://reviewable.io/reviews/fluxninja/aperture/1498)
<!-- Reviewable:end -->

Fixed the issue of aperturectl not re-pulling for main (1501)


Add simple epoch-based expiry to cache.Cache (1504)

Right now, the period is hardcoded to 30s (so effective expiry is 30s–1m).

Add missing `process_uuid` label to custom metrics (1502)

Without this label, there could be duplicate metrics when container restarts.

docs: update concepts (1496)



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

Page 35 of 53

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.