-
Notifications
You must be signed in to change notification settings - Fork 0
Add batch/window modes, support sketch/raw SDK collection and benchmarking #32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
c66d7a3
Add DDSketch batch/window modes and benchmarks
GnaneshGnani 11db3b3
Update opentelemetry-collector-contrib-patch/cmd/bench.sh
zzylol 962579c
Add KLLSketch batch/window modes and tests
GnaneshGnani ca1980d
CountSketch batch/window modes and tests
GnaneshGnani 153a97f
PR Comment Fixes
GnaneshGnani 19cc837
CountMinSketch batch/window modes and tests
GnaneshGnani 0a4623e
PR Review Comments Fixes
GnaneshGnani 01b6323
Added test cases
GnaneshGnani f98cd3f
Integration Tests
GnaneshGnani f5adfb1
Use ProjectASAP sketchlib for sketch processors
zzylol 33ebd59
Fix sketch overlay config sync
zzylol File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Binary file not shown.
This file contains hidden or 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 hidden or 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
41 changes: 41 additions & 0 deletions
41
opentelemetry-collector-contrib-patch/cmd/countminsketchcol/config-batch.yaml
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| receivers: | ||
| otlp: | ||
| protocols: | ||
| grpc: | ||
| endpoint: 0.0.0.0:4317 | ||
| http: | ||
| endpoint: 0.0.0.0:4318 | ||
|
|
||
| processors: | ||
| countmin: | ||
| mode: batch | ||
| metric_name: "countmin_sketch" | ||
| rows: 5 | ||
| columns: 2000 | ||
| group_by: [] | ||
| drop_original: false | ||
|
|
||
| exporters: | ||
| prometheus: | ||
| endpoint: 0.0.0.0:8889 | ||
|
|
||
| service: | ||
| pipelines: | ||
| metrics: | ||
| receivers: [otlp] | ||
| processors: [countmin] | ||
| exporters: [prometheus] | ||
| telemetry: | ||
| metrics: | ||
| level: basic | ||
| readers: | ||
| - pull: | ||
| exporter: | ||
| prometheus: | ||
| host: 0.0.0.0 | ||
| port: 8888 | ||
| logs: | ||
| level: info | ||
| resource: | ||
| service.name: countminsketchcol-batch | ||
|
|
42 changes: 42 additions & 0 deletions
42
opentelemetry-collector-contrib-patch/cmd/countminsketchcol/config-window.yaml
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| receivers: | ||
| otlp: | ||
| protocols: | ||
| grpc: | ||
| endpoint: 0.0.0.0:4317 | ||
| http: | ||
| endpoint: 0.0.0.0:4318 | ||
|
|
||
| processors: | ||
| countmin: | ||
| mode: window | ||
| metric_name: "countmin_sketch" | ||
| rows: 5 | ||
| columns: 2000 | ||
| group_by: [] | ||
| drop_original: true | ||
| window_interval: 10s | ||
|
|
||
| exporters: | ||
| prometheus: | ||
| endpoint: 0.0.0.0:8889 | ||
|
|
||
| service: | ||
| pipelines: | ||
| metrics: | ||
| receivers: [otlp] | ||
| processors: [countmin] | ||
| exporters: [prometheus] | ||
| telemetry: | ||
| metrics: | ||
| level: basic | ||
| readers: | ||
| - pull: | ||
| exporter: | ||
| prometheus: | ||
| host: 0.0.0.0 | ||
| port: 8888 | ||
| logs: | ||
| level: info | ||
| resource: | ||
| service.name: countminsketchcol-window | ||
|
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.