Skip to content

Conversation

@sanicheev
Copy link

@sanicheev sanicheev commented Aug 27, 2025

This PR addresses the issue with wildcard processing in input parameters.

Vector supports wildcard identifiers: https://vector.dev/highlights/2021-01-20-wildcard-identifiers/
This is extremely useful in case you have to deal with multi-tenancy configurations(different projects store observability data in different accounts/resources)
Attaching a diagram with an example use-case:
vectorpipelinewildcard

In order to achieve this, following 2 issues needs to be solved:

  • Fix agent/aggregator role selection logic
  • Control prefix usage

I added required changes in my PR.

This PR includes following changes:

  • Adding new role type: mixed.
    In case pipeline has a mixed source (valid for both agent and aggregator).
  • New skipPrefix flag on vectorpipelines and clustervectorpipelines.
    If specified will skip adding a prefix to a pipeline name(namespace + object name).
    Required when using wildcard in input references from different pipeline.
  • Applying linter fixes which were missed before

This PR includes following changes:
- Adding new role type: mixed. In case pipline has a mixed source
  (valid for both agent and aggregator).
- New skipPrefix flag on vectorpipelines and clustervectorpipelines.
  If specified will skip adding a prefix to a pipeline name(namespace + object name).
  Required when using wildcard in input references from different
pipeline.
- Applying linter fixes which were missed before
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant