Skip to content

Commit

Permalink
feat: add probabilisticsamplerprocessor and tailsamplingprocessor (#117)
Browse files Browse the repository at this point in the history
### Description

OB-38245 add probabilisticsamplerprocessor and tailsamplingprocessor

### Checklist
- [ ] Created tests which fail without the change (if possible)
- [ ] Extended the README / documentation, if necessary
  • Loading branch information
obs-gh-alexlew authored Oct 28, 2024
1 parent d637b49 commit 9224eba
Show file tree
Hide file tree
Showing 64 changed files with 6,663 additions and 7 deletions.
18 changes: 11 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,20 +51,22 @@ This section lists the components that are included in the Observe Distribution
| [filelog][filelogreceiver] | [k8sattributes][k8sattributesprocessor] | [prometheusremotewrite][prometheusremotewriteexporter] | | |
| [filestats][filestatsreceiver] | [memory_limiter][memorylimiterprocessor] | | | |
| [hostmetrics][hostmetricsreceiver] | [observek8sattributes][observek8sattributesprocessor] | | | |
| [iis][iisreceiver] | [redaction][redactionprocessor] | | | |
| [journald][journaldreceiver] | [resource][resourceprocessor] | | | |
| [k8s_cluster][k8sclusterreceiver] | [resourcedetection][resourcedetectionprocessor] | | | |
| [k8sobjects][k8sobjectsreceiver] | [span][spanprocessor] | | | |
| [kafkametrics][kafkametricsreceiver] | [transform][transformprocessor] | | | |
| [kafka][kafkareceiver] | | | | |
| [kubeletstats][kubeletstatsreceiver] | | | | |
| [iis][iisreceiver] | [probabilisticsampler][probabilisticsamplerprocessor] | | | |
| [journald][journaldreceiver] | [redaction][redactionprocessor] | | | |
| [k8s_cluster][k8sclusterreceiver] | [resource][resourceprocessor] | | | |
| [k8sobjects][k8sobjectsreceiver] | [resourcedetection][resourcedetectionprocessor] | | | |
| [kafkametrics][kafkametricsreceiver] | [span][spanprocessor] | | | |
| [kafka][kafkareceiver] | [tailsampling][tailsamplingprocessor] | | | |
| [kubeletstats][kubeletstatsreceiver] | [transform][transformprocessor] | | | |
| [mongodb][mongodbreceiver] | | | | |
| [otlp][otlpreceiver] | | | | |
| [prometheus][prometheusreceiver] | | | | |
| [redis][redisreceiver] | | | | |
| [statsd][statsdreceiver] | | | | |
| [tcplog][tcplogreceiver] | | | | |
| [windowseventlog][windowseventlogreceiver] | | | | |
| | | | | |
| | | | | |

[awsecscontainermetricsreceiver]: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/v0.110.0/receiver/awsecscontainermetricsreceiver
[dockerstatsreceiver]: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/v0.110.0/receiver/dockerstatsreceiver
Expand Down Expand Up @@ -92,10 +94,12 @@ This section lists the components that are included in the Observe Distribution
[k8sattributesprocessor]: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/v0.110.0/processor/k8sattributesprocessor
[memorylimiterprocessor]: https://github.com/open-telemetry/opentelemetry-collector/tree/v0.110.0/processor/memorylimiterprocessor
[observek8sattributesprocessor]: ./components/processors/observek8sattributesprocessor
[probabilisticsamplerprocessor]: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/v0.110.0/processor/probabilisticsamplerprocessor
[redactionprocessor]: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/v0.110.0/processor/redactionprocessor
[resourceprocessor]: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/v0.110.0/processor/resourceprocessor
[resourcedetectionprocessor]: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/v0.110.0/processor/resourcedetectionprocessor
[spanprocessor]: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/v0.110.0/processor/spanprocessor
[tailsamplingprocessor]: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/v0.110.0/processor/tailsamplingprocessor
[transformprocessor]: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/v0.110.0/processor/transformprocessor
[debugexporter]: https://github.com/open-telemetry/opentelemetry-collector/tree/v0.110.0/exporter/debugexporter
[fileexporter]: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/v0.110.0/exporter/fileexporter
Expand Down
2 changes: 2 additions & 0 deletions builder-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ processors:

- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/attributesprocessor v0.110.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/k8sattributesprocessor v0.110.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/probabilisticsamplerprocessor v0.110.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/redactionprocessor v0.110.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourceprocessor v0.110.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourcedetectionprocessor v0.110.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/tailsamplingprocessor v0.110.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/transformprocessor v0.110.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/filterprocessor v0.110.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/processor/spanprocessor v0.110.0
Expand Down
3 changes: 3 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ require (
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/ottl v0.110.0 // indirect
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatautil v0.110.0 // indirect
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/resourcetotelemetry v0.110.0 // indirect
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/sampling v0.110.0 // indirect
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza v0.110.0 // indirect
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/azure v0.110.0 // indirect
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/jaeger v0.110.0 // indirect
Expand All @@ -185,10 +186,12 @@ require (
github.com/open-telemetry/opentelemetry-collector-contrib/processor/attributesprocessor v0.110.0 // indirect
github.com/open-telemetry/opentelemetry-collector-contrib/processor/filterprocessor v0.110.0 // indirect
github.com/open-telemetry/opentelemetry-collector-contrib/processor/k8sattributesprocessor v0.110.0 // indirect
github.com/open-telemetry/opentelemetry-collector-contrib/processor/probabilisticsamplerprocessor v0.110.0 // indirect
github.com/open-telemetry/opentelemetry-collector-contrib/processor/redactionprocessor v0.110.0 // indirect
github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourcedetectionprocessor v0.110.0 // indirect
github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourceprocessor v0.110.0 // indirect
github.com/open-telemetry/opentelemetry-collector-contrib/processor/spanprocessor v0.110.0 // indirect
github.com/open-telemetry/opentelemetry-collector-contrib/processor/tailsamplingprocessor v0.110.0 // indirect
github.com/open-telemetry/opentelemetry-collector-contrib/processor/transformprocessor v0.110.0 // indirect
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsecscontainermetricsreceiver v0.110.0 // indirect
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/dockerstatsreceiver v0.110.0 // indirect
Expand Down
6 changes: 6 additions & 0 deletions observecol/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 observecol/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@ require (
github.com/open-telemetry/opentelemetry-collector-contrib/processor/attributesprocessor v0.110.0
github.com/open-telemetry/opentelemetry-collector-contrib/processor/filterprocessor v0.110.0
github.com/open-telemetry/opentelemetry-collector-contrib/processor/k8sattributesprocessor v0.110.0
github.com/open-telemetry/opentelemetry-collector-contrib/processor/probabilisticsamplerprocessor v0.110.0
github.com/open-telemetry/opentelemetry-collector-contrib/processor/redactionprocessor v0.110.0
github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourcedetectionprocessor v0.110.0
github.com/open-telemetry/opentelemetry-collector-contrib/processor/resourceprocessor v0.110.0
github.com/open-telemetry/opentelemetry-collector-contrib/processor/spanprocessor v0.110.0
github.com/open-telemetry/opentelemetry-collector-contrib/processor/tailsamplingprocessor v0.110.0
github.com/open-telemetry/opentelemetry-collector-contrib/processor/transformprocessor v0.110.0
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsecscontainermetricsreceiver v0.110.0
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/dockerstatsreceiver v0.110.0
Expand Down Expand Up @@ -215,6 +217,7 @@ require (
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/ottl v0.110.0 // indirect
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatautil v0.110.0 // indirect
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/resourcetotelemetry v0.110.0 // indirect
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/sampling v0.110.0 // indirect
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza v0.110.0 // indirect
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/azure v0.110.0 // indirect
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/jaeger v0.110.0 // indirect
Expand Down
Loading

0 comments on commit 9224eba

Please sign in to comment.