Skip to content

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented Jul 3, 2025

https://github.com/open-telemetry/opentelemetry-collector/tree/main/connector/forwardconnector

Include the forwardconnector, which we are highly likely to need for OTel native integrations to allow for unique processors per receiver without having to have unique pipelines with duplicate exporters.

To test this PR I used the following configuration showing how to have 2 filelog receivers that could have separate processors applied but export via the same exporter.

receivers:
  filelog:
    include: [ /var/log/system.log ]
    start_at: beginning
  filelog/2:
    include: [ /var/log/wifi.log ]
    start_at: beginning

processors:
  resource:
    attributes:
    - key: service.name
      action: insert
      value: elastic-otel-test

exporters:
  debug:
    verbosity: detailed
    sampling_initial: 10000
    sampling_thereafter: 10000

connectors:
  forward:

extensions:
  memory_limiter:
    check_interval: 1s
    limit_mib: 700
    spike_limit_mib: 180
  health_check:
    endpoint: "localhost:13133"
    path: "/health/status"

service:
  extensions: [health_check, memory_limiter]
  pipelines:
    logs/system:
      receivers: [filelog]
      processors: [resource]
      exporters: [forward]
    logs/wifi:
      receivers: [filelog/2]
      processors: [resource]
      exporters: [forward]
    logs/export:
      receivers: [forward]
      exporters: [debug]

This is an automatic backport of pull request #8753 done by [Mergify](https://mergify.com).

* EDOT collector: include the forward connector.

https://github.com/open-telemetry/opentelemetry-collector/tree/main/connector/forwardconnector

* Add changelog.

* mage fmt.

* Add forward connector to all-components.yml

(cherry picked from commit 393e2ed)
@mergify mergify bot requested a review from a team as a code owner July 3, 2025 16:59
@mergify mergify bot removed the request for review from a team July 3, 2025 16:59
@mergify mergify bot added the backport label Jul 3, 2025
@mergify mergify bot requested review from blakerouse and ycombinator July 3, 2025 16:59
@mergify mergify bot assigned cmacknz Jul 3, 2025
@github-actions github-actions bot added the Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team label Jul 3, 2025
@elasticmachine
Copy link
Collaborator

Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)

@cmacknz cmacknz enabled auto-merge (squash) July 3, 2025 17:48
@elastic-sonarqube
Copy link

@cmacknz cmacknz merged commit 0f35e6f into 8.19 Jul 3, 2025
21 checks passed
@cmacknz cmacknz deleted the mergify/bp/8.19/pr-8753 branch July 3, 2025 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants