From 60415ba00cc76293aeada822d182f56686577aff Mon Sep 17 00:00:00 2001 From: Jacob Aronoff Date: Tue, 28 Nov 2023 16:42:06 -0500 Subject: [PATCH 1/2] minor docs fix --- .chloggen/ta-docs-fix.yaml | 16 ++++++++++++++++ cmd/otel-allocator/allocation/least_weighted.go | 4 ++-- 2 files changed, 18 insertions(+), 2 deletions(-) create mode 100755 .chloggen/ta-docs-fix.yaml diff --git a/.chloggen/ta-docs-fix.yaml b/.chloggen/ta-docs-fix.yaml new file mode 100755 index 0000000000..3d58ea0b93 --- /dev/null +++ b/.chloggen/ta-docs-fix.yaml @@ -0,0 +1,16 @@ +# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' +change_type: enhancement + +# The name of the component, or a single word describing the area of concern, (e.g. operator, target allocator, github action) +component: target allocator + +# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). +note: fixes some bad docs + +# One or more tracking issues related to the change +issues: [903] + +# (Optional) One or more lines of additional information to render under the primary note. +# These lines will be padded with 2 spaces and then inserted directly into the document. +# Use pipe (|) for multiline entries. +subtext: diff --git a/cmd/otel-allocator/allocation/least_weighted.go b/cmd/otel-allocator/allocation/least_weighted.go index c6b27fe1fa..6ae9c5eb2b 100644 --- a/cmd/otel-allocator/allocation/least_weighted.go +++ b/cmd/otel-allocator/allocation/least_weighted.go @@ -29,9 +29,9 @@ var _ Allocator = &leastWeightedAllocator{} const leastWeightedStrategyName = "least-weighted" /* - Load balancer will serve on an HTTP server exposing /jobs//targets + Target Allocator will serve on an HTTP server exposing /jobs//targets The targets are allocated using the least connection method - Load balancer will need information about the collectors in order to set the URLs + Target Allocator will need information about the collectors in order to set the URLs Keep a Map of what each collector currently holds and update it based on new scrape target updates */ From f2546f552a40582ef6e87c5b517f78518adc4045 Mon Sep 17 00:00:00 2001 From: Jacob Aronoff Date: Tue, 28 Nov 2023 17:40:12 -0500 Subject: [PATCH 2/2] remove chlog --- .chloggen/ta-docs-fix.yaml | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100755 .chloggen/ta-docs-fix.yaml diff --git a/.chloggen/ta-docs-fix.yaml b/.chloggen/ta-docs-fix.yaml deleted file mode 100755 index 3d58ea0b93..0000000000 --- a/.chloggen/ta-docs-fix.yaml +++ /dev/null @@ -1,16 +0,0 @@ -# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' -change_type: enhancement - -# The name of the component, or a single word describing the area of concern, (e.g. operator, target allocator, github action) -component: target allocator - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: fixes some bad docs - -# One or more tracking issues related to the change -issues: [903] - -# (Optional) One or more lines of additional information to render under the primary note. -# These lines will be padded with 2 spaces and then inserted directly into the document. -# Use pipe (|) for multiline entries. -subtext: