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

add nop exporter #66

Merged
merged 1 commit into from
May 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions distributions/otelcol-kafka/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ receivers:
- gomod: go.opentelemetry.io/collector/receiver/otlpreceiver v0.101.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kafkareceiver v0.101.0
exporters:
- gomod: go.opentelemetry.io/collector/exporter/nopexporter v0.101.0
- gomod: go.opentelemetry.io/collector/exporter/otlpexporter v0.101.0
- gomod: go.opentelemetry.io/collector/exporter/otlphttpexporter v0.101.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/kafkaexporter v0.101.0
3 changes: 2 additions & 1 deletion distributions/otelcol-kafka/otelcol-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ receivers:
topic: otlp-spans

exporters:
nop:
kafka:
protocol_version: 2.0.0
brokers: kafka-brokers.example.com:9092
Expand All @@ -27,5 +28,5 @@ service:
traces:
receivers: [ otlp ] # we are not including Kafka here as it would fail the collector during initialization
processors: [ ]
exporters: [ otlp, otlphttp ]
exporters: [ nop, otlp, otlphttp ]

3 changes: 2 additions & 1 deletion distributions/otelcol-kafka/otelcol.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ receivers:
topic: otlp-spans

exporters:
nop:
kafka:
protocol_version: 2.0.0
brokers: kafka-brokers.example.com:9092
Expand All @@ -27,5 +28,5 @@ service:
traces:
receivers: [ otlp, kafka ]
processors: [ ]
exporters: [ otlp, otlphttp, kafka ]
exporters: [ nop, otlp, otlphttp ]

1 change: 1 addition & 0 deletions distributions/otelcol-loadbalancer/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ extensions:
receivers:
- gomod: go.opentelemetry.io/collector/receiver/otlpreceiver v0.101.0
exporters:
- gomod: go.opentelemetry.io/collector/exporter/nopexporter v0.101.0
- gomod: go.opentelemetry.io/collector/exporter/otlpexporter v0.101.0
- gomod: go.opentelemetry.io/collector/exporter/otlphttpexporter v0.101.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/exporter/loadbalancingexporter v0.101.0
3 changes: 2 additions & 1 deletion distributions/otelcol-loadbalancer/otelcol-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ receivers:
grpc: {}

exporters:
nop:
loadbalancing:
protocol:
otlp:
Expand All @@ -27,4 +28,4 @@ service:
traces:
receivers: [ otlp ]
processors: [ ]
exporters: [ otlp, otlphttp, loadbalancing ]
exporters: [ nop, otlp, otlphttp, loadbalancing ]
3 changes: 2 additions & 1 deletion distributions/otelcol-loadbalancer/otelcol.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ receivers:
grpc: {}

exporters:
nop:
loadbalancing:
protocol:
otlp:
Expand All @@ -27,4 +28,4 @@ service:
traces:
receivers: [ otlp ]
processors: [ ]
exporters: [ otlp, otlphttp, loadbalancing ]
exporters: [ nop, otlp, otlphttp, loadbalancing ]
1 change: 1 addition & 0 deletions distributions/otelcol-otlp/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ extensions:
receivers:
- gomod: go.opentelemetry.io/collector/receiver/otlpreceiver v0.101.0
exporters:
- gomod: go.opentelemetry.io/collector/exporter/nopexporter v0.101.0
- gomod: go.opentelemetry.io/collector/exporter/otlpexporter v0.101.0
- gomod: go.opentelemetry.io/collector/exporter/otlphttpexporter v0.101.0
3 changes: 2 additions & 1 deletion distributions/otelcol-otlp/otelcol-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ receivers:
grpc: {}

exporters:
nop:
otlp:
endpoint: otlp.example.com:4317
otlphttp:
Expand All @@ -19,4 +20,4 @@ service:
traces:
receivers: [ otlp ]
processors: [ ]
exporters: [ otlp, otlphttp ]
exporters: [ nop, otlp, otlphttp ]
3 changes: 2 additions & 1 deletion distributions/otelcol-otlp/otelcol.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ receivers:
grpc: {}

exporters:
nop:
otlp:
endpoint: otlp.example.com:4317
otlphttp:
Expand All @@ -19,4 +20,4 @@ service:
traces:
receivers: [ otlp ]
processors: [ ]
exporters: [ otlp, otlphttp ]
exporters: [ nop, otlp, otlphttp ]
1 change: 1 addition & 0 deletions distributions/otelcol-tracing/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@ receivers:
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/jaegerreceiver v0.101.0
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/zipkinreceiver v0.101.0
exporters:
- gomod: go.opentelemetry.io/collector/exporter/nopexporter v0.101.0
- gomod: go.opentelemetry.io/collector/exporter/otlpexporter v0.101.0
- gomod: go.opentelemetry.io/collector/exporter/otlphttpexporter v0.101.0
3 changes: 2 additions & 1 deletion distributions/otelcol-tracing/otelcol-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ receivers:
zipkin: {}

exporters:
nop:
otlp:
endpoint: otlp.example.com:4317
otlphttp:
Expand All @@ -25,4 +26,4 @@ service:
traces:
receivers: [ otlp, jaeger, zipkin ]
processors: [ ]
exporters: [ otlp, otlphttp ]
exporters: [ nop, otlp, otlphttp ]
3 changes: 2 additions & 1 deletion distributions/otelcol-tracing/otelcol.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ receivers:
zipkin: {}

exporters:
nop:
otlp:
endpoint: otlp.example.com:4317
otlphttp:
Expand All @@ -25,4 +26,4 @@ service:
traces:
receivers: [ otlp, jaeger, zipkin ]
processors: [ ]
exporters: [ otlp, otlphttp ]
exporters: [ nop, otlp, otlphttp ]
Loading