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 38 of 53

0.23.0rc.2

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-rc.2

0.23.0rc.1

Changelog

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

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.

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-rc.1

0.22.0

Changelog

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

Explicit Catch All Service (1292)

Description of change
* Catch all service is denoted by explicit string 'all' instead of empty
string.
* Removed dedicated label and http preview routes for catch all service.
* Service string is now a required parameter in ServiceSelector. Making
Service a required field should other tooling around Aperture including
aperturectl.
* Expand Selector fields in blueprints. Mark Service and Control Points
as required fields.

blueprints: update getting-started (1291)


blueprints: also maintain values_required.yaml (1289)


autogenerate blueprint value samples (1288)


Refactor aperturectl (1285)

Co-authored-by: Harjot Gill <harjot.gillfluxninja.com>
Co-authored-by: Hardik Shingala <hardik.shingalafluxninja.com>

Use generic command in build.sh for linux and macos (1287)

Description of change

The options which we were using to get the rfc-3339 date format with
`date` command was not valid so I have updated it with a generic command
compatible on both OS.

docs: reorg aperturectl gen docs (1284


Handle crash when providing incorrect status path (1282)

Status path requires key-value pairs, return 404 when user is providing incorrect path.

Get back to Go 1.19 (1281)

Until we figure out how to properly build plugins, we need to stick to go 1.19.

Fix watchdog job name and harness tests (1276)

Handle situation where we don't have local prometheus running.

Moved generated CLI docs under reference section (1279)

Description of change

Moved the generated `aperturectl` docs under `reference` from
`get-started`.

Resolve latest blueprints version to latest stable release (1263)

When `latest` is used as a version for blueprints, resolve it to
the latest stable version and fetch it instead.

Updated installation steps for CLI (1278)


Add aperturectl packaging (1271)

This also made packaging process more generic, in case we want to
package other binaries like controller.

Minor changes in format and wordings (1275)


Update policies page in Getting Started and aperturectl docs (1269)

Co-authored-by: Harjot Gill <harjot.gillfluxninja.com>
Co-authored-by: Hardik Shingala <hardik.shingalafluxninja.com>

Separate main binary and plugin caches (1272)

This prevents overwriting each others caches when both main binary and plugin binaries are build at the same time.

Added support for applying policy on Kubernetes conditionally via aperturectl and use of custom blueprints (1264)

Description of change

Added below support in `aperturectl`:

- User can pass `--apply` flag which will apply all the valid policies
generated on Kubernetes
- User can pass `--custom-blueprints-path` using which they can provide
any other blueprints than the ones which we pulled.

Fix race condition when returning extra tokens (1268)


docs: move policy config reference into policies category (1267)


Add Control Point Type to OLAP telemetry (1213)

Adding label "aperture.control_point_type" with values "feature" and "http" for sdk/envoy respectively.

Create children in status registry with key-value pairs (1257)

Adds provided KV as labels to alerts.

Add missing root certs to images (1266

Newly used `debian-slim` images do not have root certs installed by
default.

Drive-by: Fix lint error from new linter.

Bump Golang to 1.20 (1260

This bumps Golang to the latest 1.20 version.

Also, it unifies all Docker builder images to `golang:1.20-bullseye` and
final images from `alpine` to `debian:bullseye-slim` (except for
operator, as it is recommended to use `distroless` there). This should
remove any `glibc` and `musl` compatibility issues.

Add `aperturectl` CLI tool (1217)

Description of change
- Add root, compile, version commands
- Add relevant flags to compile command
- Replace usage of `circuit-compiler` to the new `aperturectl`

---------

Co-authored-by: Hardik Shingala <hardik.shingalafluxninja.com>

Add alerter to status registry (1226)

On each status registry error it will now generate an alert.

Update K8s attr processor config (1254

Previously we've used deprecated config format (which is shown in the
processor docs).

Do not overwrite OTEL extensions in FN plugin (1252

This prevents overwriting extensions configured in base OTEL config,
with the configuration in FN plugin.

Collect basic kubelet metrics (1227

This adds a default user defined OTEL metrics pipeline, which collects
basic kubelet metrics:
* `k8s.pod.cpu.utilization`
* `k8s.pod.memory.available`
* `k8s.pod.memory.usage`
* `k8s.pod.memory.working_set`

It also adds the following labels (if applicable):
* `k8s.daemonset.name`
* `k8s.cronjob.name`
* `k8s.deployment.name`
* `k8s.job.name`
* `k8s.namespace.name`
* `k8s.node.name`
* `k8s.pod.name`
* `k8s.pod.uid`
* `k8s.replicaset.name`
* `k8s.statefulset.name`

aimd controller: change how we detect overload based on slope parameter (1250)


Remove grpc validator interceptor. (1230)

It was causing slowdown on datapath APIs.
Validator is now manually invoked on live-preview APIs.

Drive-by: Simplify SetDefaults a bit.

Revamp concurrency units (1188)

Change scheduler's concurrency metrics to "work-seconds".
New metrics are: incoming_work_seconds_total &
accepted_work_seconds_total.
Work-seconds are measuring work based on latency of flows. (One request
with 1s latency is 1 work-second).

This also redefines meaning of accepted_concurrency signal to be
unitless value measuring concurrency (mean number of in-flight flows).
Similarly for incoming_concurrency.

Allow providing arbitrary Labels in alerter (1225)

Allows creating an alerter with KV labels map.

Add custom metrics to Agent's OTEL (1222)

This introduces ability to gather any user defined metrics using OTEL
receivers and processors. Those metrics would be automatically pushed to
the Controller Prometheus. This should be useful when creating policies
which require some specific metric not gathered by builtin metrics
gatherers.

Move OTEL specific config to `cmd/{agent,controller}` (1215)

This is another round of OTEL code cleanup. It is focused on only keeping common OTEL configs in pkg/otelcollector and moving Agent/Controller specific configuration to cmd/aperture-{agent,controller}.

Add `decision_type` label to `workload_requests_total` and `rate_limiter_counter` (1203)


Simplify circuit unit-tests by avoiding SignalID (1212)

Circuit sim is doing blackbox-testing of components, thus all signal it
cares about are root-signals. Therefore, signal names in tests can be
just strings (internally translated to root SignalIDs). This make
circuit sim-based tests less verbose.


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

0.22.0rc.2

Changelog

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

Explicit Catch All Service (1292)

Description of change
* Catch all service is denoted by explicit string 'all' instead of empty
string.
* Removed dedicated label and http preview routes for catch all service.
* Service string is now a required parameter in ServiceSelector. Making
Service a required field should other tooling around Aperture including
aperturectl.
* Expand Selector fields in blueprints. Mark Service and Control Points
as required fields.

blueprints: update getting-started (1291)


blueprints: also maintain values_required.yaml (1289)


autogenerate blueprint value samples (1288)


Refactor aperturectl (1285)

Co-authored-by: Harjot Gill <harjot.gillfluxninja.com>
Co-authored-by: Hardik Shingala <hardik.shingalafluxninja.com>

Use generic command in build.sh for linux and macos (1287)

Description of change

The options which we were using to get the rfc-3339 date format with
`date` command was not valid so I have updated it with a generic command
compatible on both OS.

docs: reorg aperturectl gen docs (1284


Handle crash when providing incorrect status path (1282)

Status path requires key-value pairs, return 404 when user is providing incorrect path.

Get back to Go 1.19 (1281)

Until we figure out how to properly build plugins, we need to stick to go 1.19.

Fix watchdog job name and harness tests (1276)

Handle situation where we don't have local prometheus running.

Moved generated CLI docs under reference section (1279)

Description of change

Moved the generated `aperturectl` docs under `reference` from
`get-started`.

Resolve latest blueprints version to latest stable release (1263)

When `latest` is used as a version for blueprints, resolve it to
the latest stable version and fetch it instead.

Updated installation steps for CLI (1278)


Add aperturectl packaging (1271)

This also made packaging process more generic, in case we want to
package other binaries like controller.

Minor changes in format and wordings (1275)


Update policies page in Getting Started and aperturectl docs (1269)

Co-authored-by: Harjot Gill <harjot.gillfluxninja.com>
Co-authored-by: Hardik Shingala <hardik.shingalafluxninja.com>

Separate main binary and plugin caches (1272)

This prevents overwriting each others caches when both main binary and plugin binaries are build at the same time.

Added support for applying policy on Kubernetes conditionally via aperturectl and use of custom blueprints (1264)

Description of change

Added below support in `aperturectl`:

- User can pass `--apply` flag which will apply all the valid policies
generated on Kubernetes
- User can pass `--custom-blueprints-path` using which they can provide
any other blueprints than the ones which we pulled.

Fix race condition when returning extra tokens (1268)


docs: move policy config reference into policies category (1267)


Add Control Point Type to OLAP telemetry (1213)

Adding label "aperture.control_point_type" with values "feature" and "http" for sdk/envoy respectively.

Create children in status registry with key-value pairs (1257)

Adds provided KV as labels to alerts.

Add missing root certs to images (1266

Newly used `debian-slim` images do not have root certs installed by
default.

Drive-by: Fix lint error from new linter.

Bump Golang to 1.20 (1260

This bumps Golang to the latest 1.20 version.

Also, it unifies all Docker builder images to `golang:1.20-bullseye` and
final images from `alpine` to `debian:bullseye-slim` (except for
operator, as it is recommended to use `distroless` there). This should
remove any `glibc` and `musl` compatibility issues.

Add `aperturectl` CLI tool (1217)

Description of change
- Add root, compile, version commands
- Add relevant flags to compile command
- Replace usage of `circuit-compiler` to the new `aperturectl`

---------

Co-authored-by: Hardik Shingala <hardik.shingalafluxninja.com>

Add alerter to status registry (1226)

On each status registry error it will now generate an alert.

Update K8s attr processor config (1254

Previously we've used deprecated config format (which is shown in the
processor docs).

Do not overwrite OTEL extensions in FN plugin (1252

This prevents overwriting extensions configured in base OTEL config,
with the configuration in FN plugin.

Collect basic kubelet metrics (1227

This adds a default user defined OTEL metrics pipeline, which collects
basic kubelet metrics:
* `k8s.pod.cpu.utilization`
* `k8s.pod.memory.available`
* `k8s.pod.memory.usage`
* `k8s.pod.memory.working_set`

It also adds the following labels (if applicable):
* `k8s.daemonset.name`
* `k8s.cronjob.name`
* `k8s.deployment.name`
* `k8s.job.name`
* `k8s.namespace.name`
* `k8s.node.name`
* `k8s.pod.name`
* `k8s.pod.uid`
* `k8s.replicaset.name`
* `k8s.statefulset.name`

aimd controller: change how we detect overload based on slope parameter (1250)


Remove grpc validator interceptor. (1230)

It was causing slowdown on datapath APIs.
Validator is now manually invoked on live-preview APIs.

Drive-by: Simplify SetDefaults a bit.

Revamp concurrency units (1188)

Change scheduler's concurrency metrics to "work-seconds".
New metrics are: incoming_work_seconds_total &
accepted_work_seconds_total.
Work-seconds are measuring work based on latency of flows. (One request
with 1s latency is 1 work-second).

This also redefines meaning of accepted_concurrency signal to be
unitless value measuring concurrency (mean number of in-flight flows).
Similarly for incoming_concurrency.

Allow providing arbitrary Labels in alerter (1225)

Allows creating an alerter with KV labels map.

Add custom metrics to Agent's OTEL (1222)

This introduces ability to gather any user defined metrics using OTEL
receivers and processors. Those metrics would be automatically pushed to
the Controller Prometheus. This should be useful when creating policies
which require some specific metric not gathered by builtin metrics
gatherers.

Move OTEL specific config to `cmd/{agent,controller}` (1215)

This is another round of OTEL code cleanup. It is focused on only keeping common OTEL configs in pkg/otelcollector and moving Agent/Controller specific configuration to cmd/aperture-{agent,controller}.

Add `decision_type` label to `workload_requests_total` and `rate_limiter_counter` (1203)


Simplify circuit unit-tests by avoiding SignalID (1212)

Circuit sim is doing blackbox-testing of components, thus all signal it
cares about are root-signals. Therefore, signal names in tests can be
just strings (internally translated to root SignalIDs). This make
circuit sim-based tests less verbose.


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

0.22.0rc.1

Changelog

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

Get back to Go 1.19 (1281)

Until we figure out how to properly build plugins, we need to stick to go 1.19.

Fix watchdog job name and harness tests (1276)

Handle situation where we don't have local prometheus running.

Moved generated CLI docs under reference section (1279)

Description of change

Moved the generated `aperturectl` docs under `reference` from
`get-started`.

Resolve latest blueprints version to latest stable release (1263)

When `latest` is used as a version for blueprints, resolve it to
the latest stable version and fetch it instead.

<!-- 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/1263)
<!-- Reviewable:end -->

Updated installation steps for CLI (1278)


Add aperturectl packaging (1271)

This also made packaging process more generic, in case we want to
package other binaries like controller.

Minor changes in format and wordings (1275)


Update policies page in Getting Started and aperturectl docs (1269)

Co-authored-by: Harjot Gill <harjot.gillfluxninja.com>
Co-authored-by: Hardik Shingala <hardik.shingalafluxninja.com>

Separate main binary and plugin caches (1272)

This prevents overwriting each others caches when both main binary and plugin binaries are build at the same time.

Added support for applying policy on Kubernetes conditionally via aperturectl and use of custom blueprints (1264)

Description of change

Added below support in `aperturectl`:

- User can pass `--apply` flag which will apply all the valid policies
generated on Kubernetes
- User can pass `--custom-blueprints-path` using which they can provide
any other blueprints than the ones which we pulled.

Fix race condition when returning extra tokens (1268)

Description of change

Checklist

- [x] 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/1268)
<!-- Reviewable:end -->

docs: move policy config reference into policies category (1267)


Add Control Point Type to OLAP telemetry (1213)

Adding label "aperture.control_point_type" with values "feature" and "http" for sdk/envoy respectively.

Create children in status registry with key-value pairs (1257)

Adds provided KV as labels to alerts.

Add missing root certs to images (1266

Newly used `debian-slim` images do not have root certs installed by
default.

Drive-by: Fix lint error from new linter.

Bump Golang to 1.20 (1260

This bumps Golang to the latest 1.20 version.

Also, it unifies all Docker builder images to `golang:1.20-bullseye` and
final images from `alpine` to `debian:bullseye-slim` (except for
operator, as it is recommended to use `distroless` there). This should
remove any `glibc` and `musl` compatibility issues.

Add `aperturectl` CLI tool (1217)

Description of change
- Add root, compile, version commands
- Add relevant flags to compile command
- Replace usage of `circuit-compiler` to the new `aperturectl`

---------

Co-authored-by: Hardik Shingala <hardik.shingalafluxninja.com>

Add alerter to status registry (1226)

On each status registry error it will now generate an alert.

Update K8s attr processor config (1254

Previously we've used deprecated config format (which is shown in the
processor docs).

Do not overwrite OTEL extensions in FN plugin (1252

This prevents overwriting extensions configured in base OTEL config,
with the configuration in FN plugin.

Collect basic kubelet metrics (1227

This adds a default user defined OTEL metrics pipeline, which collects
basic kubelet metrics:
* `k8s.pod.cpu.utilization`
* `k8s.pod.memory.available`
* `k8s.pod.memory.usage`
* `k8s.pod.memory.working_set`

It also adds the following labels (if applicable):
* `k8s.daemonset.name`
* `k8s.cronjob.name`
* `k8s.deployment.name`
* `k8s.job.name`
* `k8s.namespace.name`
* `k8s.node.name`
* `k8s.pod.name`
* `k8s.pod.uid`
* `k8s.replicaset.name`
* `k8s.statefulset.name`

aimd controller: change how we detect overload based on slope parameter (1250)


Remove grpc validator interceptor. (1230)

It was causing slowdown on datapath APIs.
Validator is now manually invoked on live-preview APIs.

Drive-by: Simplify SetDefaults a bit.

Revamp concurrency units (1188)

Change scheduler's concurrency metrics to "work-seconds".
New metrics are: incoming_work_seconds_total &
accepted_work_seconds_total.
Work-seconds are measuring work based on latency of flows. (One request
with 1s latency is 1 work-second).

This also redefines meaning of accepted_concurrency signal to be
unitless value measuring concurrency (mean number of in-flight flows).
Similarly for incoming_concurrency.

Allow providing arbitrary Labels in alerter (1225)

Allows creating an alerter with KV labels map.

Add custom metrics to Agent's OTEL (1222)

This introduces ability to gather any user defined metrics using OTEL
receivers and processors. Those metrics would be automatically pushed to
the Controller Prometheus. This should be useful when creating policies
which require some specific metric not gathered by builtin metrics
gatherers.

Move OTEL specific config to `cmd/{agent,controller}` (1215)

This is another round of OTEL code cleanup. It is focused on only keeping common OTEL configs in pkg/otelcollector and moving Agent/Controller specific configuration to cmd/aperture-{agent,controller}.

mermaid: do not render unused ports (1218)

Description of change

Checklist

- [ ] Tested in playground or other setup
- [ ] Screenshot (Grafana) from playground added to PR for 15+ minute
run
- [X] 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/1218)
<!-- Reviewable:end -->

Add `decision_type` label to `workload_requests_total` and `rate_limiter_counter` (1203)

Description of change

Checklist

- [x] Tested in playground or other setup
- [x] Documentation is changed or added
- [x] 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/1203)
<!-- Reviewable:end -->

remove extra ports from aimd concurrency controller (1216)

Description of change

Checklist

- [X] 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/1216)
<!-- Reviewable:end -->

Simplify circuit unit-tests by avoiding SignalID (1212)

Circuit sim is doing blackbox-testing of components, thus all signal it
cares about are root-signals. Therefore, signal names in tests can be
just strings (internally translated to root SignalIDs). This make
circuit sim-based tests less verbose.


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

0.21.0

Changelog

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

Make SDK validator reject Check requests from feature control points (1208)

SDK validator updates expected `http.target` label to be present and so
only worked for traffic control points.
This change makes it work for feature control points with no labels set.

Also make CI run sdk validation if the sdk validator itself is changed.

Nested Circuit (1177)

Description of change
* Closes: 1129

![Screenshot from 2023-01-30
00-53-49](https://user-images.githubusercontent.com/18579817/215431032-0cc7edf4-7bd8-4e15-b4fe-ecf915d8c6ed.png)

---------

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

blueprint: revert integrator from latency gradient policy (1205)

Description of change

There is a possible issue with the way we are using the integrator in
the latency gradient policy. Specifically, we need to figure out whether
the min value has to be applied or not. I am reverting to earlier
circuit for now and we can re-add integrator next week.

SDK validator updates for auto-instrumentation testing (1199)


OTEL code cleanup (1193)

* Fix naming in OTEL packages to make it consistent and more readable
* Move OTEL config structs to separate package and split one big file to
few smaller ones with separate responsibilities
* Move OTEL consts to separate package to avoid circular dependencies

Update OTEL to v0.69 (1194)

Add otel contrib receivers and processors to agent (1174)

As part of supporting auto scale feature, aperture agent's otel collector should have all the receivers and processors enabled.
Users can then configure which receivers and processors to be configured and then added into the pipeline.

[re-org docs] add new pages and fix descriptions. (1183)

Added field for agent installation mode in heartbeats (1181)

Description of change

Added field `installationMode` in the heartbeat report to identify that
the agent is running in which mode.

docs: restructure some sections (1184)


Add Holder component (1180)

Holder component holds the last valid signal value for the specified
duration then waits for next valid value to hold.

Provide dynamically configurable constant values in policy (1122)

Renames Constant to Variable, allows it to be dynamically configured.
ConstantSignal can accept either valid float or special math values "NaN", "+Inf", "-Inf".

restructure docs (1167)

Co-authored-by: Hardik Shingala <hardik.shingalafluxninja.com>
Co-authored-by: Sachin Maurya <sachin.mauryafluxninja.com>

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

Page 38 of 53

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.