Skip to content
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

New component: sumologicprocessor #23949

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
736a555
feat: copying code from v0.80.0-sumo-0
Jul 4, 2023
76c2a1e
chore: rename sumologicschemaprocessor to sumologicprocessor
Jul 4, 2023
bd89ad8
chore: add metadaa.yaml and add component to the builder
Jul 4, 2023
cad2258
chore: add codeowners
Jul 4, 2023
3dc1953
refactor: refactor due to lint check
Jul 4, 2023
e74ab2a
Update processor/sumologicprocessor/metadata.yaml
sumo-drosiek Jul 6, 2023
de6ef63
chore: add @astencel-sumo as codeowner
Aug 4, 2023
948601a
chore: remove contrib from supported distributions
Aug 4, 2023
65a6ca4
chore: re-word some messages due to review
Aug 4, 2023
09c25f9
Update processor/sumologicprocessor/README.md
sumo-drosiek Sep 5, 2023
9d4bf9b
Update processor/sumologicprocessor/README.md
sumo-drosiek Sep 5, 2023
53fad59
Update .chloggen/drosiek-sumologic-schema-processor.yaml
sumo-drosiek Sep 5, 2023
da57af8
feat(sumologicprocessor): check for conflicts in prefix names
Sep 29, 2023
f565edd
chore(sumologicprocessor): fix go.mod
Sep 29, 2023
0b0f5d8
chore(sumologicprocessor): fix according to apicheck
Sep 29, 2023
500ab1e
chore: go mod tidy
Sep 29, 2023
5cf503b
feat(sumologicprocessor): check for duplication of attribute names
Oct 2, 2023
25324f0
chore(sumologicprocessor): restore original code for attributes aggre…
Oct 2, 2023
81a0bee
chore: fix versions in go.mod
Oct 6, 2023
aeaade5
chore: update accoreding to review
Oct 10, 2023
ec4ef40
chore: refactor due to review
Oct 10, 2023
6e169ef
chore: refactor due to review
Oct 11, 2023
e819f3b
chore: change semcov path
Oct 30, 2023
5435670
chore: fix checks
Oct 30, 2023
909973a
chore: gendependabot
Oct 30, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .chloggen/drosiek-sumologic-schema-processor.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Use this changelog template to create an entry for release notes.
# If your change doesn't affect end users, such as a test fix or a tooling change,
# you should instead start your pull request title with [chore] or use the "Skip Changelog" label.

# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
change_type: new_component

# The name of the component, or a single word describing the area of concern, (e.g. filelogreceiver)
component: sumologicprocessor

# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
note: add Sumo Logic Processor

# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists.
issues: [23946]

# (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: move processor from https://github.com/SumoLogic/sumologic-otel-collector/ repository
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ processor/schemaprocessor/ @open-te
processor/servicegraphprocessor/ @open-telemetry/collector-contrib-approvers @jpkrohling @mapno
processor/spanmetricsprocessor/ @open-telemetry/collector-contrib-approvers @albertteoh
processor/spanprocessor/ @open-telemetry/collector-contrib-approvers @boostchicken
processor/sumologicprocessor/ @open-telemetry/collector-contrib-approvers @astencel-sumo @aboguszewski-sumo @sumo-drosiek
processor/tailsamplingprocessor/ @open-telemetry/collector-contrib-approvers @jpkrohling
processor/transformprocessor/ @open-telemetry/collector-contrib-approvers @TylerHelmuth @kentquirk @bogdandrutu @evan-bradley

Expand Down
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ body:
- processor/servicegraph
- processor/span
- processor/spanmetrics
- processor/sumologic
- processor/tailsampling
- processor/transform
- receiver/activedirectoryds
Expand Down
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ body:
- processor/servicegraph
- processor/span
- processor/spanmetrics
- processor/sumologic
- processor/tailsampling
- processor/transform
- receiver/activedirectoryds
Expand Down
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/other.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ body:
- processor/servicegraph
- processor/span
- processor/spanmetrics
- processor/sumologic
- processor/tailsampling
- processor/transform
- receiver/activedirectoryds
Expand Down
10 changes: 5 additions & 5 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,6 @@ updates:
schedule:
interval: "weekly"
day: "wednesday"
- package-ecosystem: "gomod"
directory: "/exporter/kineticaexporter"
schedule:
interval: "weekly"
day: "wednesday"
- package-ecosystem: "gomod"
directory: "/exporter/loadbalancingexporter"
schedule:
Expand Down Expand Up @@ -632,6 +627,11 @@ updates:
schedule:
interval: "weekly"
day: "wednesday"
- package-ecosystem: "gomod"
directory: "/processor/sumologicprocessor"
schedule:
interval: "weekly"
day: "wednesday"
- package-ecosystem: "gomod"
directory: "/processor/tailsamplingprocessor"
schedule:
Expand Down
2 changes: 2 additions & 0 deletions cmd/otelcontribcol/builder-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ processors:
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/routingprocessor v0.88.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/servicegraphprocessor v0.88.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/spanmetricsprocessor v0.88.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/sumologicprocessor v0.88.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/spanprocessor v0.88.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/tailsamplingprocessor v0.88.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/transformprocessor v0.88.0
Expand Down Expand Up @@ -405,6 +406,7 @@ replaces:
- github.com/open-telemetry/opentelemetry-collector-contrib/receiver/webhookeventreceiver => ../../receiver/webhookeventreceiver
- github.com/open-telemetry/opentelemetry-collector-contrib/extension/observer/ecsobserver => ../../extension/observer/ecsobserver
- github.com/open-telemetry/opentelemetry-collector-contrib/processor/remoteobserverprocessor => ../../processor/remoteobserverprocessor
- github.com/open-telemetry/opentelemetry-collector-contrib/processor/sumologicprocessor => ../../processor/sumologicprocessor
# see https://github.com/mattn/go-ieproxy/issues/45
- github.com/mattn/go-ieproxy => github.com/mattn/go-ieproxy v0.0.1
- github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatatest => ../../pkg/pdatatest
Expand Down
2 changes: 2 additions & 0 deletions cmd/otelcontribcol/components.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions cmd/otelcontribcol/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ require (
github.com/open-telemetry/opentelemetry-collector-contrib/processor/servicegraphprocessor v0.88.0
github.com/open-telemetry/opentelemetry-collector-contrib/processor/spanmetricsprocessor v0.88.0
github.com/open-telemetry/opentelemetry-collector-contrib/processor/spanprocessor v0.88.0
github.com/open-telemetry/opentelemetry-collector-contrib/processor/sumologicprocessor v0.88.0
github.com/open-telemetry/opentelemetry-collector-contrib/processor/tailsamplingprocessor v0.88.0
github.com/open-telemetry/opentelemetry-collector-contrib/processor/transformprocessor v0.88.0
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/activedirectorydsreceiver v0.88.0
Expand Down Expand Up @@ -1114,6 +1115,8 @@ replace github.com/open-telemetry/opentelemetry-collector-contrib/extension/obse

replace github.com/open-telemetry/opentelemetry-collector-contrib/processor/remoteobserverprocessor => ../../processor/remoteobserverprocessor

replace github.com/open-telemetry/opentelemetry-collector-contrib/processor/sumologicprocessor => ../../processor/sumologicprocessor

replace github.com/mattn/go-ieproxy => github.com/mattn/go-ieproxy v0.0.1

replace github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatatest => ../../pkg/pdatatest
Expand Down
3 changes: 3 additions & 0 deletions cmd/otelcontribcol/processors_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@ func TestDefaultProcessors(t *testing.T) {
return cfg
},
},
{
processor: "sumologic",
},
}

assert.Equal(t, len(procFactories), len(tests), "All processors must be added to lifecycle tests")
Expand Down
1 change: 1 addition & 0 deletions processor/sumologicprocessor/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include ../../Makefile.Common
Loading
Loading