forked from DataDog/datadog-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove pkg/collector/check dependency from the pkg/aggregator (DataDo…
…g#17929) * Move check.ID to its own package * Remove pkg/collector/check from pkg/aggregator Move files: pkg/collector/check/stats.go -> pkg/collector/check/stats/stats.go pkg/collector/check/stats_test.go -> pkg/collector/check/stats/stats_test.go pkg/collector/check/stub.go -> pkg/collector/check/stats/stub.go * Move Sender interface from pkg/aggregator/sender.go to pkg/aggregator/sender/sender.go * Move Event struct to the package metrics/event Goal: Be able to use Event without requiring tagger package. * Move ServiceCheck struct to the package metrics/servicecheck Goal: Be able to use ServiceCheck without requiring tagger package. * Remove pkg/serializer from pkg/aggregator/sender * Fix gofmt * Use correct type in OrchestratorMetadata. ProcessMessageBody is a type alias that depends on orchestrator build flag. * Fix compilation for files with build tags not enabled by default * Fix compilation for test/integration * Use checkid when importing pkg/collector/check/id
- Loading branch information
Showing
172 changed files
with
1,255 additions
and
1,137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.