From e38621170c3252408c293e5ba1cd348941f8326f Mon Sep 17 00:00:00 2001 From: Robert Fratto Date: Wed, 15 Nov 2023 10:01:03 -0500 Subject: [PATCH] misc: update CHANGELOG and docs for #5777 Update the CHANGELOG and docs to reflect the dropped requirement that components must depend on consumed services. Closes #5777. --- CHANGELOG.md | 6 +++++- docs/sources/flow/reference/config-blocks/http.md | 11 +---------- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8063214858a4..56264bd1c7ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -101,6 +101,10 @@ Main (unreleased) - Improved resilience of graph evaluation in presence of slow components. (@thampiotr) +- The `http` config block may now reference exports from any component. + Previously, only `remote.*` and `local.*` components could be referenced + without a circular dependency. (@rfratto) + ### Bugfixes - Set exit code 1 on grafana-agentctl non-runnable command. (@fgouteroux) @@ -156,7 +160,7 @@ v0.37.4 (2023-11-06) - Fix a bug where reloading the configuration of a `loki.write` component lead to a panic. (@tpaschalis) -- Added Kubernetes service resolver to static node's loadbalancing exporter +- Added Kubernetes service resolver to static node's loadbalancing exporter and to Flow's `otelcol.exporter.loadbalancing`. (@ptodev) v0.37.3 (2023-10-26) diff --git a/docs/sources/flow/reference/config-blocks/http.md b/docs/sources/flow/reference/config-blocks/http.md index 9f56dc9fc5bd..9ee6de41187f 100644 --- a/docs/sources/flow/reference/config-blocks/http.md +++ b/docs/sources/flow/reference/config-blocks/http.md @@ -16,15 +16,6 @@ title: http block HTTP server functions. `http` is specified without a label and can only be provided once per configuration file. -{{% admonition type="note" %}} -While the `http` block can reference component exports, some components that -rely on the HTTP server have a hidden dependency on the `http` block that may -result in a circular dependency error. - -Only references to components named `remote.*` or `local.*` are guaranteed to -work without any circular dependency errors. -{{% /admonition %}} - ## Example ```river @@ -184,7 +175,7 @@ will serve the found certificate even if it is not compatible with the specified ### server block -The `server` block is used to find the certificate to check the signer. If multiple certificates are found the +The `server` block is used to find the certificate to check the signer. If multiple certificates are found the `windows_certificate_filter` will choose the certificate with the expiration farthest in the future. Name | Type | Description | Default | Required