Skip to content

Commit

Permalink
[Target Allocator] Minor docs fix (#2400)
Browse files Browse the repository at this point in the history
* minor docs fix

* remove chlog
  • Loading branch information
jaronoff97 authored and swiatekm committed Nov 29, 2023
1 parent a6c8d4e commit 2ad8985
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/otel-allocator/allocation/least_weighted.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ var _ Allocator = &leastWeightedAllocator{}
const leastWeightedStrategyName = "least-weighted"

/*
Load balancer will serve on an HTTP server exposing /jobs/<job_id>/targets
Target Allocator will serve on an HTTP server exposing /jobs/<job_id>/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
*/

Expand Down
1 change: 1 addition & 0 deletions cmd/otel-allocator/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ func main() {

if validationErr := config.ValidateConfig(cfg); validationErr != nil {
setupLog.Error(validationErr, "Invalid configuration")
os.Exit(1)
}

cfg.RootLogger.Info("Starting the Target Allocator")
Expand Down

0 comments on commit 2ad8985

Please sign in to comment.